@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

:root {
  --green: #3a354d;
  --white: #ffffff;
  --colorone: #7f77e0;
  --colortwo: #3a354d;
  --box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  --light-color: #666;
}

* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  transition: all 0.4s ease-out;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: var(--green);
}

html::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5rem;
  border: 0.1px solid #000;
}

.btn-utama {
  display: inline-block;
  padding: 0.8rem 3rem;
  border: 2px solid var(--green);
  color: var(--green);
  cursor: pointer;
  font-size: 20px;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 0;
  margin-top: 1rem;
  text-decoration: none;
}

.btn-utama::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  background: var(--green);
  transition: 0.3s linear;
  z-index: -1;
}

.btn-utama:hover::before {
  width: 100%;
  left: 0%;
}

.btn-utama:hover {
  color: #fff;
}

/* navbar */

.bg-nav {
  padding: 20px 0 20px 0;
  background-color: var(--green);
}

.bg-nav .navbar-nav a.nav-link {
  margin-right: 7px;
  color: var(--white);
}

.bg-nav .navbar-nav .nav-link:hover {
  font-weight: 900;
}

.navbar.scrolled {
  background-color: var(--green);
  transition: background-color 0.5s ease;
  box-shadow: 0px -10px #666;
}
.navbar.scrolled a.nav-link {
  color: #666;
}

nav img {
  width: 50px;
}

.navbar a.active,
.navbar a:hover {
  border-bottom: 2px solid var(--white);
}

/* .brand {
  margin: 100px 0 0 0;
} */
#brand-1 {
  background-color: var(--green);
  padding-bottom: 20px;
}

.brand p {
  font-size: 24px;
  line-height: 35px;
  color: var(--white);
}

.brand p span {
  font-size: 50px;
  font-weight: 700;
}

/* owl carousel */
.carousel-item {
  height: 32rem;
  background-color: #777;
  color: var(--white);
  position: relative;
}

.carousel-item .container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 50px;
  text-align: center;
}
.overlay-image {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
}

@keyframes sticky {
  to {
    transform: translateY(0);
    opacity: 1;
  }
  from {
    transform: translateY(-6rem);
    opacity: 0;
  }
}

/* end owl carousel */

/* about us */

.center-vertical {
  display: flex;
  width: 100%;
  min-height: 80vh;
  align-items: center;
}

.about-us-section {
  width: 100%;
  padding: calc(5% + 30px) 0px;
}

.about-us-section .img-head {
  position: relative;
  overflow: hidden;
}

.about-us-section .img-head img {
  width: 100%;
  transition: transform 0.3s;
}
.about-us-section .img-head:hover img {
  transform: scale(1.2);
}

.about-us-section .img-head::after {
  content: "";
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right bottom, var(--colorone), var(--colortwo));
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.5;
}

.about-us-section .text-head {
  font-size: 20px;
  font-weight: 700;
  color: var(--colortwo);
}

.about-us-section .break-small {
  width: 80px;
  height: 3px;
  background-color: var(--colortwo);
}

.about-us-section .text-para {
  font-size: 16px;
  color: #444;
}

.about-us-section .box {
  background-color: var(--colortwo);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.about-us-section .box i {
  font-size: 42px;
}

.about-us-section .box h4 {
  font-size: 14px;
  font-weight: 700;
}

.about-us-section .box p {
  font-size: 22px;
}

.about-us-section .box::after,
.about-us-section .box::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: #fff5;
  border-radius: 50%;
  transition: transform 0.3s;
}

.about-us-section .box::after {
  left: -50px;
  top: -50px;
}

.about-us-section .box::before {
  right: -50px;
  bottom: -50px;
}

.about-us-section .box:hover::after,
.about-us-section .box:hover::before {
  transform: scale(1.2);
}

/* text berjalan */

.box-text-berjalan {
  position: relative;
  height: 25px;
  width: 100%;
  background-color: var(--green);
}

.box-text-berjalan marquee {
  font-weight: 700;
  color: var(--white);
}

/* Perumahan */
#partner {
  background-color: var(--green);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--white);
  border-top: 1px solid var(--white);
}
#partner h3 {
  font-weight: 700;
  color: var(--white);
  padding-top: 20px;
}

#partner .break-small {
  width: 80px;
  height: 3px;
  background-color: var(--white);
}

#partner .row-3 {
  background-color: var(--white);
  margin-left: 50px;
  margin-right: 50px;
  border-radius: 1.5rem;
}

#partner .row-3 img {
  max-height: 100px;
  max-width: 270px;
  border-radius: 270px;
}

#partner .card a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

#partner .client-image a {
  display: inline-block;
  word-spacing: 20px;
  margin-right: 20px;
  margin-left: 20px;
}

@media (max-width: 780px) {
  .client-project .row-3 img {
    max-height: 50px;
    max-width: 150px;
  }
}

/* galery Perumahan */
.break-small {
  width: 80px;
  height: 5px;
  background-color: var(--green);
}
.galery-perumahan h1 {
  color: var(--green);
  font-weight: 700;
}

.galery-perumahan .box {
  height: 20rem;
  border: 5px solid var(--colortwo);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 0.7rem;
  position: relative;
  overflow: hidden;
}

/* galery foto */
.galery-perumahan .box img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.galery-perumahan .box .content {
  position: absolute;
  top: -100%;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  padding-top: 5rem;
  text-align: center;
}

.galery-perumahan .box .content p {
  font-size: 12px;
  color: #666;
  padding: 5px 0;
}
.galery-perumahan .box:hover .content {
  top: 0;
}

/* galery rumah */
#rumah {
  width: 100%;
  display: block;
  min-height: 100vh;
  padding: 30px 0 20px 0;
}

#rumah .container {
  border: 1px solid var(--white);
  border-radius: 5px;
  padding: 20px 20px 20px 20px;
  max-width: 1170px;
  margin: auto;
}

#rumah h1 {
  color: var(--green);
  font-weight: 700;
}

#rumah img {
  max-width: 100%;
  vertical-align: middle;
}

#rumah .row {
  display: flex;
  flex-wrap: wrap;
}

#rumah .gallery-filter {
  background-color: #3a354d;
  padding: 0 15px;
  padding-top: 10px;
  padding-bottom: 5px;
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 50px;
}

#rumah .gallery-filter .filter-item {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin: 0 10px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  line-height: 1.2;
  transition: all 0.3s ease;
}

#rumah .gallery-filter .filter-item.active {
  color: #7f77e0;
  border-color: #7f77e0;
}

#rumah .gallery-item {
  width: calc(100% / 3);
  padding: 15px;
}

#rumah .gallery-item-inner img {
  height: 100%;
  width: 100%;
}

#rumah .gallery-item.show {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#rumah .gallery-item.hide {
  display: none;
}

@media (max-width: 991px) {
  #rumah .gallery-item {
    width: 50%;
  }
}
@media (max-width: 767px) {
  #rumah .gallery-item {
    width: 100%;
  }
  #rumah .gallery-filter .filter-item {
    margin-bottom: 10px;
  }
}

/* service kami */
#service .container-fluid {
  background-color: var(--green);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--white);
  border-top: 1px solid var(--white);
  border-radius: 5px;
}
#service h1 {
  font-weight: 700;
  color: var(--white);
  padding-top: 20px;
}

#service .break-small {
  width: 80px;
  height: 3px;
  background-color: var(--white);
}

#service .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

#service .box {
  flex: 1 1 25rem;
  background-color: var(--colortwo);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--white);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  text-align: center;
  cursor: pointer;
  color: var(--white);
  transition: all 0.5s ease;
}

#service .box:hover {
  background-color: #9fb4ff;
  color: var(--white);
  border-radius: 30px;
}

#service .box i {
  color: var(--white);
  font-size: 50px;
}

#service .box p {
  font-size: 15px;
  font-weight: 500;
}

/* blogs kami */
#blogs .judul h1 {
  font-weight: 700;
  color: var(--green);
  padding-top: 20px;
}

#blogs .judul p {
  color: #7f77e0;
  font-weight: 600;
}

.box-cards-blog {
  max-width: 1000px;
  display: flex;
  margin: auto;
  padding: 20px 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  width: calc(33.33333% - 10px);
  display: block;
  padding: 1rem;
  margin-bottom: 5px;
  background-color: #fff;
  border-radius: 20px;
  border: 1px solid #b6b7b8;
}

.card:hover {
  box-shadow: 0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card .card-image {
  width: 100%;
}

.card .card-image img {
  width: 100%;
  border-radius: 20px;
}

.card .card-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  flex: 1;
  width: 100%;
}
.card .card-body .card-title {
  margin: 0px;
  margin-bottom: 1rem;
}

.card .card-body .card-title {
  line-height: 18px;
}

.card .card-body .card-title > a {
  font-size: 20px;
  color: #081f32;
  text-decoration: none;
}

.card .card-body .card-title > a:hover {
  color: var(--green);
  text-decoration: underline;
  transition: ease 0.5s all;
}

.card .card-body .desc {
  text-align: justify;
}

.card .card-bottom {
  display: flex;
  margin-top: 0.5rem;
  justify-content: space-between;
}
.card .card-bottom .author {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.card .card-bottom .author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.card .card-bottom .username {
  color: #7f77e0;
}
.card .card-bottom .readmore {
  display: block;
  padding: 5px 10px;
  color: #fff;
  text-decoration: none;
  background-color: var(--colortwo);
  border-radius: 5px;
  transition: transform 0.3s ease;
}
.card .card-bottom .readmore:hover {
  background-color: var(--green);
  transition: transform 0.3s ease;
  transform: translateX(-10px);
}

/* Responsive */
@media (max-width: 991px) {
  .box-cards-blog {
    display: block;
  }
  .box-cards-blog .card {
    width: 100%;
    display: flex;
  }
  .box-cards-blog .card .card-image {
    width: 200px;
  }
  .box-cards-blog .card .card-image img {
    height: 100%;
  }
  .box-cards-blog .card .card-meta {
    margin-left: 20px;
    margin-top: 0px;
  }
}
@media (max-width: 768px) {
  .box-cards-blog {
    padding: 20px;
  }
  .box-cards-blog .card {
    display: block;
  }
  .box-cards-blog .card .card-image {
    width: 100%;
  }
  .box-cards-blog .card .card-image img {
    height: auto;
  }
  .box-cards-blog .card .card-meta {
    width: 100%;
    margin-left: 0px;
    margin-top: 1rem;
  }
}

/* testimonial */
.testimonial .judul {
  color: var(--green);
}

.wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.wrapper .box1 {
  background: var(--green);
  width: calc(33% - 10px);
  padding: 25px;
  border-radius: 3px;
  box-shadow: var(--box-shadow);
}

.wrapper .box1 {
  color: var(--white);
}
.wrapper .box1 i.quote {
  font-size: 20px;
  color: #7f77e0;
}
.wrapper .box1 .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}
.box1 .infor .name {
  color: var(--white);
  font-weight: 600;
  font-size: 17px;
}
.box1 .infor .job {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}
.box1 .infor .stars {
  margin-top: 2px;
}
.box1 .infor .stars i {
  color: #7f77e0;
}
.box1 .content .image {
  height: 75px;
  width: 75px;
  padding: 3px;
  background: var(--white);
  border-radius: 50%;
}
.content .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #3a354d;
}
.box1:hover .content .image img {
  border-color: #3a354d;
}

@media (max-width: 1045px) {
  .wrapper .box1 {
    width: calc(50% - 10px);
    margin: 10px 0;
  }
}
@media (max-width: 762px) {
  .wrapper .box1 {
    width: 100%;
  }
}

/* form contact, map, contact us */
.contact-us .judul {
  color: var(--green);
  font-weight: 700;
}

.contact-wrap {
  width: 80%;
  height: auto;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.contact-in {
  padding: 40px 30px;
}

.contact-in:nth-child(1) {
  flex: 30%;
  background: url(../img/satu.jpg);
  color: #ffffff;
}

.contact-in:nth-child(2) {
  flex: 45%;
  background: var(--green);
}

.contact-in:nth-child(3) {
  flex: 25%;
  padding: 0;
}

/* ini bang */
.contact-in h1 {
  font-size: 24px;
  color: #7f77e0;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-in h2 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 15px;
}

.contact-in h2 i {
  font-size: 16px;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background: #7f77e0;
  color: #ffffff;
  border-radius: 50px;
  line-height: 40px;
  text-align: center;
}

.contact-in p {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 20px;
}

.contact-in ul {
  padding: 0;
  margin: 0;
}

.contact-in ul li {
  list-style: none;
  display: inline-block;
  margin-right: 5px;
  margin-top: 5px;
}

.contact-in ul li a {
  display: block;
  width: 30px;
  height: 30px;
  text-align: center;
  background: #7f77e0;
  border-radius: 50px;
}

.contact-in ul li a i {
  font-size: 14px;
  line-height: 30px;
  color: #ffffff;
  transition: all 0, 3s ease;
}
/* nah ini */
.contact-in ul li a i:hover {
  background-color: #ffffff;
  color: #7f77e0;
  border-radius: 100%;
  width: 30px;
}

.contact-in form {
  width: 100%;
  height: auto;
}

.contact-in-input {
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
  border: 1px solid #ffffff;
  outline: none;
  padding-left: 5px;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 300;
  font-family: "Poppins", sans-serif;
}

.contact-in-input::placeholder {
  color: #ffffff;
}

.contact-in-textarea {
  width: 100%;
  height: 140px;
  margin-bottom: 20px;
  border: 1px solid #ffffff;
  outline: none;
  padding-top: 5px;
  padding-left: 5px;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 300;
  font-family: "Poppins", sans-serif;
}

.contact-in-textarea::placeholder {
  color: #ffffff;
}

.contact-in-btn {
  width: 100%;
  height: 40px;
  border: 1px solid #ffffff;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-size: 12px;
  font-weight: 300;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
}

/* ini submit */
.contact-in-btn:hover {
  background-color: var(--colorone);
  color: var(--white);
}

.contact-in iframe {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 480px) {
  .contact-in:nth-child(1) {
    flex: 50%;
  }

  .contact-in:nth-child(2) {
    flex: 50%;
  }

  .contact-in:nth-child(3) {
    flex: 100%;
  }
}

@media only screen and (max-width: 360px) {
  .contact-in:nth-child(1) {
    flex: 50%;
  }

  .contact-in:nth-child(2) {
    flex: 50%;
  }

  .contact-in:nth-child(3) {
    flex: 100%;
  }
}

/* footer */
.footer .container {
  max-width: 1170px;
  margin: auto;
}
.footer .row {
  display: flex;
  flex-wrap: wrap;
}
ul {
  list-style: none;
}
.footer {
  background-color: var(--green);
  padding: 30px 0;
  line-height: 1.5;
}
.footer-col {
  width: 25%;
  padding: 0 15px;
}
.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #7f77e0;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}
.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: none;
  font-weight: 300;
  color: var(--white);
  display: block;
  transition: all 0.3s ease;
}
/* yang ini boy */
.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}
.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}
.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

.copyright {
  margin-top: 39px;
}

.copyright a {
  text-decoration: none;
  color: var(--white);
}

.footer .copyright p {
  color: var(--white);
}

/*responsive*/
@media (max-width: 767px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
  }
}
@media (max-width: 574px) {
  .footer-col {
    width: 100%;
  }
}
