/* Navbar */
.nav-link {
  font-family: "Alkatra", system-ui !important;
  letter-spacing: 1px !important;
}

/* Stats Section */
#stats-section {
  position: relative;
  /* background-image: url("./images/stat-bg.jpeg"); */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Lazy loading via pseudo-element */
  background-attachment: fixed;
  will-change: transform;
}

#stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

#stats-section .container {
  z-index: 2;
}

.stat-card {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  background-color: rgba(0, 0, 0, 0.7);
}

.stat-card .counter {
  display: inline-block;
  color: white;
}

.stat-card span {
  margin-left: -10px;
  color: white !important;
}

/* Section Heading */
.section-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-sub-heading {
  font-family: "Libre Baskerville", serif !important;
  color: #ac171b;
}

.primary-button {
  width: fit-content;
  padding: 8px 12px;
  border: none;
  background-color: #4b4e46;
  color: white;
  font-weight: bold;
  border-radius: 10px;
  font-family: "Libre Baskerville", serif !important;
}

.section-heading h4 {
  font-family: "Alkatra", system-ui !important;
  font-size: 2.5rem;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: underline #ac171b !important;
}

#divider {
  width: 200px;
  height: 2px;
  border: none;
  background-color: #ac171b;
}

.about-img-container {
  width: 100%;
  height: 500px;
  border-radius: 5px;
  overflow: hidden;
}

.about-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Car Card */
.car-card {
  width: 100%;
  border: none;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  overflow: hidden;
}

.car-card .car-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.car-card .car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.car-card-body {
  padding: 10px;
}

/* Address Card */
.address-card {
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 15px;
  background-color: whitesmoke;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  cursor: pointer;
}

.active-location {
  background-color: #811d21da;
  color: #fff;
  border-radius: 10px;
  padding: 10px;
}

/* Why Choose Us */
.new-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  min-height: 250px;
  text-decoration: none;
  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;
  padding: 30px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.new-card:hover {
  transform: translateY(-10px);
}

/* .new-card h5 {
  font-family: "Libre Baskerville", serif !important;
} */

.new-card p {
  text-align: justify;
}

.new-card.new-card1 {
  background-color: #4b4e46;
  color: white;
}
.new-card.new-card2 {
  background-color: #a35b5d;
}
.new-card.new-card3 {
  background-color: #4b4e46;
  color: white;
}

.new-card .icon-round {
  position: absolute;
  top: 0;
  width: 80px;
  height: 70px;
  border-radius: 0 0 50px 50px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-card #icon-round2 {
  background-color: #4b4e46;
}

.new-card .icon-round i {
  color: black;
}

/* Contact Section */
#contact-section {
  background-color: antiquewhite;
}

.form-section {
  width: 100%;
  padding: 20px;
  border: none;
  border-radius: 15px;
  background-color: white;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.form-section form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* .primary-button {
  width: fit-content;
  padding: 10px 12px;
  border: none;
  outline: none;
  background-color: #4b4e46;
  color: white;
  font-weight: bold;
  cursor: pointer;
} */

.contact-section-img {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.contact-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#phone-icon {
  position: fixed;
  bottom: 5%;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: teal;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#whatsapp {
  position: fixed;
  bottom: 5%;
  left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: green;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#go-to-top {
  position: fixed;
  top: 80%;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d92524;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  outline: none;
}
