/* HOME PAGE  */
.home-hero {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.home-hero video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 5%;
  left: 0%;
  opacity: 0%;
  filter: brightness(0.69) grayscale(1) invert(1);
  animation: homevideo 3s ease 700ms 1 forwards;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
  opacity: 0;
  animation: homeherocontent 2s ease 700ms 1 forwards;
}

.hero-logo img {
  margin-bottom: 16px;
  height: 150px;
}

.hero-content p {
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-btns .btn-primary {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-btns .btn-primary svg {
  width: 20px !important;
}

/* QUOTE FROM FOUNDER  */
.qff {
  position: relative;
  background-color: #f8f8f8;
}
.qff p {
  font-size: 34px;
  font-weight: 500;
  color: #717171;
  text-align: center;
  width: 800px;
  margin: 0 auto;
  line-height: 50px;
  margin-bottom: 20px;
}
.qff p strong {
  color: #050505;
  font-weight: 500;
}
.qff .from {
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
}

/* WHY CHOOSE US  */
.wcu {
  background-color: #f5f5f5;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.card .w-img {
  box-shadow: var(--svg-shadow);
  padding: 10px;
  /* height: 50px; */
  width: fit-content;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    var(--token-6396e7f2-0645-4f69-9a36-80e94f8ee015, rgb(0, 0, 0)) 0%,
    var(--token-d4c0a0e6-8fba-45bc-8f6f-215e608cd0df, rgb(255, 255, 255)) 170%
  );
  margin-bottom: 24px;
}
.card .w-img img{
  height: 35px;
}

/* SERVICES SECTION  */
.services {
  background-color: #f5f5f5;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 30px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}
.service-card .s-img {
  width: fit-content;
  box-shadow: var(--svg-shadow);
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    var(--token-6396e7f2-0645-4f69-9a36-80e94f8ee015, rgb(0, 0, 0)) 0%,
    var(--token-d4c0a0e6-8fba-45bc-8f6f-215e608cd0df, rgb(255, 255, 255)) 170%
  );
  margin-bottom: 24px;
}
.service-card .s-img img{
  height: 35px;
}
.service-card ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.service-card li {
  box-shadow: var(--primary-shadow);
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 50px;
  font-weight: 500;
  color: #717171;
}

/* PROCESSES  */
.pro {
  background-color: #f5f5f5;
}
.process-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 600px);
}
.process-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.process-card:first-child {
  grid-row: span 2;
}

.process-content {
  flex: 0 0 auto;
}
.process-img {
  flex: 1 1 auto;
  min-height: 0;
}
.process-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--svg-shadow);
  border-radius: 20px;
  filter: grayscale(50%);
}


.process-card svg {
  color: white;
  box-shadow: var(--svg-shadow);
  padding: 10px;
  height: 70px !important;
  width: 70px !important;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    var(--token-6396e7f2-0645-4f69-9a36-80e94f8ee015, rgb(0, 0, 0)) 0%,
    var(--token-d4c0a0e6-8fba-45bc-8f6f-215e608cd0df, rgb(255, 255, 255)) 170%
  );
  margin-bottom: 24px;
}
.process-card h3 {
  margin-bottom: 12px;
}
.process-card p {
  margin-bottom: 24px;
}

.process-card .border {
  height: 2px;
  width: 100%;
  background-color: #d4d4d4;
  margin-bottom: 24px;
}
.process-card h2 {
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* PROJECTS  */
.projects-section {
  background-color: #f5f5f5;
}
.projects-section .projects {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.projects .project {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #f5f5f5;
  color: #050505;
  text-decoration: none;
  /* height: 300px; */
  padding: 20px;
}
.project p{
  font-size: 15px;
}


.project-img{
  width: 50%;
  display: none;
}
.project img {
  width: 100%;
  height: 200px;
  object-position: center;
  object-fit: cover;
  box-shadow: var(--svg-shadow);
  border-radius: 10px;
}
.project.long .project-content{
  width: 50%;
}
.projects-section .project.long {
  grid-column: span 4;
  padding: 30px;
}
.project.long .project-img {
  display: block;
}

.project-content .p-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  box-shadow: rgba(158, 158, 158, 0.69) 0px 0.706592px 0.706592px -0.583333px,
    rgba(158, 158, 158, 0.68) 0px 1.80656px 1.80656px -1.16667px,
    rgba(158, 158, 158, 0.65) 0px 3.62176px 3.62176px -1.75px,
    rgba(158, 158, 158, 0.61) 0px 6.8656px 6.8656px -2.33333px,
    rgba(158, 158, 158, 0.52) 0px 13.6468px 13.6468px -2.91667px,
    rgba(158, 158, 158, 0.3) 0px 30px 30px -3.5px,
    rgb(255, 255, 255) 0px 3px 1px 0px inset;
  padding: 15px;
  border-radius: 50%;
  margin-bottom: 24px;
}
.p-img img{
  height: 30px;
  box-shadow: none;
}

/* TESTIMONIALS  */
.testi{
  background-color: #f5f5f5;
}
.main-testi{
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 30px;
}
.testi-text{
  padding: 40px;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}
.main-testi svg{
  height: 40px !important;
  width: 40px !important;
}
.testi-text p{
  font-size: 23px;
  line-height: 40px;
  font-weight: 500;
  margin-bottom: 16px;
}
.testi-text p strong{
  color: #a0a0a0;
  font-weight: 500;
}
.testi-image{
  display: flex;
  align-items: center;
}
.testi-image img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  box-shadow: var(--svg-shadow);
}

.testi-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.testi-card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}
.testi-card .stars{
  display: flex;
  gap: 10px;
}
.testi-card p{
  color: #16101e;
  line-height: 25px;
}
.testi-card img{
  height: 40px;
  width: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}
.testi-card .client{
  display: flex;
  align-items: center;
  gap: 20px;
}
.testi-card .client-img{
  padding: 5px;
  box-shadow: var(--svg-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.testi-card .client-info{
  padding-left: 10px;
  border-left: 1px dashed #717171;
}
.client-info h4{
  font-weight: 400;
}
.client-info span{
  font-size: 12px;
}


/* COMPARISON  */
.comp{
  background-color: #f5f5f5;
}
.comp-list-container{
  display: flex;
  justify-content: center;
}
.comp-list{
  padding: 32px 30px;
  height: fit-content;
  width: 500px;
}
.comp-list-container h3{
  font-size: 34px;
  text-align: center;
  padding: 20px 120px;
  border-bottom: 3px dotted #c7c7c7;
  margin-bottom: 24px;
}
.comp-list p{
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #16101e;
}
.comp-list p i{
  margin-right: 10px;
  color: #a0a0a0;
}
.comp-list .btn-primary{
  display: inline-block;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-list .btn-primary svg{
  height: 20px !important;
  width: 20px !important;
}



/* MEDIA QURIES  */


@media (max-width: 1050px) {

  .cards-container {
    grid-template-columns: 1fr 1fr;
  }
  .cards-container .card:last-of-type {
    grid-column: span 2;
  }
  .process-cards {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
  }
  .process-card {
    height: 600px;
  }
  .projects-section .projects{
    grid-template-columns: 1fr 1fr;
  }
  .projects .project{
    grid-column: span 1;
  }
  .projects .project.long{
    grid-column: span 2;
  }
  .project.long img{
    height: 250px;
  }
  .project.long .project-content img{
    height: 60px;
  }
  .main-testi{
    grid-template-columns: 1fr;
  }
  .testi-cards{
    grid-template-columns: 1fr 1fr;
  }
  .testi-card:last-child{
    grid-column: span 2;
  }
}
@media (max-width: 900px) {
  .qff p {
    width: 90%;
  }
  .comp-list-container{
    flex-direction: column;
  }
  .comp-list{
    width: 100%;
  }
  .comp-list h3{
    padding: 24px 0px;
  }
}
@media (max-width: 820px) {
  
  .cards-container {
    grid-template-columns: 1fr;
  }
  .cards-container .card:last-of-type {
    grid-column: span 1;
  }
  .service-cards {
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .process-card svg {
    height: 50px !important;
    width: 50px !important;
    margin-bottom: 16px;
  }
  .process-card p {
    margin-bottom: 16px;
  }
  .process-card .border {
    margin-bottom: 16px;
  }
  .process-card h2 {
    font-size: 30px;
    margin-bottom: 16px;
  }
  .process-card {
    height: 480px;
  }
}

@media (max-width: 720px) {
  .projects .project, .projects .project.long{
    grid-column: span 2;
  }
  .project.long{
    flex-direction: column;
  }
  .project.long .project-content, .project.long .project-img{
    width: 100%;
  }
  .p-img img{
    width: 30px !important;
    height: auto !important;
  }
  .testi-cards{
    grid-template-columns: 1fr;
  }
  .testi-card:last-child{
    grid-column: span 1;
  }
  .testi-text{
    padding: 30px;
  }
  .testi-text p{
    font-size: 18px;
    line-height: 30px;
  }
}

@media (max-width: 500px) {

  .home-hero {
    height: 90vh;
    padding: 0 20px;
  }
  .qff p {
    width: 100%;
    max-width: 800px;
  }
  .hero-logo img {
    height: 80px;
  }
  .hero-content {
    text-align: center;
  }
  .service-card ul {
    gap: 5px;
  }
  .service-card li {
    font-size: 10px;
    margin: 5px 0;
  }
}

/* ANIMATIONS  */
@keyframes homevideo {
  0% {
    scale: 0.5;
    opacity: 0;
  }
  100% {
    scale: 1.3;
    opacity: 100%;
  }
}

@keyframes homeherocontent {
  0% {
    opacity: 0%;
  }
  100% {
    opacity: 100%;
  }
}
