@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

body {
  height: 100dvh;
  overflow: hidden;
}


.background-slider {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

@media(min-width:1024px){

  .slide:nth-child(1){
    background-position: 0% 32% !important;
  }

  .slide {
    width: 100%;
    height: 100vh;
    background-position: 0% 45% !important;

    /* background-clip: border-box !important; */
    background-repeat: no-repeat;
    transform:translateY(30%) !important;
    transform:scale(1) !important;
    /* background-position:center center; */
    background-size: cover;
    background-position: center;
  }
}

a {
  color: var(--procounsel-base, #c7954a);
  transition: all 400ms ease;
}

a,
a:hover,
a:focus,
a:visited {
  text-decoration: none !important;
}

.landing-main {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-outer {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: end;
  overflow: hidden;
}

.service-title {
  font-size: 2vw;
  margin-bottom: 3rem;
  color: white;
}

.service-section {
  height: 25%;
  width: 80%;
  font-family: "Inter", sans-serif;
}

.service-button {
  color: white;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width:100%;
}

.service-box {
  width: 40%;
  aspect-ratio: 1 / 1;
  border-radius: 1rem;
}

.service-box:hover{
  transform:scale(1.08);
}

.service-box>img {
  width: 100%
}

.service-section {
  width: 150%;
  border-top-left-radius: 47%;
  border-top-right-radius: 47%;
  background-color: rgba(0, 0, 0, 0.8);
}

.service-section-inner {
  width: 80vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 20px;
  justify-content: center;
  align-self: center;
  justify-items: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  top: -25px;
}

@media screen and (max-width: 1024px) {
  .service-box {
    width: 60%;
    aspect-ratio: 1 / 1;
  }
}

@media screen and (max-width: 1024px) {
  .service-section {
    height: fit-content;
  }

  .service-section-inner {
    grid-template-columns: repeat(2, 1fr);

  }

  .service-box {
    width: 85px;
    height: 85px;
  }

  .service-title {
    font-size: 100%;
    color: antiquewhite;
  }
}

@media screen and (max-width: 768px) {
  .service-title {
    font-size: 100%;
    margin-bottom: 40px;
    color: antiquewhite;
  }
}

@media screen and (max-width: 500px) {

  .service-box {
    width: 80px !important;
    height: 80px !important;
  }
}