:root {
  --main-dark: #121212;
  --main-blue: #007bff;
  --main-grey-light: #9f9f9f;
  --main-blue-dark: #0067f4;
  --main-grey: #6c6c6c;
  --main-red: #dc3545;
  --main-light-grey: #f4f6f7;
  --main-dark-blue: #2b354f;
  --main-cyan: #17a2b8;
  --main-white: #ffffff;
  --main-light-blue: #3a6fb0;
  --main-black: #000000;
  --main-green: #28a745;
  --bg-transparent: rgba(0, 0, 0, 0);
}

.btn.btn-more {
  background-color: var(--main-blue);
  color: var(--main-white);
  width: 190px;
  font-weight: 500;
}

.btn.btn-more:hover {
  background-color: var(--main-blue-dark);
  color: var(--main-white);
  width: 190px;
  font-weight: 500;
}

.btn.btn-more:active {
  transform: translateY(2px);
}

.card-product,
.card-event {
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin-bottom: 20px;
  height: 350px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-product:hover,
.card-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.card-img-top {
  width: 100%;
  height: 180px;
  border-radius: 5px;
  object-fit: fill;
  /* object-position: center; */
}

.workshop-name {
  font-size: 14px;
  color: var(--main-grey);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tagline {
  font-size: 16px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date {
  font-size: 14px;
  font-weight: 500;
}

.footer-card {
  position: absolute;
  bottom: 10px;
  background-color: rgba(255, 255, 255, 0.9);
}

.price {
  font-weight: 600;
  font-size: 18px;
}

.location-map {
  color: var(--main-grey);
}

.location {
  font-size: 14px;
  font-weight: 500;
  color: var(--main-grey);
}

/* used Car */

.nama {
  font-size: 15px;
}

.car-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.card {
  border-radius: 16px;
  transition: transform 0.2s;
  background: var(--main-white);
  padding: 10px;
  width: 350px;
  height: 400px;
  scroll-snap-align: start;
}

.card:hover {
  transform: translateY(-5px);
}

.specs-icon {
  width: 15px;
  height: 15px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 600;
}

.card-body {
  padding-top: 15px;
}

.featured-cars #carousel-custom {
  display: flex;
  width: max-content;
  gap: 1rem;
}

.featured-cars .horizontal {
  width: 100%;
  overflow-x: scroll;
  scrollbar-color: transparent transparent;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.featured-cars .horizontal::-webkit-scrollbar {
  display: none;
}

/* End */

/* get Start */
.get-start .section-title {
  margin-bottom: 25px;
}

.get-start-list {
  display: grid;
  gap: 20px;
}

.get-start-card {
  border-radius: 16px;
  transition: transform 0.2s;
  background: var(--main-white);
  padding: 16px;
  width: 100%;
  height: 300px;
}

.get-start-card:hover {
  transform: translateY(-5px);
}

.get-start-card .card-icon {
  color: var(--main-blue-dark);
  height: 50px;
  width: 50px;
  font-size: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.get-start-card .icon-1 {
  --icon-card-bg: var(--mimi-pink);
  --icon-card-color: var(--deep-cerise);
}

.get-start-card .icon-2 {
  --icon-card-bg: var(--columbia-blue);
  --icon-card-color: var(--carolina-blue);
}

.get-start-card .icon-3 {
  --icon-card-bg: var(--honey-dew);
  --icon-card-color: var(--medium-sea-green);
}

.get-start-card .icon-4 {
  --icon-card-bg: var(--pale-purple-pantone);
  --icon-card-color: var(--slate-blue);
}

.get-start-card .card-title {
  color: var(--main-black);
  font-weight: 500;
  margin-bottom: 15px;
}

.get-start-card .card-text {
  color: var(--independence);
}

.get-start-card .card-link {
  position: relative;
  color: var(--main-blue);
  width: max-content;
  font-weight: 500;
}

.get-start-card .card-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-blue);
  transition: 0.5s ease;
}

.get-start-card .card-link:is(:hover, :focus)::before {
  width: 100%;
}

/* End */
/* Blog */
.featured-cars #carousel-custom, .featured-blogs #carousel-custom {
    display: flex;
    gap: 1rem;
    width: max-content;
}
.featured-blogs .horizontal {
    width: 100%;
    overflow-x: scroll;
    scrollbar-color: transparent transparent;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}
.featured-blogs .horizontal::-webkit-scrollbar {
    display: none;
}
.featured-blogs .card-blog {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-radius: 16px;
    transition: transform 0.2s;
    background: var(--main-white);
    padding: 10px;
    width: 350px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card:hover {
    transform: translateY(-5px);
}
.articles-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.category-blog {
    display: inline-block;
    background: var(--main-light-blue);
    color: var(--main-white);
    border: none;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    width: fit-content;
}
.article-title {
    margin-bottom: auto;
    font-size: 1.5rem;
    color: #333;
    line-height: 1.4;
}
.meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.section-title h4 {
    font-size: 2rem;
    font-weight: 600;
}
.card-blog-body {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.rounded-card img {
    border-radius: 0;
}
.rounded-card {
    border-radius: 10px;
    overflow: hidden;
}
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.Category {
    display: inline-block;
    padding: 4px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    color: #666;
}
.Category.active {
    background-color: #333;
    color: white;
}
.btn.btn-custom {
    padding: 0.4rem 1rem !important;
    background-color: var(--main-blue) !important;
    color: var(--main-white) !important;
}
.btn.btn-custom:active {
    background-color: var(--main-blue-dark) !important;
    color: var(--main-white) !important;
    transform: translateY(2px) !important;
}
article h2 {
    margin: 0 0 18px 0;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    color: var(--title-color);
    transition: color 0.3s ease-out;
}
figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.articles-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
}

/* End */

/* Media */
@media (min-width: 768px) {
  .get-start-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .get-start-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .blog .has-scrollbar {
    padding-bottom: 50px;
  }
}
