@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
.logo {
    border-radius: 30%;
}

/* Navbar */
.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand h2 {
    font-size: 18px;
    letter-spacing: 2px;
    margin-left: 5px;
}

body {
  font-family: "Poppins", sans-serif !important;
  overflow-x: hidden;
}

/*Hero Section*/
.hero {
  display: flex;
  max-width: 1440px;
  gap: 2em;
  justify-content: space-between;
  margin: 5em 2em;
}

.text {
  width: 40%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: sans-serif;
}

.text__short {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #479A7E;
}

.text__title {
  color: #479A7E;
  font: normal 30px Varela Round, sans-serif;
  left: 0;
  text-transform: uppercase;
  top: 50%;
  width: 100%;
  animation: move linear 2000ms infinite;  
}


@keyframes move {
  0% {
    text-shadow:
      
      -4px 4px 0 #479A7E, 
      -3px 3px 0 #479A7E, 
      -2px 2px 0 #479A7E, 
      -1px 1px 0 #479A7E
    ;
  }
  25% {    
    text-shadow:      
      -4px -4px 0 #479A7E, 
      -3px -3px 0 #479A7E, 
      -2px -2px 0 #479A7E, 
      -1px -1px 0 #479A7E,
          
    ;
  }
  50% {
    text-shadow:
      
      4px -4px 0 #479A7E, 
      3px -3px 0 #479A7E, 
      2px -2px 0 #479A7E, 
      1px -1px 0 #479A7E
    ;
  }
  75% {
    text-shadow:
      4px 4px 0 #479A7E, 
      3px 3px 0 #479A7E, 
      2px 2px 0 #479A7E, 
      1px 1px 0 #479A7E
      
    ;
  }
  100% {
    text-shadow:
      
      -4px 4px 0 #479A7E, 
      -3px 3px 0 #479A7E, 
      -2px 2px 0 #479A7E, 
      -1px 1px 0 #479A7E
    ;
  }  
}

.text__description {
  line-height: 145%;
  font-size: 1em;
  font-weight: 300;
  padding-bottom: 1em;
}

.text__button {
  max-width: 230px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  color: white;
  font-size: 20px;
  background-color: #006e28;
  padding: 1em 2em;
  border-radius: 0.5em;
  font-weight: bold;
}

.text__button:hover {
  background-color: #fff;
  color: #006e28;
}

.grid__container {
  min-width: 60%;
  display: grid;
  grid-gap: .5em;
  grid-template-columns: repeat(8, 1fr);
}

.grid__item {
  background-color: #006e28;
  border-radius: 0.5em;
}

.one {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  background-image: url('../images/hero4.jpg');
  background-position: center;
  background-size: cover;
}

.two { 
  grid-column: 2 / 5;
  grid-row: 1 / 4;
  background-image: url('../images/hero1.webp');
  background-position: center;
  background-size: cover;
}

.three {
  grid-column: 5 / 6;
  grid-row: 1 / 2;
  background-image: url('../images/hero5.jpg');
  background-position: center;
  background-size: cover;
}

.four {
  grid-column: 6 / 7;
  grid-row: 1 / 2;
  background-color: #FDF5DD;
  border-radius: 0 0 100px 0;
  -moz-border-radius: 0 0 100px 0;
  -webkit-border-radius: 0 0 100px 0;
}


.five {
  grid-column: 5 / 7;
  grid-row: 2 / 4;
  background-image: url('../images/hero2.webp');
  background-position: center;
  background-size: cover;
}

.six {
  grid-column: 7 / 8;
  grid-row: 2 / 3;
  background-color: #D3F0EE;
  border-radius: 0 100px 0 0;
  -moz-border-radius: 0 100px 0 0;
  -webkit-border-radius: 0 100px 0 0;
}

.seven {
  grid-column: 7 / 8;
  grid-row: 3 / 4;
  background-image: url('../images/hero6.webp');
  background-position: center;
  background-size: cover;
}

.nine {
  grid-column: 1 / 2;
  grid-row: 4 / 5;
  background-color: #FADEE0;
  border-radius: 100px 0 0 0;
  -moz-border-radius: 100px 0 0 0;
  -webkit-border-radius: 100px 0 0 0;
}

.ten {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
  background-image: url('../images/hero7.webp');
  background-position: center;
  background-size: cover;
}

.eleven {
  grid-column: 3 / 5;
  grid-row: 4 / 6;
  background-image: url('../images/hero3.jpg');
  background-position: center;
  background-size: cover;
}

.twelve {
  grid-column: 5 / 6;
  grid-row: 4 / 5;
  background-image: url('../images/hero8.jpg');
  background-position: center;
  background-size: cover;
}

@media (max-width: 900px) {
  .grid__container {
    min-width: 50%;
    height: 400px;
    margin-top: 50px;
  }
}
  
  @media (max-width: 780px) {
    .hero {
      flex-direction: column;
      margin: 2em 2em;
    }
    
    .text {
      width: 100%;
    }

    .text__title {
      font-size: 25px;
    }
  }

/*first section*/
  a,
  a:hover,
  a:focus,
  a:active {
      text-decoration: none;
      outline: none;
  }
  
  a,
  a:active,
  a:focus {
      color: #6f6f6f;
      text-decoration: none;
      transition-timing-function: ease-in-out;
      -ms-transition-timing-function: ease-in-out;
      -moz-transition-timing-function: ease-in-out;
      -webkit-transition-timing-function: ease-in-out;
      -o-transition-timing-function: ease-in-out;
      transition-duration: .2s;
      -ms-transition-duration: .2s;
      -moz-transition-duration: .2s;
      -webkit-transition-duration: .2s;
      -o-transition-duration: .2s;
  }
  
  ul {
      margin: 0;
      padding: 0;
      list-style: none;
  }
  img {
max-width: 100%;
height: auto;
}

.sec-title{
position:relative;
z-index: 1;
}

.sec-title .title{
position: relative;
display: block;
font-size: 18px;
line-height: 24px;
font-weight: 500;
}

.sec-title h2{
position: relative;
display: block;
font-size:35px;
line-height: 1.28em;
font-weight: 500;
padding-bottom:18px;
color: #006e28;
}

.sec-title h2:before{
position:absolute;
content:'';
left:0px;
bottom:0px;
width:50px;
height:3px;
background-color:#d1d2d6;
}

.sec-title .text{
position: relative;
font-size: 16px;
line-height: 26px;
font-weight: 400;
}

.sec-title.text-center h2:before{
left:50%;
margin-left: -25px;
}

.btn-style-one{
position: relative;
display: inline-block;
font-size: 17px;
line-height: 30px;
color: #ffffff;
padding: 10px;
font-weight: 600;
overflow: hidden;
letter-spacing: 0.02em;
background-color: #006e28;
}

.btn-style-one:hover{
background-color: #006e28;
color: #ffffff;
}

.first-section{
padding: 100px 0;
}

.first-section .content-column .inner-column{
padding-left: 60px;
padding-top: 0;
margin-top: 0;
}

.first-section .text{
font-size: 18px;
line-height: 20px;
font-weight: 300;
width: 500px;
height: 300px;
padding-top: 0;
margin-top: 0;
}

.first-section .btn-box a{
padding: 15px 50px;
}

.first-section .image-column .text-layer{
position: absolute;
right: -110px;
top: 50%;
font-size: 325px;
line-height: 1em;
color: #ffffff;
margin-top: -175px;
font-weight: 500;
}

.first-section .image-column .inner-column{
position: relative;
padding-left: 120px;
padding-bottom: 0px;
}

.first-section .image-column .inner-column:before{
content: '';
position: absolute;
width: calc(50% + 80px);
height: calc(100% + 160px);
top: -80px;
left: -3px;
background: transparent;
z-index: 0;
border: 44px solid #006e28;
}

.first-section .image-column .image-1{
position: relative;
}
.first-section .image-column .image-2{
position: absolute;
left: 0;
bottom: 0;
}

.first-section .image-column .image-2 img,
.first-section .image-column .image-1 img{
box-shadow: 0 30px 50px rgba(8,13,62,.15);
border-radius: 46px;
}

.first-section .image-column .video-link{
position: absolute;
left: 70px;
top: 170px;
}

.first-section .image-column .video-link .link{
position: relative;
display: block;
font-size: 22px;
color: #191e34;
font-weight: 400;
text-align: center;
height: 100px;
width: 100px;
line-height: 100px;
background-color: #ffffff;
border-radius: 50%;
box-shadow: 0 30px 50px rgba(8,13,62,.15);
-webkit-transition: all 300ms ease;
-moz-transition: all 300ms ease;
-ms-transition: all 300ms ease;
-o-transition: all 300ms ease;
transition: all 300ms ease;
}


@media (min-width: 300px) and (max-width:1500px) {
  .first-section .inner-column{
    padding: 55px;
    text-align: left;
  }
  .first-section .sec-title{
    margin-top: 50px;
    width: fit-content;
  }
  .first-section .text{
    margin-top: 150px;
    font-size: 15px;
    width: fit-content;
  }
  .first-section .btn-box{
    margin-top: 100px;
  }
  .first-section #text-two{
    margin-top: 130px;
  }
  .first-section .image-1{
    width: 150%;
  }
}

.d_card {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1),
    0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1),
    0 16px 16px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
@media (min-width: 600px) {
  .d_card {
    height: 350px;
  }
}
.d_card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  -webkit-transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e),
    -webkit-transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}
.d_card:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    color-stop(11.7%, rgba(0, 0, 0, 0.009)),
    color-stop(22.1%, rgba(0, 0, 0, 0.034)),
    color-stop(31.2%, rgba(0, 0, 0, 0.072)),
    color-stop(39.4%, rgba(0, 0, 0, 0.123)),
    color-stop(46.6%, rgba(0, 0, 0, 0.182)),
    color-stop(53.1%, rgba(0, 0, 0, 0.249)),
    color-stop(58.9%, rgba(0, 0, 0, 0.32)),
    color-stop(64.3%, rgba(0, 0, 0, 0.394)),
    color-stop(69.3%, rgba(0, 0, 0, 0.468)),
    color-stop(74.1%, rgba(0, 0, 0, 0.54)),
    color-stop(78.8%, rgba(0, 0, 0, 0.607)),
    color-stop(83.6%, rgba(0, 0, 0, 0.668)),
    color-stop(88.7%, rgba(0, 0, 0, 0.721)),
    color-stop(94.1%, rgba(0, 0, 0, 0.762)),
    to(rgba(0, 0, 0, 0.79))
  );
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.009) 11.7%,
    rgba(0, 0, 0, 0.034) 22.1%,
    rgba(0, 0, 0, 0.072) 31.2%,
    rgba(0, 0, 0, 0.123) 39.4%,
    rgba(0, 0, 0, 0.182) 46.6%,
    rgba(0, 0, 0, 0.249) 53.1%,
    rgba(0, 0, 0, 0.32) 58.9%,
    rgba(0, 0, 0, 0.394) 64.3%,
    rgba(0, 0, 0, 0.468) 69.3%,
    rgba(0, 0, 0, 0.54) 74.1%,
    rgba(0, 0, 0, 0.607) 78.8%,
    rgba(0, 0, 0, 0.668) 83.6%,
    rgba(0, 0, 0, 0.721) 88.7%,
    rgba(0, 0, 0, 0.762) 94.1%,
    rgba(0, 0, 0, 0.79) 100%
  );
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e),
    -webkit-transform calc(var(--d) * 2) var(--e);
}
.d_card:nth-child(1):before {
  background-image: url(../images/Before.jpg);
}
.d_card:nth-child(2):before {
  background-image: url(../images/installation.jpg);
}
.d_card:nth-child(3):before {
  background-image: url(../images/broken-door.jpeg);
}
.d_card:nth-child(4):before {
  background-image: url(../images/broken.jpg);
}

.content {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  width: 100%;
  padding: 1rem;
  -webkit-transition: -webkit-transform var(--d) var(--e);
  transition: -webkit-transform var(--d) var(--e);
  transition: transform var(--d) var(--e);
  transition: transform var(--d) var(--e), -webkit-transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
}

.heading {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

.data-content {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

@media (hover: hover) and (min-width: 600px) {
  .d_card:after {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .content {
    -webkit-transform: translateY(calc(100% - 4.5rem));
    transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.heading) {
    opacity: 0;
    -webkit-transform: translateY(1rem);
    transform: translateY(1rem);
    -webkit-transition: opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
    transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e),
      -webkit-transform var(--d) var(--e);
  }

  .d_card:hover,
  .d_card:focus-within {
    -webkit-box-align: center;
    align-items: center;
  }
  .d_card:hover:before,
  .d_card:focus-within:before {
    -webkit-transform: translateY(-4%);
    transform: translateY(-4%);
  }
  .d_card:hover:after,
  .d_card:focus-within:after {
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .d_card:hover .content,
  .d_card:focus-within .content {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .d_card:hover .content > *:not(.heading),
  .d_card:focus-within .content > *:not(.heading) {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition-delay: calc(var(--d) / 8);
    transition-delay: calc(var(--d) / 8);
  }

  .d_card:focus-within:before,
  .d_card:focus-within:after,
  .d_card:focus-within .content,
  .d_card:focus-within .content > *:not(.heading) {
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
  }
}

/*Service*/
.main {
  width: 100%;
  min-height: 380px;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.service {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  z-index: 1;
  box-shadow: 0 0 20px -15px #006e28;
  transition: transform .8s;
}

/* Mengatur posisi logo service */
.service-logo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: -90px auto 0;
  background: #fff;
  border: 18px solid #006e28;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Membuat border title */
.service h4 {
  height: 35px;
  width: 80%;
  margin: 50px auto;
  background: #fff;
  position: relative;
}

.service h4::after,
.service h4::before {
  content: '';
  width: 40px;
  height: 30px;
 position: absolute;
 z-index: -1;
}

.service h4::after {
  background: linear-gradient(to right, #fff, #006e28);
  right: -5px;
  top: -5px;
}

.service h4::before {
  background: linear-gradient(to right, #006e28, #fff);
  left: -5px;
  bottom: -5px;
}


/* membuat shadow untuk service */
.main::after {
  content: '';
  height: 200px;
  width: 80%;
  background: #fff;
  position: absolute;
  border-radius: 10px;
  bottom: 0;
  left: 10%;
  z-index: -1;
  box-shadow: 0 0 20px -15px #006e28;
  transition: transform .8s;
}
.main::before {
  content: '';
  height: 200px;
  width: 64%;
  background: #fff;
  position: absolute;
  border-radius: 10px;
  bottom: 0;
  left: 18%;
  z-index: -2;
}

.main:hover .service {
  transform: translateY(-50px);
}

.main:hover::after {
  transform: translateY(-25px);
}

.service-logo img {
  transition: transform 1s;
}

.main:hover .service-logo img {
  transform: rotate(360deg);
}

@media (max-width: 767px) {
  .circle-container {
    flex-direction: column;
    align-items: center;
  }
  .circle-container .outer-circle .inner-circle {
    transform: rotate(135deg);
  }
  .circle-container .outer-circle .inner-circle .inner-circle-content {
    transform: rotate(225deg);
  }
  .circle-container .outer-circle:not(:first-child) {
    margin-left: 0px;
    margin-top: -49px;
  }
}

