body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", serif;
}

.container-list {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.height-section-two {
    height: 1000px;
}

@media (max-width: 768px) {
    .height-section-two {
        height: 500px;
    }
}

.overlay-list {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container-list:hover .overlay-list {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.content-list {
    position: absolute;
    bottom: 0%;
    left: 20px;
    color: white;
    text-align: left;
    width: 94%;
    z-index: 2;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.category-list {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.title-list {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.description-list {
    font-size: 14px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.container-list:hover .description-list {
    opacity: 1;
    transform: translateY(0);
}

.container-list:hover .content-list {
    bottom: 10%;
    transform: translateY(0);
}

.bg-cat-menu {
    background-color: black;
    color: #CA2626;
    text-transform: uppercase;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.bg-cat-menu:hover {
    background-color: #CA2626;
    color: white;
}

.bg-cat-menu:hover a {
    color: white;
}

.bg-cat-menu a {
    text-decoration: none;
    color: #CA2626;
    transition: all 0.3s ease-in-out;
}

.icon-otopintar {
    transition: filter 0.3s ease;
    width: 200px;
}



@media (max-width: 768px) {
    .icon-otopintar {
        transition: filter 0.3s ease;
        width: 100px;
    }
}

.icon-otopintar:hover {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(2) contrast(1);
}

.bg-cat-menu:hover .icon-otopintar {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(2) contrast(1);
}



.icon-review {
    transition: filter 0.3s ease;
    /* width: 200px; */
}



@media (max-width: 768px) {
    .icon-review {
        transition: filter 0.3s ease;
        /* width: 100px; */
    }
}

.icon-review:hover {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(2) contrast(1);
}

.bg-cat-menu:hover .icon-review {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(2) contrast(1);
}

#section_2 {
    padding: 50px 0;
    background-color: black;
}

#section_2 h3 {
    color: #CA2626;
    text-transform: uppercase;
    font-weight: bold;
}

#section_video {
    padding: 100px 0;
    background-color: black;
    border-bottom: 1px solid #eee;
}

#section_video h3 {
    color: #CA2626;
    text-transform: uppercase;
    font-weight: bold;
}

.text-aftermarket {
    color: #EC1C24;
}

.bg-aftermarket {
    background-color: #EC1C24;
    color: #fff;
}

.btn-danger {
    background-color: #EC1C24 !important;
    border-color: #EC1C24 !important;
    font-family: 'Poppins', sans-serif;
}

/* Underline animation */
footer {
    font-size: 12px;
}

.list-unstyled li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #EC1C24;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
    }
    
    .list-unstyled li:hover::after {
    transform: scaleX(1);
    color: #EC1C24!important;
    
    
    }
    
    .list-unstyled li:hover {
        transform: scaleX(1);
        color: #EC1C24!important;
    
    
    }
    
    
    .list-unstyled li a {
        text-decoration: none;
        
    }
    
    .list-unstyled li a:hover {
        color: #EC1C24;
    }
    
.thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
}

.thumbnail img {
    width: 100%;
    height: 200px;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumbnail .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    display: none;
}

.thumbnail:hover .overlay {
    display: block;
}

.thumbnail-info {
    padding: 10px;
}

.thumbnail-info h5 {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

.thumbnail-info p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.category-header {
    color: #CA2626;
    text-transform: uppercase;
    font-weight: bold;
    width: auto;
    height: 40vh;
    background-color: #000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#input_search {
    font-family: Poppins;
}

.bg-cat-review {
    background-color: black;
    color: #CA2626;
    text-transform: uppercase;
    /* height: 200px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    padding: 10px;
}

.bg-cat-review:hover {
    background-color: #CA2626 !important;
    color: white;
    border-radius: 10px;
}

.bg-cat-review:hover a {
    color: white;
}

.bg-cat-review a {
    text-decoration: none;
    color: #CA2626;
    transition: all 0.3s ease-in-out;
}

.icon-review {
    transition: filter 0.3s ease;
    height: 100px;
    margin:5px;
}

.icon-review:hover {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(2) contrast(1);
}

.bg-cat-review:hover .icon-review {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(2) contrast(1);
}

.breadcrumb-item a {
    color: #8F8D8D;
    text-decoration: none;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
    text-transform: capitalize;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '';
    margin: 0;
    padding: 0;
    border: 0;
}

@media (max-width: 767px) {
    .user-avatar {
        width: 100px !important;
        text-align: center;
    }
}

.spinner-border {
    width: 3rem;
    height: 3rem;
  }
  
  #loading {
    margin-top: 20px;
  }


  .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Rasio aspek 16:9 */
    height: 0;
    overflow: hidden;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.btn-danger:hover {
    background-color: white !important;
    border-color: #EC1C24 !important;
    font-family: 'Poppins', sans-serif;
    color:#EC1C24;
}

.btn-danger:active, 
.btn-danger:focus {
    background-color: white !important; /* Warna asli */
    border-color: #EC1C24 !important;    /* Border warna asli */
    color: #EC1C24 !important;            /* Warna teks tetap putih */
}

.font-size-12 {
    font-size: 12px;
}

.font-size-13 {
    font-size: 13px;
}

.font-size-14 {
    font-size: 13px;
}

/* Adding smooth slide down animation */
.modal.fade .modal-dialog {
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    transform: translateY(-100%);  /* Start the modal above the screen */
    opacity: 0;  /* Initially, make it transparent */
}

.modal.show .modal-dialog {
    transform: translateY(0);  /* Move to its normal position */
    opacity: 1;  /* Fade it in smoothly */
}
.modal-content {
    border-radius: 15px; /* Custom radius for the entire modal */
}

.modal-body {
    border-radius: 14px; /* Custom radius for the entire modal */
}