@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --clr-primary: #2a5061;
  --cls-secondary: #ca2027;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  font-weight: 300;
  background: #fafafa;
}

/* Navbar */
.bg-dark {
  background: var(--clr-primary) !important;
}

.nav-item {
  margin: auto 1.2em;
}

.nav-link.active {
  font-weight: 500;
}
/* End of Navbar */

/* Banner */
.bg-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/banner.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.text-banner {
  font-size: clamp(16px, 6vw, 48px);
  line-height: 1.4;
}

.w-banner {
  width: 80%;
}

.btn-danger {
  background: var(--cls-secondary) !important;
  transition: 0.5s ease;
}

.btn-danger:hover {
  background: #e72e35 !important;
}
/* End of Banner */

/* Section Car List */
.title {
  margin-top: 6em;
}

.w-5 {
  width: 5%;
  border: 1px solid #ca2027;
}

.title-car {
  font-size: clamp(16px, 2em, 24px);
}

.price {
  font-weight: 600;
  font-size: clamp(18px, 2em, 32px);
}

.price span {
  font-size: clamp(12px, 2em, 14px);
  font-weight: 400;
}

.card {
  border-radius: 10px;
}

.card img {
  border-radius: 10px 10px 0 0;
}
/* End of Section Car List */

/* Section Testimonial */
.testimonial {
  background: #f6f6f6;
}

.title-testimoni img {
  border-radius: 100px;
}

.profile {
  margin: auto 0;
}
/* End Section of Testimonial */

/* Footer */
.contact {
  background: var(--clr-primary);
  color: white;
}

.d-grid a {
  text-decoration: none;
  color: white;
  transition: 0.5s ease;
}

.d-grid a:hover {
  color: #bdbdbd;
}

.copyright {
  color: #dfdfdf;
}
/* End of Footer */

/* Detail Car */
.detail {
  padding-top: 6.8em;
}

.img-car {
  width: 100%;
  border-radius: 10px;
}
/* End of Datail Car */

.card-header {
  border-radius: 10px 10px 0 0 !important;
}

.d-grid a.btn-outline-danger {
  color: #ca2027;
}

.d-grid a.btn-outline-danger:hover {
  color: #ffd;
}

.responsive-map-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.responsive-map-container iframe,
.responsive-map-container object,
.responsive-map-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .w-banner {
    width: 100%;
  }
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 15px;
  right: 15px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
}

.my-float {
  /* margin-top:16px; */
  height: 65px;
}

.d-grid a.active {
  color: white;
}

a.contact-btn {
  color: #198754;
}

a.contact-us-btn {
  color: var(--clr-primary);
  text-decoration: none;
  transition: 0.5s ease;
}

a.contact-us-btn:hover {
  color: #4c7d96;
}

#modal-rate .modal-content {
  border-radius: 25px;
  width: 95%;
  height: 40%;
  margin: 30% auto;
}

#modal-rate img {
  border-radius: 50%;
  height: 180px;
  width: 180px;
  margin: 0 auto;
}

#modal-rate a {
  border-radius: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
}
