/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(220, 68%, 54%);
  --first-color-lighten: hsl(220, 68%, 97%);
  --title-color: hsl(220, 48%, 28%);
  --text-color: hsl(220, 12%, 45%);
  --body-color: hsl(220, 100%, 99%);
  --dark-color: hsl(240, 3.6%, 16.3%);
  --secondary-color: hsl(0, 100%, 98%);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --title-font-size: 2.8rem;
  --large-font-size: 1.8rem;
  --normal-font-size: 1.1rem;
  --small-font-size: .9rem;
  --smaller-font-size: .85rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  --d: 400ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);

}
@media screen and (max-width: 1118px) {
  :root {
    --title-font-size: 2.4rem;
    --large-font-size: 1.4rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.95rem;
    --smaller-font-size: 0.85rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== HERO ===============*/

.hero {
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.hero__content {
    text-align: center;
}

.hero__title {
    display: flex;
    font-size: 5rem;
    font-weight: var(--font-semi-bold);
    color: var(--body-color);
    margin-bottom: 0rem;
    text-align: center;
    align-items: center;
    justify-content: center;

       @media screen and (max-width: 1118px) {
        font-size: 3rem;
        margin-left: 5%;
        margin-right: 5%;
    }
}

.hero-bg-video {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
}

.hero__description {
    display: flex;
    font-size: var(--large-font-size);
    color: var(--body-color);
    margin-bottom: 1.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;

      @media screen and (max-width: 1118px) {
        margin-left: 5%;
        margin-right: 5%;
    }
}

/*=============== Slide ===============*/
.logo__text{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
    background-color: var(--body-color);
    box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
}

.logo__title {
    color: var(--dark-color);
    font-size: var(--large-font-size);
    font-weight: var(--font-semi-bold);
}

.logo__slider {
    display: flex;
    height: 100px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.5rem 0.5rem;
    background-color: var(--body-color);
    position: relative;
    /* box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1); */
}

.logo__slider::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, var(--body-color), rgba(255, 255, 255, 0));
}

.logo__slider::after {
    position: absolute;
    top: 0;
    right: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to left, var(--body-color), rgba(255, 255, 255, 0));
}


.logo__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-100%);
    }
}

.logo__slide img {
height: 3.5rem;
width: 10rem;
margin: 2rem;
}

/*=============== WHY US ===============*/

.why{
   width: 80%;
   margin: auto;
   text-align: center;
   padding-top: 100px;
   margin-bottom: 8%;
}
.why h1{
	font-size: var(--title-font-size);
	font-weight: 600;
  color: var(--title-color);
}

.why h3{
	font-weight: 600;
  font-size: var(--large-font-size);
	text-align: center;
	margin: 10px 0;
  color: var(--dark-color);
}

.why p{
	font-size: var(--normal-font-size);
	font-weight: 300;
	color: var(--text-color);
	padding: 10px;
}
.why__row{
  margin-top: 5%;
  margin-bottom: 0%;
  margin-left: 5%;
  margin-right: 5%;
	display: flex;
	justify-content: space-between;
}
.why__col{
	flex-basis: 31%;
	background: var(--secondary-color);
	border-radius: 10px;
	margin-bottom: 2%;
	padding: 20px 12px;
	box-sizing: border-box;
	transition: 0.5s;
}
.why__col:hover{
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

@media(max-width: 1118px){
	.why__row{
		flex-direction: column;
	}
}

/*=============== ABOUT ===============*/

.about__container {
  padding-top: 2%;
  background-color: var(--title-color);
  padding-left: 10% ;
  padding-right: 10% ;

  @media (max-width: 1118px) {
    padding-top: 8%;
    padding-left: 5% ;
    padding-right: 5% ;
  }
}


.about__hero {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  margin-bottom: 2%;

  @media (max-width: 1118px) {
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 4%;
  }
}

.about__hero h1 {
  font-size: var(--title-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--body-color);
}

.about__hero p {
  font-size: var(--normal-font-size);
  color: var(--secondary-color);
}

.about__text {
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: left;
  box-sizing: border-box;
  margin-bottom: 2%;
  line-height: 2rem;

    @media (max-width: 1118px) {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}


/* .about__text:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.617);
} */

.about__text p {
  font-size: var(--normal-font-size);
  color: var(--body-color);

  @media (max-width: 1118px) {
    font-size: var(--small-font-size);
  }

}

.about__btn {
  display: flex;
  justify-content: left;
  align-items: center;
  padding-bottom: 4%;
  margin-bottom: 8%;

    @media (max-width: 1118px) {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}
