:root {
    --primary-color: #ff6633;
    --footer-bg: #336699;
    --bg-color: #ffffff;
    --text-color: #333333;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 40px; /* Adjust as needed */
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #e65c00;
    border-color: #e65c00;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Hero Slider */
.hero-slider .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Hide controls by default */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show controls on hover */
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

@media (min-width: 992px) {
    .hero-slider .carousel-item img {
        height: 500px;
    }
}

/* Mobile: tampilkan gambar utuh tanpa terpotong */
@media (max-width: 991.98px) {
    .hero-slider .carousel-item img {
        height: auto;
        object-fit: contain;
        max-height: none;
    }
}

/* Category Section */
.category-section {
    padding: 30px 0;
}

/* Mobile Horizontal Scroll for Category */
@media (max-width: 991.98px) {
    .category-section .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .category-section .row::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Webkit */
    }

    .category-section .col {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.category-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Section Common */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.see-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Cards */
.card-custom {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-custom img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-body-custom {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    flex-grow: 1;
}

.card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Steps Section */
.steps-section {
    background-color: #f0f4f8;
    padding: 60px 0;
}

.step-item {
    text-align: center;
    padding: 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.step-title {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 50px 0 20px;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

/* Swiper Navigation Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background-color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 100; /* Ensure buttons are on top */
    opacity: 1; /* Ensure visibility */
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next.swiper-button-disabled, 
.swiper-button-prev.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f0f0f0;
}

.swiper-button-next:hover:not(.swiper-button-disabled), 
.swiper-button-prev:hover:not(.swiper-button-disabled) {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 12px rgba(255, 102, 51, 0.3);
}

/* Swiper Pagination Fix */
.swiper {
    padding-bottom: 50px !important; /* Add space for pagination */
}

.swiper-pagination {
    bottom: 0 !important; /* Force pagination to bottom of container */
}

/* New Sections Backgrounds */
.bg-mobil {
    background-color: #fff5f0;
}

.bg-motor {
    background-color: #f0f7ff;
}

.bg-berita {
    background-color: #f9f9f9;
}

/* Share Section */
.share-section {
    background-color: #fff;
    border-top: 1px solid #eee;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

.btn-facebook {
    background-color: #1877F2;
    color: white;
    border: none;
}
.btn-facebook:hover {
    background-color: #166fe5;
    color: white;
}

.btn-copy {
    background-color: #6c757d;
    color: white;
    border: none;
}
.btn-copy:hover {
    background-color: #5a6268;
    color: white;
}

/* Pagination Customization */
.pagination {
    gap: 8px; /* Jarak antar item */
}

.page-item .page-link {
    border: none;
    border-radius: 12px !important; /* Sudut lebih membulat */
    color: #666;
    font-weight: 600;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 15px rgba(255, 102, 51, 0.3);
    transform: translateY(-2px);
}

.page-item:not(.disabled) .page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 102, 51, 0.25);
}

.page-item.disabled .page-link {
    background-color: #f1f3f5;
    color: #adb5bd;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.8;
}

.page-link:focus {
    box-shadow: none;
}
.btn-via-wa:hover {
  color: #fff;
  background-color: #00d965ff;
  border-color: #00cc1fff;
}
.btn-via-wa {
  border-radius: 20px;
  color: #fff;
  background-color: #00d965ff;
  border: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  padding: .5rem 2rem;
}

.btn-via-email:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
}
.btn-via-email {
  border-radius: 20px;
  color: #fff;
  background-color: #003399;
  border: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  padding: .5rem 2rem;
}

.fl-button-outline:hover {
  background-color: #f60;
  color: #fff !important;
}
.fl-button-outline {
  display: block;
  flex-shrink: 0;
  height: 36px;
  padding: 0 24px;
  outline: none;
  border-radius: 9999px;
  background-color: transparent;
  border: 2px solid #f60;
    border-top-color: rgb(255, 102, 0);
    border-right-color: rgb(255, 102, 0);
    border-bottom-color: rgb(255, 102, 0);
    border-left-color: rgb(255, 102, 0);
  color: #f60 !important;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 32px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fl-button {
  display: block;
  flex-shrink: 0;
  height: 36px;
  padding: 0 24px;
  outline: none;
  border: none;
  border-radius: 9999px;
  background-color: #f60;
  color: #fff !important;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 36px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fl-button:hover {
  background-color: #d04a0a;
}
 