/* ==========================================================================
   BANTER - Official Stylesheet
   Brand: Banter (Bantuan Apapun Tercepat)
   Colors: Primary #166795 (Deep Blue), Secondary #F59E0B (Amber Gold)
   ========================================================================== */

:root {
    --bs-primary: #166795;
    --bs-secondary: #f59e0b;
    --banter-primary: #166795;
    --banter-primary-dark: #0f4c75;
    --banter-secondary: #f59e0b;
    --banter-secondary-dark: #d97706;
}

body {
    font-family: 'Inter', sans-serif;
    color: #555555;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
/*** Button End ***/

/*** Topbar Start ***/
.topbar .top-info {
    letter-spacing: 0.5px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
    white-space: nowrap;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 12s infinite linear;
}

@keyframes mymove {
    from { left: 100%; }
    to { left: -100%; }
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav {
    padding: 6px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: .3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

@media (min-width: 992px) {
    .navbar .navbar-collapse {
        display: flex !important;
        justify-content: center;
        flex-grow: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}
/*** Navbar End ***/

/*** Carousel Start ***/
.carousel-item {
    position: relative;
    min-height: 520px;
}

.carousel-item img {
    min-height: 520px;
    object-fit: cover;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.85) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 750px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
    border: none;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
    border: none;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: #ffffff;
    opacity: 1;
    border: 0;
    border-radius: 30px;
    font-weight: 700;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: .5s;
    border-radius: 30px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-weight: 700;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: #ffffff;
    border-color: var(--bs-secondary);
    opacity: 1;
    transition: .5s;
    border-radius: 30px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover,
#carouselId .carousel-indicators li.active {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 480px;
    }
    
    .carousel-item img {
        min-height: 480px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 36px !important;
    }

    .carousel-item p {
        font-size: 15px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 420px;
    }
    
    .carousel-item img {
        min-height: 420px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 26px !important;
    }

    .carousel-item p {
        font-size: 13px !important;
    }
}
/*** Carousel End ***/

/*** Services Start ***/
.services .services-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 15px 0;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(22, 103, 149, 0.9);
    transition: .5s;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon h4,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
    transform: scale(1.08);
}

.services-item:hover .services-content-icon h4 {
    color: #ffffff;
}

.services-item:hover .services-content-icon p {
    color: rgba(255, 255, 255, 0.9);
}
/*** Services End ***/

/*** Project & Features Start ***/
.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 120px;
    height: 120px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 18px 24px;
    background: var(--bs-primary);
    border-radius: 10px;
    text-decoration: none;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}
/*** Project End ***/

/*** Team Start ***/
.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial-item {
    background: #f8fafc;
    border-radius: 10px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 14px;
    height: 14px;
    background: #cbd5e1;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 32px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 35px rgba(22, 103, 149, 0.15);
    border-color: var(--bs-primary) !important;
}
/*** Testimonial End ***/

/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--banter-primary) 0%, var(--banter-primary-dark) 100%);
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: var(--bs-primary);
}

.contact-form {
    background: var(--bs-primary);
}
/*** Contact End ***/

/*** Footer Start ***/
.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
    color: var(--bs-secondary) !important;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}
/*** Footer End ***/

/* ==========================================================================
   BANTER APP ENHANCEMENTS (Clean & Template-Consistent)
   ========================================================================== */

/* Merchant Catalog Cards */
.merchant-catalog-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all .3s ease;
}

.merchant-catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(22, 103, 149, 0.12);
    border-color: var(--bs-primary);
}

.merchant-header-banner {
    background: linear-gradient(135deg, rgba(22, 103, 149, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.badge-merchant-cat {
    font-size: 12px;
    font-weight: 600;
    color: var(--bs-primary);
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(22, 103, 149, 0.2);
}

.badge-merchant-status {
    font-size: 11px;
    font-weight: 600;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.badge-merchant-status.closed {
    color: #64748B;
    background: rgba(100, 116, 139, 0.12);
}

.hover-primary {
    transition: color .2s ease;
}

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

.link-all-merchants {
    color: var(--bs-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
    padding: 6px 12px;
    border-radius: 20px;
}

.link-all-merchants:hover {
    color: var(--banter-primary-dark);
    text-decoration: underline;
    background: rgba(22, 103, 149, 0.05);
}

.link-all-merchants i {
    transition: transform .2s ease;
}

.link-all-merchants:hover i {
    transform: translateX(4px);
}

.merchant-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(22, 103, 149, 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.rating-badge {
    background: #FEF3C7;
    color: #B45309;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

.time-badge {
    color: #64748B;
    font-size: 12px;
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 90px;
    z-index: 998;
    background: var(--bs-secondary);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    border: 2px solid #ffffff;
    transition: all .3s ease;
    cursor: pointer;
}

.floating-cart-btn:hover {
    background: var(--banter-secondary-dark);
    color: #ffffff;
    transform: scale(1.05);
}

.floating-cart-btn .badge-count {
    background: #ffffff;
    color: var(--banter-secondary-dark);
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 800;
}

.cart-count-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: 4px;
}

.cart-item-row {
    transition: .2s;
}

.cart-item-row:hover {
    border-color: var(--bs-primary) !important;
}

.product-item-card {
    background: #ffffff;
    transition: .2s;
}

.product-item-card:hover {
    border-color: var(--bs-primary) !important;
    background: #F8FAFC;
}

.counter::after {
    content: "+";
}

div.counter::after {
    content: none;
}
