:root {
  --pr-color: #0071e2;
  --sc-color: #069C09;
  --white: #fff;
  --black: #000;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #cde6ff;
}

/* Navbar Start */

.navbar {
  z-index: 3;
}

* {
  z-index: 2;
}

.navbar-brand {
  font-weight: 700;
  font-size: 20px;
}

.nav-link {
  font-size: 16px;
}

.nav-link.active {
  font-weight: 700;
}

.button-primary {
  width: 133px;
  height: 40px;
  background-color: transparent;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 400;
}

.button-secondary {
  width: 133px;
  height: 40px;
  background-color: #fff;
  color: var(--pr-color);
  border: none;
  font-size: 16px;
  font-weight: 700;
}

/* Navbar color */
.nav-color {
  background-color: #0080ff;
  transition: all 0.3s ease-in-out;
}

.bg-transparent {
  transition: all 0.3s ease-in-out;
}

/* Navbar End */

/* Hero Section Start */

#hero {
  background: linear-gradient(160deg, var(--pr-color), var(--black));
  height: 100vh;
  width: 100%;
}

.hero-tagline h1 {
  font-weight: 700;
  font-size: 52px;
  color: var(--white);
  line-height: 72px;
}

.hero-tagline p {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 60px;
  margin-top: 20px;
  line-height: 30px;
  width: 85%;
}

.button-lg-primary {
  width: 237px;
  height: 70px;
  border: none;
  color: var(--pr-color);
  font-weight: 700;
  font-size: 16px;
  background: var(--white);
}

.img-hero {
  height: 100%;
  z-index: 1;
}

.accent-img-banner {
  z-index: 1;
}
/* Hero Section End */

/* Layanan Section Start */

#layanan {
  padding: 100px 0px;
}

.box-container {
  display: flex; /* Aligns the boxes horizontally */
  justify-content: center; /* Centers the boxes within the container */
  gap: 20px; /* Adds spacing between the boxes */
}


.box-wrapper {
  display: inline-block;
  display: flex;
  flex-direction: column; /* Ensures the icon and text stack vertically wit hin the box */
  align-items: center;
}

.box-layer-1 {
  width: 180px;
  height: 180px;
  background-color: #f1f1f1; /* Adjust as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Adds shadow on hover */
}

.box-layer-2 {
  width: 165px;
  height: 165px;
  background: linear-gradient( var(--pr-color), #002c58);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.box-layer-2:hover {
  transform: scale(1.1); /* Scales the entire box */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

.box-desc {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}

/* Layanan Section End */

/* Project Section Start */
#project {
  background-image: url(../images/project-background.png);
  height: 120vh;
  background-repeat: no-repeat;
  background-size: cover;
}

#project h2 {
  font-size: 48px;
  font-weight: 500;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

#project p {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.project-title {
  padding-top: 90px;
}

.projectbox-head {
  gap: 10rem;
}

.project-box {
  width: 350px;
  height: 350px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  margin-bottom: 20px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
  background-color: #fff;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-box .logo {
  max-width: 80%;
  max-height: 80%;
}
/* Project Section End */

/* Style Section Start */
.input-cari {
  height: 88px;
}

.input-cari:focus {
  border: none;
}

.input-cari .button-secondary {
  width: 200px;
  height: 88px;
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--pr-color);
  font-size: 18px;
  font-weight: 500;
  border: none;
  border-radius: 0 10px 0 10px;
}

.input-cari .button-primary {
  height: 88px;
  background-color: var(--pr-color);
  color: var(--white);
  border: none;
  font-size: 36px;
  font-weight: 500;
  border-radius: 0 10px 0 10px;
}

.nav-tabs {
  border: none;
}

.nav-tabs .nav-link {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0 0 0 0;
}

.nav-tabs .nav-link.active {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--pr-color);
  border-radius: 0 9px 0 0;
  font-weight: 500;
}

.nav-tabs .nav-link {
  color: black;
  border: none;
}
/* Style Section End */

/* Rekomendasi Section Start */
.card {
  width: 95%;
  height: 460px;
  border: none;
}

.card-body h4 {
  color: var(--black);
  font-weight: 600;
  font-size: 24px;
  line-height: 0.8rem;
}

.card-body p {
  color: #141414;
  font-weight: 400;
  font-size: 14px;
}

.card:hover {
  background: linear-gradient(170deg, var(--pr-color), #024a93, #003d7b, var(--black));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: all ease-in-out 0.4s;
}

.card:hover h4 {
  color: var(--white);
  transition: all 0.4s ease-in-out;
}

.card:hover .deskripsi {
  color: var(--white);
  transition: all 0.4s ease-in-out;
}

.card-fasilitas {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 10px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Adds shadow on hover */
}

/* Rekomendasi Section End */

/* Fitur Section Start */

.fitur-title {
  font-size: 48px;
  font-weight: 500;
}

.card-fitur h5 {
  color: var(--white);
  font-size: 36px;
  font-weight: 600;
}

.card-fitur span {
  color: var(--white);
  font-size: 14px;
}

.card-fitur h6 {
  color: var(--white);
  font-size: 24px;
  font-weight: 600;
}

.card-fitur .overlay {
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: all ease-in-out 0.3s;
}

.card-fitur .overlay:hover {
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 1;
}

.fitur-container {
  display: flex;
  flex-wrap: nowrap; /* Ensure the cards don't wrap */
  overflow-x: auto; /* Enable horizontal scrolling */
  
}

.fitur-container::-webkit-scrollbar {
  height: 8px; /* Height of the scrollbar */
}

.fitur-container::-webkit-scrollbar-thumb {
  background-color: var(--pr-color); /* Color of the scrollbar thumb */
  border-radius: 10px; /* Rounded corners for the thumb */
}

.card-fitur {
  flex: 0 0 auto; /* Ensure the cards take up only as much space as they need */
  width: 370px; /* Set a fixed width for each card */
}

.card-fitur img {
  width: 100%; /* Ensure the images take full width */
  height: auto;
}


  
/* Fitur Section End */

/* Fitur Contact Start */
#contact {
  background-image: url(../images/ruang-tamu.jpeg);
  margin-top: 158px;

  background-size: cover;
  background-repeat: no-repeat;
}

#contact .overlay {
  background: rgba(0, 0, 0, 0.5);
}

#contact .container {
  padding: 148px 0 148px;
}

#contact h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 60px;
  width: 441px;
  color: var(--white);
}

#contact h6 {
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  color: var(--white);
  margin: 19px 0 14px 0;
}

.kontak a {
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: var(--white);
  text-decoration: none;
  margin-left: 18px;
  width: 332px;
  display: inline-block;
}

.linkrumahimpian {
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: var(--white);
  text-decoration: none;
}

.linkrumahimpian:hover {
  color: var(--pr-color);
}


.card-maps iframe {
  width: 570px;
  height: 500px;
}

.korosel {
  transform: translateX(-150px);
  transition: all ease-in-out 0.3s;
}
/* Fitur Contact End */

/* Footer Section Start */

footer {
  width: 100%;
  height: 100px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer a {
  font-family: Poppins;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 30px;
  color: #fff;
  text-decoration: none;
}

.copyright {
  color: #fff;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}
/* Footer Section End */
