html {
            scroll-snap-type: y mandatory;
            scroll-padding-top: 56px;
            /* Account for fixed navbar */
            scroll-behavior: smooth;
        }

        section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

        body {
            padding-top: 56px;
            padding-bottom: 100px;
            /* Exact height of footer */
            font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            overflow-x: hidden;
        }        

        /* HERO */
        .hero {
            position: relative;
            color: white;
            overflow: hidden;
        }

        .hero-slide {
            min-height: 100%;
            background-size: cover;
            background-position: center;
        }

        .hero-slide::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
        }

        /* GENERAL UI */
        .btn-pill {
            border-radius: 50px;
            padding: 10px 30px;
            font-weight: 600;
            border: none;
            transition: transform 0.2s;
        }

        .btn-pill:hover {
            transform: scale(1.05);
        }

        .section-title-badge {
            padding: 15px 60px;
            border-radius: 50px;
            color: white;
            font-weight: 700;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 10;
            display: inline-block;
            transition:
                background-color 0.3s cubic-bezier(.4, 0, .2, 1),
                color 0.3s cubic-bezier(.4, 0, .2, 1),
                box-shadow 0.3s cubic-bezier(.4, 0, .2, 1),
                transform 0.3s cubic-bezier(.4, 0, .2, 1);
        }

        .section-title-badge:hover {
            background-color: #FF3B3B !important;
            color: #fff !important;
            box-shadow: 0 6px 12px rgba(84, 104, 255, 0.25);
            transform: scale(1.05);
        }

        .btn-hover {
            font-size: 1rem;
            padding: 15px 60px;
            border-radius: 50px;
            color: white;
            font-weight: 700;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 10;
            display: inline-block;
            transition:
                background-color 0.3s cubic-bezier(.4, 0, .2, 1),
                color 0.3s cubic-bezier(.4, 0, .2, 1),
                box-shadow 0.3s cubic-bezier(.4, 0, .2, 1),
                transform 0.3s cubic-bezier(.4, 0, .2, 1);
        }

        .btn-hover:hover {
            background-color: #FF3B3B !important;
            color: #fff !important;
            box-shadow: 0 6px 12px rgba(84, 104, 255, 0.25);
            transform: scale(1.05);
        }

        .bg-brand-blue {
            background-color: #5468ff;
        }

        .bg-brand-red {
            background-color: #FF3B3B;
        }

        /* Separator */
        .separator {
            position: relative;
            height: 140px;
            margin-bottom: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .separator::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transform: none;
            z-index: 0;
        }

        /* CARDS */
        .card-custom {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s;
        }

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

        .card-custom img {
            height: 200px;
            object-fit: cover;
        }

        /* BRAND OVERLAY CARD */
        .brand-card {
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            height: 300px;
            /* Slight increase */
        }

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

        .brand-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 25px;
        }

        /* ABOUT STATS */
        .stat-box {
            background: #5468ff;
            color: white;
            border-radius: 15px;
            padding: 15px;
            box-shadow: 0 4px 10px rgba(84, 104, 255, 0.3);
        }


        .border-about {
            border: 8px solid #FF3B3B !important;
            border-radius: 20px;
        }

        .carousel-item {
            transition: transform .6s ease-in-out;
            /* Standard boostrap transition */
        }

        .brand-logo-abs {
            object-fit: contain;
            width: auto;
            pointer-events: none;
            position: static;
        }

        .brand-logos-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 40px;
            /* Adjust spacing between logos */
            padding: 40px !important;
        }

        .brand-logo-wrapper {
            width: 180px;
            /* Fixed width for all logos */
            height: 100px;
            /* Fixed height for all logos */
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .brand-logo-wrapper:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .brand-logo {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            /* This ensures logos fit perfectly */
            pointer-events: none;
        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            .brand-logo-wrapper {
                width: 160px;
                height: 90px;
                padding: 15px;
            }

            .brand-logos-container {
                gap: 30px;
                padding: 30px !important;
            }
        }

        @media (max-width: 768px) {
            .brand-logo-wrapper {
                width: 140px;
                height: 80px;
                padding: 12px;
            }

            .brand-logos-container {
                gap: 20px;
                padding: 20px !important;
            }
        }

        @media (max-width: 576px) {
            .brand-logo-wrapper {
                width: 120px;
                height: 70px;
                padding: 10px;
            }

            .brand-logos-container {
                gap: 15px;
                padding: 15px !important;
            }
        }

        /* Remove number input spinners */
        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        input[type=number] {
            -moz-appearance: textfield;
        }

        /* Hide scrollbar but keep scrollable */
        .hide-scrollbar {
            scrollbar-width: none;
            /* Firefox */
            -ms-overflow-style: none;
            /* IE 10+ */
        }

        .hide-scrollbar::-webkit-scrollbar {
            display: none;
            /* Chrome, Safari, Opera */
        }

        @media (max-width: 576px) {
            .full-height:not(.hero) {
                min-height: unset !important;
                height: auto !important;
            }

            .hero.full-height {
                min-height: 100vh !important;
                height: 100vh !important;
            }
        }

        @media (max-width: 576px) {
            .brand-logos-container {
                flex-wrap: wrap !important;
                justify-content: flex-start !important;
                align-items: flex-start !important;
                gap: 8px !important;
                padding: 8px !important;
                position: static !important;
                width: 100% !important;
                top: unset !important;
            }

            .brand-logo-wrapper {
                width: 70px !important;
                height: 40px !important;
                padding: 2px !important;
                background: transparent !important;
                box-shadow: none !important;
                border: none !important;
            }

            .brand-logo {
                max-width: 65px !important;
                max-height: 35px !important;
                width: 100% !important;
                height: auto !important;
                object-fit: contain !important;
            }
        }

        @media (max-width: 576px) {
            .col-md-6.p-5.d-flex.flex-row.justify-content-center.align-items-center {
                flex-direction: column !important;
                align-items: flex-start !important;
            }

            .contact-img {
                margin-left: 0 !important;
                margin-top: 16px !important;
                width: 100% !important;
                max-width: 250px !important;
            }
        }

        @media (max-width: 576px) {
    body, html {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }
    .container, .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .container, .container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-sm, .col-md, .col-lg, .col-xl, .col-xxl {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    section, .full-height {
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    #tentang-kami .row.g-3 {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        justify-content: center !important; /* Center the cards */
    }
    #tentang-kami .col-4 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 0 !important;
        display: inline-flex !important;
    }
    #tentang-kami .stat-box {
        min-width: 90px !important;
        max-width: 100vw !important;
        width: auto !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        font-size: 0.95rem !important;
    }
}

@media (min-width: 577px) {
    #berita.full-height,
    #artikel.full-height {
        min-height: unset !important;
        height: auto !important;
    }
}

        @media (min-width: 992px) {
            #cabang .col-md-3 {
                flex: 0 0 20% !important;
                max-width: 20% !important;
                padding-left: 10px !important;
                padding-right: 10px !important;
            }

            #cabang .brand-card {
                position: relative !important;
                border-radius: 18px !important;
                overflow: hidden !important;
                width: 100% !important;
                height: 124px !important;
                /* Smaller card height */
                display: flex !important;
                flex-direction: column !important;
                background: #222 !important;
            }

            #cabang .brand-card .card-img {
                position: absolute !important;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100% !important;
                height: 100% !important;
                object-fit: cover !important;
                border-radius: 18px !important;
                z-index: 1;
            }

            #cabang .brand-overlay {
                position: absolute !important;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100% !important;
                background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 80%) !important;
                color: #fff !important;
                padding: 8px 10px 6px 10px !important;
                border-radius: 0 0 18px 18px !important;
                z-index: 2;
                display: flex !important;
                flex-direction: column !important;
                justify-content: flex-end !important;
            }

            #cabang .brand-overlay .fw-bold {
                font-size: 0.8rem !important;
            }

            #cabang .brand-overlay i {
                font-size: 1.2rem !important;
            }

            #cabang .brand-overlay small {
                font-size: 0.7rem !important;
            }
        }

        .card-animate {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card-animate:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 8px 24px rgba(84,104,255,0.15);
    z-index: 2;
}