/* Trust Banner Section */
.trust-banner-section {
    transition: background-color 0.3s ease;
    overflow: hidden;
}

.trust-banner-section p {
    padding-bottom: 0 !important;
}

/* Dark mode support - system preference OR manual theme toggle (html.theme-dark) */



/* Background Decorative Blobs */
.trust-banner-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.trust-banner-bg-blob-1 {
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(33%, -50%);
}

.trust-banner-bg-blob-2 {
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.2);
    transform: translate(-25%, 33%);
}

/* Content Wrapper */
.trust-banner-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .trust-banner-content-wrapper {
        flex-direction: row;
    }
}

/* Left Content Section */
.trust-banner-left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .trust-banner-left-content {
        width: 33.333%;
    }
}

.trust-banner-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    line-height: 1.2;
}

.trust-banner-highlight {
    color: #dbeafe;
}

.trust-banner-description {
    color: #dbeafe;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 28rem;
    padding: 0px;
}

.trust-banner-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.trust-banner-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.trust-banner-carousel-wrap .trust-banner-nav-btn.trust-banner-nav-prev:hover,
.trust-banner-carousel-wrap .trust-banner-nav-btn.trust-banner-nav-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.trust-banner-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Navigation button disabled states */
.trust-banner-nav-btn:disabled,
.trust-banner-nav-btn.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Right Content Section */
.trust-banner-right-content {
    position: relative;
    min-width: 0;
    overflow: visible;
}

/* Carousel + side arrows */
.trust-banner-carousel-wrap {
    position: relative;
    min-width: 0;
}

.trust-banner-carousel-wrap .trust-banner-nav-prev,
.trust-banner-carousel-wrap .trust-banner-nav-next {
    position: absolute;
    top: 50%;
    z-index: 20;
    transform: translateY(-50%);
    margin-top: 0;
}

.trust-banner-carousel-wrap .trust-banner-nav-prev {
    left: 0;
}

.trust-banner-carousel-wrap .trust-banner-nav-next {
    right: 0;
}

/* Fade gradient on slide area only (arrows stay fully visible) */
.trust-banner-carousel-stage {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding-left: 56px;
    padding-right: 56px;
    box-sizing: border-box;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

@media (min-width: 1024px) {
    .trust-banner-right-content {
        width: 66.666%;
    }
}

/* ============================
   Splide Carousel Overrides
   ============================ */

/* Splide container */
.trust-banner-splide {
    width: 100%;
    padding-bottom: 16px;
    padding-top: 8px;
    overflow: visible;
}

/* Allow overflow to show partial next card */
.trust-banner-splide .splide__track {
    overflow: visible;
}

/* Each slide fixed width */
.trust-banner-splide .splide__slide {
    width: 300px;
    height: auto;
}

@media (min-width: 768px) {
    .trust-banner-splide .splide__slide {
        width: 340px;
    }
}

/* Remove default Splide list styles */
.trust-banner-splide .splide__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Card */
.trust-banner-card {
    width: 100%;
    background-color: #f8fafc;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 340px;
    position: relative;
    overflow: hidden;
}

.trust-banner-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Dark mode card styles */
@media (prefers-color-scheme: dark) {
    html:not(.theme-light) .trust-banner-card {
        background-color: #1e293b;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    }
    
    html:not(.theme-light) .trust-banner-card:hover {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    }
}

html.theme-dark .trust-banner-card {
    background-color: #1e293b !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2) !important;
}

html.theme-dark .trust-banner-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2) !important;
}

/* Card Tag */
.trust-banner-card-tag {
    position: absolute;
    top: 24px;
    right: 24px;
}

.trust-banner-card-tag span {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    background-color: rgba(226, 232, 240, 0.5);
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (prefers-color-scheme: dark) {
    html:not(.theme-light) .trust-banner-card-tag span {
        background-color: #334155;
        color: #cbd5e1;
    }
}

html.theme-dark .trust-banner-card-tag span {
    background-color: #334155 !important;
    color: #cbd5e1 !important;
}

/* Icon Circle */
.trust-banner-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    margin-top: 8px;
}

@media (prefers-color-scheme: dark) {
    html:not(.theme-light) .trust-banner-card-icon {
        background-color: #334155;
    }
}

html.theme-dark .trust-banner-card-icon {
    background-color: #334155 !important;
}

.trust-banner-card-icon svg {
    width: 32px;
    height: 32px;
}

/* Card Title */
.trust-banner-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

@media (prefers-color-scheme: dark) {
    html:not(.theme-light) .trust-banner-card-title {
        color: #ffffff;
    }
}

html.theme-dark .trust-banner-card-title {
    color: #ffffff !important;
}

/* Card Description */
.trust-banner-card-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    flex-grow: 1;
}

@media (prefers-color-scheme: dark) {
    html:not(.theme-light) .trust-banner-card-description {
        color: #94a3b8;
    }
}

html.theme-dark .trust-banner-card-description {
    color: #94a3b8 !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trust-banner-card {
    animation: fadeInUp 0.6s ease-out;
}

.trust-banner-splide .splide__slide:nth-child(1) .trust-banner-card {
    animation-delay: 0s;
}

.trust-banner-splide .splide__slide:nth-child(2) .trust-banner-card {
    animation-delay: 0.1s;
}

.trust-banner-splide .splide__slide:nth-child(3) .trust-banner-card {
    animation-delay: 0.2s;
}

.trust-banner-splide .splide__slide:nth-child(4) .trust-banner-card {
    animation-delay: 0.3s;
}

.trust-banner-splide .splide__slide:nth-child(5) .trust-banner-card {
    animation-delay: 0.4s;
}

.trust-banner-splide .splide__slide:nth-child(6) .trust-banner-card {
    animation-delay: 0.5s;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .trust-banner-heading {
        font-size: 36px;
    }
    
    .trust-banner-description {
        font-size: 16px;
    }
    
    .trust-banner-splide {
        margin-right: -24px;
        padding-right: 24px;
    }
}

/* Smooth slide transitions */
.trust-banner-splide .splide__slide {
    transition: transform 0.3s ease;
}

/* Prevent layout shift before Splide initializes */
.trust-banner-splide:not(.is-initialized) .splide__list {
    display: flex;
    gap: 24px;
}

.trust-banner-splide:not(.is-initialized) .splide__slide {
    flex-shrink: 0;
}

/* Fixed width mode - ensure cards use full slide width */
.trust-banner-splide:not([data-items-desktop="auto"]) .trust-banner-card {
    min-width: 100%;
    width: 100%;
}

/* Responsive fixed width adjustments */
@media (max-width: 1199px) {
    .trust-banner-splide:not([data-items-tablet="auto"]) .trust-banner-card {
        min-width: 100%;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .trust-banner-splide:not([data-items-mobile="auto"]) .trust-banner-card {
        min-width: 100%;
        width: 100%;
    }
}

/* ===== Manual theme toggle (html.theme-dark) - additional overrides ===== */
/* Background blobs - adjust for dark section */
html.theme-dark .trust-banner-bg-blob-1 {
    background: rgba(59, 130, 246, 0.08) !important;
}

html.theme-dark .trust-banner-bg-blob-2 {
    background: rgba(37, 99, 235, 0.12) !important;
}

/* Card icon SVG - ensure visibility on dark card background */
html.theme-dark .trust-banner-card-icon svg {
    color: #e2e8f0 !important;
}

/* Nav buttons - ensure they remain visible on dark section */
/* html.theme-dark .trust-banner-nav-btn {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

html.theme-dark .trust-banner-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.18) !important;
} */
@media (max-width: 767px) {
    .trust-banner-description{
        margin-bottom: 0px;
    }
    .trust-banner-carousel-stage {
        padding-left: 48px;
        padding-right: 48px;
    }
    .trust-banner-carousel-wrap .trust-banner-nav-btn {
        width: 40px;
        height: 40px;
    }
    .trust-banner-content-wrapper{
        gap: 20px;
    }
    .trust-banner-card{
        height: 290px;
    }
    .trust-banner-card{
        padding: 20px;
    }
    .trust-banner-card-icon{
        width: 40px;
    height: 40px;
    margin-bottom: 15px;
    margin-top: 0;
    }
    .trust-banner-card-icon svg {
        width: 20px;
        height: 20px;
        
    }
    
}