/* SBB Services Carousel Styles */

/* ========================================
   CUSTOM FONTS - INSTRUKSI PENGGUNAAN
   ======================================== */

/* 
   CARA 1: Menggunakan Font File Lokal
   -------------------------------------
   1. Copy file font Anda ke folder: assets/fonts/
   2. Uncomment dan edit @font-face di bawah sesuai nama file font Anda
   3. Uncomment bagian :root di bawah dan sesuaikan font-family
*/

/* SIGText Font Family - Font untuk body text */
/* WordPress menggunakan WOFF2 (prioritas) dan WOFF (fallback) */
@font-face {
    font-family: 'SIGText';
    src: url('../fonts/SIG-Text/WOFF2/SIGText-Regular.woff2') format('woff2'),
         url('../fonts/SIG-Text/WOFF/SIGText-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGText';
    src: url('../fonts/SIG-Text/WOFF2/SIGText-Italic.woff2') format('woff2'),
         url('../fonts/SIG-Text/WOFF/SIGText-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SIGText';
    src: url('../fonts/SIG-Text/WOFF2/SIGText-Light.woff2') format('woff2'),
         url('../fonts/SIG-Text/WOFF/SIGText-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGText';
    src: url('../fonts/SIG-Text/WOFF2/SIGText-Medium.woff2') format('woff2'),
         url('../fonts/SIG-Text/WOFF/SIGText-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGText';
    src: url('../fonts/SIG-Text/WOFF2/SIGText-Bold.woff2') format('woff2'),
         url('../fonts/SIG-Text/WOFF/SIGText-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGText';
    src: url('../fonts/SIG-Text/WOFF2/SIGText-ExtraBold.woff2') format('woff2'),
         url('../fonts/SIG-Text/WOFF/SIGText-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* SIGHeadline Font Family - Font untuk heading/title */
/* WordPress menggunakan WOFF2 (prioritas) dan WOFF (fallback) */
@font-face {
    font-family: 'SIGHeadline';
    src: url('../fonts/SIG-Headline/WOFF2/SIGHeadline-Regular.woff2') format('woff2'),
         url('../fonts/SIG-Headline/WOFF/SIGHeadline-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGHeadline';
    src: url('../fonts/SIG-Headline/WOFF2/SIGHeadline-Medium.woff2') format('woff2'),
         url('../fonts/SIG-Headline/WOFF/SIGHeadline-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGHeadline';
    src: url('../fonts/SIG-Headline/WOFF2/SIGHeadline-SemiBold.woff2') format('woff2'),
         url('../fonts/SIG-Headline/WOFF/SIGHeadline-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGHeadline';
    src: url('../fonts/SIG-Headline/WOFF2/SIGHeadline-Bold.woff2') format('woff2'),
         url('../fonts/SIG-Headline/WOFF/SIGHeadline-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SIGHeadline';
    src: url('../fonts/SIG-Headline/WOFF2/SIGHeadline-ExtraBold.woff2') format('woff2'),
         url('../fonts/SIG-Headline/WOFF/SIGHeadline-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* 
   CARA 2: Menggunakan Google Fonts
   ----------------------------------
   1. Buka file: sbb-services-carousel.php
   2. Di fungsi enqueue_scripts(), uncomment baris wp_enqueue_style untuk Google Fonts
   3. Ganti URL dengan font Google Fonts yang Anda inginkan
   4. Uncomment bagian :root di bawah dan sesuaikan font-family dengan nama font dari Google
   
   Contoh URL Google Fonts:
   https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap
   https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap
*/

/* 
   CARA 3: Menggunakan Font dari WordPress Theme
   -----------------------------------------------
   Jika theme Anda sudah memiliki custom font CSS variables,
   gunakan var(--theme-font-family) di bagian :root
*/

/* Cara 2: Jika menggunakan Google Fonts, tambahkan di PHP enqueue_scripts() */
/* Atau gunakan font dari WordPress theme */
/* Contoh: font-family: var(--theme-font-family, 'CustomFont', sans-serif); */

/* Font Variables - Menggunakan SIGText dan SIGHeadline (tanpa fallback) */
:root {
    --sbb-carousel-font-family: 'SIGText';
    --sbb-carousel-title-font: 'SIGHeadline';
    --sbb-carousel-body-font: 'SIGText';
}

/* Jika ingin menggunakan font lain, edit baris di atas atau gunakan contoh di bawah: */
/*
:root {
    --sbb-carousel-font-family: 'NamaFontAnda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sbb-carousel-title-font: 'NamaFontAnda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sbb-carousel-body-font: 'NamaFontAnda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
*/

/* Contoh jika menggunakan font dari theme WordPress: */
/*
:root {
    --sbb-carousel-font-family: var(--theme-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    --sbb-carousel-title-font: var(--theme-heading-font, var(--theme-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif));
    --sbb-carousel-body-font: var(--theme-body-font, var(--theme-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif));
}
*/

.sbb-services-carousel-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    z-index: auto;
    isolation: isolate;
    font-family: 'SIGText' !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sbb-services-carousel-section::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    bottom: 40px;
    background: #f5f5f5 url('../images/background-solusi-dan-layanan.png') repeat;
    background-size: auto;
    z-index: 0;
    pointer-events: none;
}

/* Force font untuk semua elemen di dalam section */
.sbb-services-carousel-section * {
    font-family: inherit !important;
}

.sbb-carousel-header {
    max-width: 1440px;
    margin: 0 auto 60px;
    padding: 0 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sbb-carousel-subtitle {
    display: block;
    font-family: 'SIGText' !important;
    font-size: 14px;
    font-weight: 600;
    color: #777654;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.sbb-carousel-title {
    font-family: 'SIGHeadline' !important;
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 0;
}

.sbb-carousel-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 60px;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.sbb-carousel-wrapper {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    /* PERBAIKAN 1: Padding samping dikurangi drastis agar ruang luas */
    padding: 50px 0 40px 0;
    position: relative;
    align-items: center; /* Center cards vertically untuk alignment yang lebih baik */
    /* PERBAIKAN 2: Gunakan center agar simetris saat item sedikit/banyak */
    justify-content: center;
    perspective: 1200px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    scroll-padding: 0;
    min-height: 520px;
    align-content: center;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    transform: translateZ(0); /* Force hardware acceleration */
    will-change: scroll-position;
    /* Pastikan konten terpusat dengan benar */
    box-sizing: border-box;
    /* Pastikan kartu tidak saling tumpang tindih berlebihan */
    isolation: isolate;
    width: 100%;
    max-width: 100%;
    order: 1; /* Wrapper di atas dots */
    /* Pastikan spacing konsisten */
    letter-spacing: 0;
    word-spacing: 0;
}

/* Nonaktifkan scroll-snap saat navigasi arrow/dot agar posisi presisi */
.sbb-carousel-wrapper.sbb-carousel-navigating {
    scroll-snap-type: none;
}

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

.sbb-carousel-card::after {
    display: none;
}

/* Active card - di tengah, layer paling atas, lebih menonjol dan terang */
@media (min-width: 769px) {
    .sbb-carousel-card.active {
        transform: scale(1.0) translateX(0) translateZ(0) !important;
        transform-origin: center center;
        opacity: 1 !important;
        z-index: 15 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0;
        position: relative;
        scroll-snap-align: center;
        scroll-margin: 0;
        filter: brightness(1.2) contrast(1.15) saturate(1.1);
        align-self: center;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        border: none;
        border-radius: 0;
        background: transparent;
    }
    
    /* Pastikan jarak visual sama antara kiri dan kanan */
    /* Kartu aktif sebagai center point, semua kartu lain menggunakan margin-left: -80px yang sama */
    .sbb-carousel-card.active + .sbb-carousel-card.prev-1,
    .sbb-carousel-card.active + .sbb-carousel-card.next-1 {
        /* Tidak perlu, sudah di-handle oleh rule umum */
    }
}

@media (min-width: 769px) {
    .sbb-carousel-card.active .sbb-card-content {
        background: transparent !important;
    }

    .sbb-carousel-card.active .sbb-card-title {
        font-family: 'SIGText' !important;
        font-weight: 700;
        font-size: 24px !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
        color: #ffffff !important;
        opacity: 1 !important;
    }
    
    /* Gambar kartu aktif lebih terang */
    .sbb-carousel-card.active .sbb-card-image {
        filter: brightness(1.1);
    }
    
    /* Gambar kartu non-aktif lebih redup */
    .sbb-carousel-card:not(.active) .sbb-card-image {
        filter: brightness(0.7);
    }
    
    /* POSISI TENGAH (ACTIVE) */
    .sbb-carousel-card.active {
        transform: scale(1.1) translateZ(50px) !important;
        opacity: 1 !important;
        z-index: 10 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
        margin: 0 !important;
    }

    /* KIRI 1 (Prev-1) */
    .sbb-carousel-card.prev-1 {
        transform: scale(0.9) translateX(30%) translateZ(-20px) !important; /* Geser mendekat ke tengah */
        opacity: 0.8 !important;
        z-index: 5 !important;
        margin: 0 !important;
        filter: brightness(0.7) contrast(0.95) blur(0.5px);
    }

    /* KANAN 1 (Next-1) */
    .sbb-carousel-card.next-1 {
        transform: scale(0.9) translateX(-30%) translateZ(-20px) !important; /* Geser mendekat ke tengah */
        opacity: 0.8 !important;
        z-index: 5 !important;
        margin: 0 !important;
        filter: brightness(0.7) contrast(0.95) blur(0.5px);
    }

    /* KIRI 2 (Prev-2) */
    .sbb-carousel-card.prev-2 {
        transform: scale(0.8) translateX(60%) translateZ(-40px) !important;
        opacity: 0.5 !important;
        z-index: 2 !important;
        margin: 0 !important;
        filter: brightness(0.6) contrast(0.9) blur(1px);
    }

    /* KANAN 2 (Next-2) */
    .sbb-carousel-card.next-2 {
        transform: scale(0.8) translateX(-60%) translateZ(-40px) !important;
        opacity: 0.5 !important;
        z-index: 2 !important;
        margin: 0 !important;
        filter: brightness(0.6) contrast(0.9) blur(1px);
    }

    .sbb-carousel-card.prev-3 {
        transform: scale(0.7) translateX(-60px) translateZ(-60px);
        transform-origin: center bottom;
        opacity: 0.3;
        z-index: 2;
        box-shadow: none !important;
        margin: 0 !important;
        margin-left: -80px !important;
        padding: 0;
        align-self: flex-end;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        filter: brightness(0.6) blur(1.5px);
    }

    .sbb-carousel-card.next-3 {
        transform: scale(0.7) translateX(60px) translateZ(-60px);
        transform-origin: center bottom;
        opacity: 0.3;
        z-index: 2;
        box-shadow: none !important;
        margin: 0 !important;
        margin-left: -80px !important;
        padding: 0;
        align-self: flex-end;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        filter: brightness(0.6) blur(1.5px);
    }
}

/* Desktop - Card base */
@media (min-width: 769px) {
    .sbb-carousel-card {
        /* Perbesar lagi: dari 24% menjadi 26% */
        flex: 0 0 26%;
        width: 26%;
        max-width: 26%;
        /* Opsional: Batasi jangan sampai kekecilan atau kebesaran */
        min-width: 300px;
        /* Buat persegi: aspect ratio 1:1 */
        aspect-ratio: 1 / 1;
        height: auto;
        background: transparent;
        border-radius: 0;
        overflow: visible; /* Ubah ke visible agar efek scale tidak terpotong */
        box-shadow: none !important;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        transform: scale(0.8); /* Default scale agak kecil */
        transform-origin: center center;
        opacity: 0.5;
        z-index: 1;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        transform-style: preserve-3d;
        flex-shrink: 0;
        align-self: center;
        backface-visibility: hidden;
        pointer-events: auto;
        scroll-snap-align: center; /* KUNCI SIMETRIS */
        vertical-align: top;
        visibility: visible;
        /* Pastikan tidak ada spacing tambahan */
        border: 0;
        outline: 0;
    }
    
    /* Override untuk 5 kartu yang terlihat - HARUS lebih spesifik */
    .sbb-carousel-card.active,
    .sbb-carousel-card.prev-1,
    .sbb-carousel-card.prev-2,
    .sbb-carousel-card.next-1,
    .sbb-carousel-card.next-2 {
        opacity: inherit !important; /* Akan di-override oleh rule lebih spesifik di bawah */
        visibility: visible !important;
        display: flex !important;
    }
}

/* Show cards that are within visible range (active + 2 prev + 2 next = 5 cards) - FORCE VISIBLE */
.sbb-carousel-card.active,
.sbb-carousel-card.prev-1,
.sbb-carousel-card.prev-2,
.sbb-carousel-card.next-1,
.sbb-carousel-card.next-2 {
    pointer-events: auto !important;
    visibility: visible !important;
    display: flex !important;
    opacity: inherit !important; /* Will be overridden by more specific rules */
}

/* Pastikan 5 kartu yang terlihat memiliki opacity yang tepat dan TERLIHAT */
@media (min-width: 769px) {
    /* Kartu aktif - opacity penuh, HARUS TERLIHAT - SPECIFICITY TINGGI */
    .sbb-carousel-wrapper .sbb-carousel-card.active {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        pointer-events: auto !important;
    }
    
    /* Kartu prev-1 dan next-1 - opacity 0.75, HARUS TERLIHAT - SPECIFICITY TINGGI */
    .sbb-carousel-wrapper .sbb-carousel-card.prev-1,
    .sbb-carousel-wrapper .sbb-carousel-card.next-1 {
        opacity: 0.75 !important;
        visibility: visible !important;
        display: flex !important;
        pointer-events: auto !important;
    }
    
    /* Kartu prev-2 dan next-2 - opacity 0.6, HARUS TERLIHAT - SPECIFICITY TINGGI */
    .sbb-carousel-wrapper .sbb-carousel-card.prev-2,
    .sbb-carousel-wrapper .sbb-carousel-card.next-2 {
        opacity: 0.65 !important; /* Sedikit lebih terang agar lebih jelas terlihat */
        visibility: visible !important;
        display: flex !important;
        pointer-events: auto !important;
    }
    
    /* Sembunyikan semua kartu kecuali 5 kartu yang terlihat (2 kiri, 1 tengah, 2 kanan) */
    /* Gunakan selector yang lebih spesifik untuk memastikan tidak ada konflik */
    /* IMPORTANT: Rule ini HARUS setelah rule untuk 5 kartu yang terlihat */
    .sbb-carousel-wrapper .sbb-carousel-card:not(.active):not(.prev-1):not(.prev-2):not(.next-1):not(.next-2) {
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
        display: none !important;
    }
    
    /* Pastikan prev-3 dan next-3 juga disembunyikan */
    .sbb-carousel-wrapper .sbb-carousel-card.prev-3,
    .sbb-carousel-wrapper .sbb-carousel-card.next-3 {
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
        display: none !important;
    }
    
    /* DOUBLE CHECK: Pastikan 5 kartu yang terlihat TIDAK disembunyikan */
    /* Rule ini HARUS di akhir untuk override rule hide di atas */
    .sbb-carousel-wrapper .sbb-carousel-card.active,
    .sbb-carousel-wrapper .sbb-carousel-card.prev-1,
    .sbb-carousel-wrapper .sbb-carousel-card.prev-2,
    .sbb-carousel-wrapper .sbb-carousel-card.next-1,
    .sbb-carousel-wrapper .sbb-carousel-card.next-2 {
        visibility: visible !important;
        display: flex !important;
        pointer-events: auto !important;
        opacity: inherit !important; /* Akan di-override oleh rule spesifik di atas */
    }
    
    /* TRIPLE CHECK: Pastikan prev-2 dan next-2 benar-benar terlihat dengan opacity yang tepat */
    .sbb-carousel-wrapper .sbb-carousel-card.prev-2 {
        opacity: 0.65 !important;
        visibility: visible !important;
        display: flex !important;
        pointer-events: auto !important;
        z-index: 4 !important;
    }
    
    .sbb-carousel-wrapper .sbb-carousel-card.next-2 {
        opacity: 0.65 !important;
        visibility: visible !important;
        display: flex !important;
        pointer-events: auto !important;
        z-index: 4 !important;
    }
}

/* Overlap cards - menggunakan transform translateX dengan persentase untuk simetri */
/* Pendekatan baru: tidak menggunakan margin negatif, hanya transform */
@media (min-width: 769px) {
    /* Semua kartu menggunakan margin 0, overlap dihandle oleh transform translateX */
    .sbb-carousel-card {
        margin: 0 !important;
    }
    
    /* Kartu aktif di tengah tanpa transform tambahan (sudah dihandle di atas) */
    .sbb-carousel-card.active {
        margin: 0 !important;
    }
    
    /* Kartu prev dan next sudah dihandle dengan transform translateX persentase di atas */
    /* Tidak perlu margin overlap lagi */
}

.sbb-card-image {
    width: 100%;
    /* Buat persegi: height sama dengan width menggunakan aspect-ratio */
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-radius: 0;
    background: #f5f5f5;
    display: block;
}

.sbb-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.sbb-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
    border-radius: 0;
    vertical-align: top;
}

.sbb-carousel-card:hover .sbb-card-image img {
    transform: scale(1.05);
}

/* Overlay menutupi seluruh gambar (bukan strip warna) */
.sbb-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 100%);
}

.sbb-card-content {
    position: relative;
    z-index: 3;
    background: transparent;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    pointer-events: auto;
    box-sizing: border-box;
}

/* Kartu non-aktif: overlay sedikit lebih gelap, judul sedikit redup */
@media (min-width: 769px) {
    .sbb-carousel-card:not(.active) .sbb-card-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 100%);
    }
    
    .sbb-carousel-card:not(.active) .sbb-card-title {
        opacity: 0.9;
    }
    
    .sbb-carousel-card.prev-1 .sbb-card-title,
    .sbb-carousel-card.next-1 .sbb-card-title {
        opacity: 0.85;
    }
    
    .sbb-carousel-card.prev-2 .sbb-card-title,
    .sbb-carousel-card.next-2 .sbb-card-title {
        opacity: 0.75;
    }
}

.sbb-card-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sbb-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.sbb-card-title {
    font-family: 'SIGText' !important;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    flex: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sbb-card-link-wrapper {
    background: #ffffff;
    padding: 12px 20px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    border-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: background-color 0.3s ease;
    pointer-events: auto;
    min-height: 56px;
    box-sizing: border-box;
    width: 100%;
}

.sbb-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(119, 118, 84, 0.9);
    text-decoration: none;
    font-family: 'SIGText' !important;
    font-size: 14px;
    font-weight: 500;
    transition: gap 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 2;
}

.sbb-card-link:hover {
    gap: 12px;
    color: rgba(119, 118, 84, 1);
}

.sbb-card-arrow {
    font-size: 18px;
    color: rgba(119, 118, 84, 0.9);
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 2;
    font-weight: bold;
}

.sbb-card-link:hover .sbb-card-arrow {
    color: rgba(119, 118, 84, 1);
}

.sbb-card-link:hover .sbb-card-arrow {
    transform: translateX(4px);
}

.sbb-card-link-wrapper:hover {
    background-color: #f5f5f5;
}

/* Navigation Arrows */
.sbb-carousel-prev,
.sbb-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(119, 118, 84, 0.95);
    border: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    line-height: 1;
    order: 0; /* Arrows tetap absolute, tidak terpengaruh flex order */
}

.sbb-carousel-prev:hover,
.sbb-carousel-next:hover {
    background: rgba(119, 118, 84, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sbb-carousel-prev {
    left: 20px;
}

.sbb-carousel-next {
    right: 20px;
}

/* Dots */
.sbb-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 0;
    padding: 0;
    z-index: 20;
    position: relative;
    order: 2; /* Dots di bawah wrapper */
    width: 100%;
}

.sbb-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(119, 118, 84, 0.3);
    border: 2px solid rgba(119, 118, 84, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.sbb-carousel-dot.active {
    background: #777654;
    border-color: #777654;
    width: 32px;
    border-radius: 6px;
}

.sbb-carousel-dot:hover {
    background: rgba(119, 118, 84, 0.6);
    border-color: rgba(119, 118, 84, 0.8);
    transform: scale(1.2);
}

/* Responsive - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .sbb-services-carousel-section {
        padding: 60px 0;
    }
    
    .sbb-services-carousel-section::before {
        top: 30px;
        left: 40px;
        right: 40px;
        bottom: 30px;
    }
    
    .sbb-carousel-header {
        margin-bottom: 50px;
        padding: 0 40px;
    }
    
    .sbb-carousel-title {
        font-family: 'SIGHeadline' !important;
        font-size: 36px;
    }
    
    .sbb-carousel-container {
        padding: 0 40px;
    }
    
    .sbb-carousel-card {
        min-width: 320px;
        max-width: 320px;
    }
    
    .sbb-carousel-prev,
    .sbb-carousel-next {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* ========================================
   MOBILE SLIDER - SEPARATE DESIGN
   ======================================== */
@media (max-width: 768px) {
    /* Hide desktop carousel completely */
    .sbb-services-carousel-section {
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        background: #ffffff;
    }
    
    .sbb-services-carousel-section::before {
        display: none;
    }
    
    /* Header: Mobile style */
    .sbb-carousel-header {
        margin-bottom: 20px;
        padding: 20px 20px 0;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }
    
    .sbb-carousel-subtitle {
        font-family: 'SIGText' !important;
        font-size: 10px;
        font-weight: 600;
        color: #777654;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 8px;
        display: block;
    }
    
    .sbb-carousel-title {
        font-family: 'SIGHeadline' !important;
        font-size: 22px;
        font-weight: 700;
        color: #000000;
        line-height: 1.3;
        margin: 0;
    }
    
    /* Container: Mobile slider container */
    .sbb-carousel-container {
        padding: 0;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
        box-sizing: border-box;
        position: relative;
    }
    
    /* Wrapper: Simple horizontal scroll dengan center alignment */
    .sbb-carousel-wrapper {
        padding: 0;
        min-height: auto;
        scroll-padding-left: 20px;
        scroll-padding-right: 20px;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
    }
    
    .sbb-carousel-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    /* Card: Mobile slider card - simple & clean, centered */
    .sbb-carousel-card {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        width: calc(100vw - 40px);
        flex-shrink: 0;
        scroll-snap-align: center;
        scroll-margin-left: 20px;
        scroll-margin-right: 20px;
        margin: 0 20px !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        z-index: 1 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
        padding: 0;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .sbb-carousel-card:first-child {
        margin-left: 20px !important;
        scroll-margin-left: 20px;
    }
    
    .sbb-carousel-card:last-child {
        margin-right: 20px !important;
        scroll-margin-right: 20px;
    }
    
    /* Image: Mobile card image */
    .sbb-card-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        overflow: hidden;
        position: relative;
        background: #f5f5f5;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .sbb-card-image::after {
        display: none;
    }
    
    .sbb-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    
    /* Overlay: menutupi seluruh gambar */
    .sbb-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 100%);
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0;
        pointer-events: none;
    }
    
    /* Content: Title overlay */
    .sbb-card-content {
        position: relative;
        z-index: 3;
        background: transparent;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: auto;
        backdrop-filter: none;
        pointer-events: auto;
        box-sizing: border-box;
        width: 100%;
    }
    
    .sbb-card-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .sbb-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: brightness(0) invert(1);
        display: block;
    }
    
    .sbb-card-title {
        font-family: 'SIGText' !important;
        font-size: 16px;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
        line-height: 1.3;
        flex: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    /* Link Wrapper: Bottom section */
    .sbb-card-link-wrapper {
        background: #ffffff;
        padding: 14px 20px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
        pointer-events: auto;
        min-height: 52px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .sbb-card-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #777654;
        text-decoration: none;
        font-family: 'SIGText' !important;
        font-size: 13px;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    
    .sbb-card-link:active {
        color: #65644a;
    }
    
    .sbb-card-arrow {
        font-size: 16px;
        color: #777654;
        transition: transform 0.2s ease;
        font-weight: bold;
    }
    
    .sbb-card-link-wrapper:active {
        background-color: #f9f9f9;
    }
    
    .sbb-card-link-wrapper:active .sbb-card-arrow {
        transform: translateX(3px);
    }
    
    /* Navigation: Bottom floating */
    .sbb-carousel-prev,
    .sbb-carousel-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: auto;
        bottom: 80px;
        transform: none;
        z-index: 25;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid #e0e0e0;
        color: #777654;
        border-radius: 50%;
        backdrop-filter: blur(10px);
    }
    
    .sbb-carousel-prev {
        left: 20px;
        right: auto;
    }
    
    .sbb-carousel-next {
        right: 20px;
        left: auto;
    }
    
    .sbb-carousel-prev:active,
    .sbb-carousel-next:active {
        transform: scale(0.9);
        background: rgba(255, 255, 255, 1);
    }
    
    /* Dots: Bottom center - maksimal 3 dots */
    .sbb-carousel-dots {
        margin-top: 16px;
        margin-bottom: 20px;
        gap: 8px;
        padding: 0 20px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .sbb-carousel-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
        background: #d0d0d0;
        border: none;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .sbb-carousel-dot.active {
        width: 24px;
        background: #777654;
    }
    
    /* Pastikan hanya maksimal 3 dots yang terlihat di mobile */
    .sbb-carousel-dot:nth-child(n+4) {
        display: none !important;
    }
    
    /* Reset all desktop styles */
    .sbb-carousel-card.active,
    .sbb-carousel-card.prev-1,
    .sbb-carousel-card.next-1,
    .sbb-carousel-card.prev-2,
    .sbb-carousel-card.next-2,
    .sbb-carousel-card.prev-3,
    .sbb-carousel-card.next-3 {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
        margin: 0 20px !important;
        clip-path: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
}

@media (max-width: 480px) {
    /* Mobile Kecil: Slider adjustments */
    .sbb-carousel-header {
        padding: 15px 15px 0;
        margin-bottom: 16px;
    }
    
    .sbb-carousel-subtitle {
        font-size: 9px;
        margin-bottom: 6px;
    }
    
    .sbb-carousel-title {
        font-size: 20px;
    }
    
    .sbb-carousel-card {
        min-width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        width: calc(100vw - 30px);
        margin: 0 15px !important;
    }
    
    .sbb-carousel-card:first-child {
        margin-left: 15px !important;
        scroll-margin-left: 15px;
    }
    
    .sbb-carousel-card:last-child {
        margin-right: 15px !important;
        scroll-margin-right: 15px;
    }
    
    .sbb-card-image {
        aspect-ratio: 4 / 3;
    }
    
    .sbb-card-content {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .sbb-card-icon {
        width: 28px;
        height: 28px;
    }
    
    .sbb-card-title {
        font-size: 15px;
    }
    
    .sbb-card-link-wrapper {
        padding: 12px 16px;
        min-height: 48px;
    }
    
    .sbb-card-link {
        font-size: 12px;
        gap: 5px;
    }
    
    .sbb-card-arrow {
        font-size: 14px;
    }
    
    .sbb-carousel-prev,
    .sbb-carousel-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
        bottom: 70px;
    }
    
    .sbb-carousel-prev {
        left: 15px;
    }
    
    .sbb-carousel-next {
        right: 15px;
    }
    
    .sbb-carousel-dots {
        margin-top: 12px;
        margin-bottom: 16px;
        gap: 5px;
        padding: 0 15px;
    }
    
    .sbb-carousel-dot {
        width: 5px;
        height: 5px;
        min-width: 5px;
        min-height: 5px;
    }
    
    .sbb-carousel-dot.active {
        width: 18px;
    }
    
    .sbb-card-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        position: relative;
        z-index: 1;
        border-radius: 0;
        background: #f5f5f5;
        display: block;
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .sbb-card-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 90px;
        background: transparent;
        z-index: 1;
        pointer-events: none;
    }
    
    .sbb-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.5s ease;
        display: block;
        border-radius: 0;
        vertical-align: top;
    }
    
    .sbb-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        pointer-events: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 100%);
    }
    
    .sbb-card-content {
        position: relative;
        z-index: 3;
        background: transparent;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 68px;
        pointer-events: auto;
        box-sizing: border-box;
        width: 100%;
    }
    
    .sbb-card-icon {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .sbb-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: brightness(0) invert(1);
        display: block;
    }
    
    .sbb-card-title {
        font-family: 'SIGText' !important;
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
        line-height: 1.2;
        flex: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .sbb-card-link-wrapper {
        background: #ffffff;
        padding: 12px 20px;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 3;
        border-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        transition: background-color 0.3s ease;
        pointer-events: auto;
        min-height: 56px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .sbb-card-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: rgba(119, 118, 84, 0.9);
        text-decoration: none;
        font-family: 'SIGText' !important;
        font-size: 14px;
        font-weight: 500;
        transition: gap 0.3s ease, color 0.3s ease;
        position: relative;
        z-index: 2;
    }
    
    .sbb-card-arrow {
        font-size: 18px;
        color: rgba(119, 118, 84, 0.9);
        transition: transform 0.3s ease, color 0.3s ease;
        position: relative;
        z-index: 2;
        font-weight: bold;
    }
    
    .sbb-card-link {
        font-family: 'SIGText' !important;
        font-size: 11px;
        gap: 6px;
    }
    
    .sbb-carousel-prev,
    .sbb-carousel-next {
        width: 48px;
        height: 48px;
        font-size: 20px;
        top: auto;
        bottom: 20px;
        transform: none;
        z-index: 25;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        background: rgba(119, 118, 84, 0.95);
    }
    
    .sbb-carousel-prev {
        left: 12px;
        right: auto;
    }
    
    .sbb-carousel-next {
        right: 12px;
        left: auto;
    }
    
    .sbb-carousel-prev:hover,
    .sbb-carousel-next:hover,
    .sbb-carousel-prev:active,
    .sbb-carousel-next:active {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        background: rgba(119, 118, 84, 1);
    }
    
    .sbb-carousel-dots {
        margin-top: 20px;
        gap: 6px;
        padding: 0 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sbb-carousel-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
    }
    
    .sbb-carousel-dot.active {
        width: 24px;
    }
    
    /* Simplify transform for very small screens - no blur, full opacity */
    .sbb-carousel-card {
        transform: scale(1) translateX(0) !important;
        opacity: 1 !important;
        filter: none !important;
        z-index: 1;
    }
    
    .sbb-carousel-card.active {
        transform: scale(1) translateX(0) !important;
        opacity: 1 !important;
        filter: none !important;
        z-index: 10;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    }

    .sbb-carousel-card.prev-1,
    .sbb-carousel-card.next-1,
    .sbb-carousel-card.prev-2,
    .sbb-carousel-card.next-2,
    .sbb-carousel-card.prev-3,
    .sbb-carousel-card.next-3 {
        transform: scale(1) translateX(0) !important;
        opacity: 1 !important;
        filter: none !important;
    }
    
    /* Semua card terlihat jelas di mobile kecil */
    .sbb-carousel-card:not(.active) {
        opacity: 1 !important;
        filter: none !important;
    }
    
    /* Hide cards yang terlalu jauh */
    .sbb-carousel-card:not(.active):not(.prev-1):not(.next-1):not(.prev-2):not(.next-2) {
        opacity: 0.1 !important;
    }
}

/* Mobile Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .sbb-services-carousel-section {
        padding: 35px 0 30px;
    }
    
    .sbb-carousel-header {
        margin-bottom: 25px;
    }
    
    .sbb-carousel-title {
        font-size: 24px;
    }
    
    .sbb-carousel-wrapper {
        padding: 20px 0 75px;
    }
    
    .sbb-card-image {
        min-height: 180px;
    }
    
    .sbb-card-image img {
        min-height: 180px;
    }
    
    .sbb-card-content {
        padding: 16px;
        min-height: 80px;
    }
    
    .sbb-card-title {
        font-size: 16px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Untuk perangkat touch-only */
    .sbb-carousel-prev,
    .sbb-carousel-next {
        min-width: 48px;
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .sbb-carousel-dot {
        min-width: 32px;
        min-height: 32px;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .sbb-carousel-dot::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
        display: block;
    }
    
    .sbb-carousel-dot.active::before {
        width: 24px;
        border-radius: 4px;
    }
    
    .sbb-card-link-wrapper {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .sbb-card-link {
        touch-action: manipulation;
    }
}

/* Ensure text is readable on small screens */
@media (max-width: 360px) {
    .sbb-services-carousel-section {
        padding: 30px 0 45px;
    }
    
    .sbb-carousel-header {
        padding: 0 12px;
    }
    
    .sbb-carousel-title {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .sbb-carousel-subtitle {
        font-size: 9px;
    }
    
    .sbb-card-title {
        font-size: 15px;
    }
    
    .sbb-card-link {
        font-size: 10px;
    }
    
    .sbb-carousel-card {
        min-width: 100vw;
        max-width: 100vw;
        width: 100vw;
        margin: 0 !important;
        padding: 0 12px;
    }
    
    .sbb-carousel-card:first-child {
        margin-left: 0 !important;
    }
    
    .sbb-carousel-card:last-child {
        margin-right: 0 !important;
    }
    
    .sbb-card-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        margin: 0 -12px;
        padding: 0 12px;
    }
    
    .sbb-card-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 90px;
        background: transparent;
        z-index: 1;
        pointer-events: none;
    }
    
    .sbb-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .sbb-card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        pointer-events: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, transparent 100%);
    }
    
    .sbb-card-content {
        position: relative;
        z-index: 3;
        background: transparent;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 68px;
        pointer-events: auto;
        box-sizing: border-box;
        width: 100%;
    }
    
    .sbb-card-icon {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .sbb-card-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: brightness(0) invert(1);
        display: block;
    }
    
    .sbb-card-title {
        font-family: 'SIGText' !important;
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
        margin: 0;
        line-height: 1.2;
        flex: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .sbb-card-link-wrapper {
        background: #ffffff;
        padding: 12px 20px;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 3;
        border-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        transition: background-color 0.3s ease;
        pointer-events: auto;
        min-height: 56px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .sbb-card-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: rgba(119, 118, 84, 0.9);
        text-decoration: none;
        font-family: 'SIGText' !important;
        font-size: 14px;
        font-weight: 500;
        transition: gap 0.3s ease, color 0.3s ease;
        position: relative;
        z-index: 2;
    }
    
    .sbb-card-arrow {
        font-size: 18px;
        color: rgba(119, 118, 84, 0.9);
        transition: transform 0.3s ease, color 0.3s ease;
        position: relative;
        z-index: 2;
        font-weight: bold;
    }
    
    .sbb-carousel-wrapper {
        scroll-padding: 0;
    }
    
    .sbb-carousel-prev,
    .sbb-carousel-next {
        width: 44px;
        height: 44px;
        font-size: 18px;
        bottom: 18px;
    }
    
    .sbb-carousel-prev {
        left: 10px;
    }
    
    .sbb-carousel-next {
        right: 10px;
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    .sbb-services-carousel-section * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .sbb-carousel-card,
    .sbb-card-image,
    .sbb-card-image img {
        max-width: 100%;
    }
}

