body {
    padding-top: 50px;
    background-color: #f8f9fa;
}

.header-section {
    background-color: #e9ecef;
    padding: 40px 0;
}
.header-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
}
.header-section p {
    font-size: 1.25rem;
}
.search-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.offcanvas-half {
    width: 50% !important;
}

.fw-medium {
    font-weight: 500; 
}
.services-section {
    background-color: #DEF1DF;
    padding: 60px 0;
}
.why-us-section, .cta-section {
    padding: 60px 0;
}
.testimonials-section {
    padding: 60px 0;
    background-color: #ffffff;
}
.faq-section {
    padding: 60px 0;
}
.placeholder {
    background-color: #ddd;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
}
.footer {
    background-color: white;
    color: black;
    padding: 30px 0;
}
.footer a {
    color: black;
    text-decoration: none;

}

.testimonial-footer {
    display: flex;
    align-items: center; 
    gap: 15px; 
}

.testimonial-img {
    border-radius: 50%; 
    width: 80px; 
    height: 80px; 
    object-fit: cover; 
}

@media (max-width: 767.98px) {
    .testimonials-section .carousel-item .row {
        flex-direction: column;
        align-items: center;
    }

    .testimonials-section .carousel-item .col-md-4,
    .testimonials-section .carousel-item .col-md-8 {
        width: 100%;
        text-align: center;
    }

    .testimonials-section .testimonial-img {
        width: 100px;
        height: 100px;
    }
}


.testimonial-footer p {
    margin: 0; 
}

.footer a:hover {
    color: #0D28A6; 
}

.why-us-section .card {
    border: none;
    padding: 20px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.why-us-section .icon {
    width: 32px;
    height: 32px;
    margin-bottom: 15px;
}

.why-us-section .card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.why-us-section .card-text {
    font-size: 14px;
    color: #6c757d;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #28a745; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px 20px;
    background-color: transparent;
}

.carousel-indicators button {
    background-color: #28a745; 
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-indicators .active {
    background-color: #28a745; 
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #28a745; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 20px 20px;
    background-color: transparent;
}

/* Kontrol carousel berada di bawah dan di tengah */
/* Memastikan tombol carousel berada di bawah card */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px; /* Jarak antar tombol */
    margin-top: 20px; /* Jarak antara tombol carousel dan card */
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #28a745; /* Warna hijau untuk tombol */
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Membuat tombol bulat */
    display: flex;
    align-items: center;
    justify-content: center;
    position: static; /* Pastikan tombol tetap di posisi bawah */
    margin: 0 5px; /* Tambahkan margin untuk menjaga jarak antar tombol */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 15px; /* Sesuaikan ukuran ikon */
    height: 15px;
    filter: invert(1); /* Ubah warna ikon agar terlihat jelas */
}

.search-section-container {
    position: relative;
    z-index: 1000;
    margin-top: -100px; /* Adjust this value to control how much the section overlaps */
}

/* Adjust the margin of the section below the search to prevent content overlap */
#cars-container {
    margin-top: 70px; /* Adjust this value as needed */
}

.input-group-text {
    background-color: #ffffff; /* Warna latar belakang yang lebih terang */
    border-left: none; /* Menghilangkan border kanan pada ikon */
}

.input-group .form-control {
    border-right: none; /* Menghilangkan border kiri pada input */
}

.input-group .form-control:focus {
    box-shadow: none; /* Menghilangkan bayangan saat focus */
    border-color: #ced4da; /* Warna border default Bootstrap */
}

.input-group .form-control:focus + .input-group-text {
    border-color: #ced4da; /* Menyamakan warna border ikon saat input di-focus */
}

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
