/* ==========================================================================
   GC Hero Banner Slider — testimonial-style 3D flip deck (left column)
   ========================================================================== */

.hero-section-11.gc-hero-banner-slider {
    overflow: hidden;
    --gc-hbs-accent: var(--rr-color-theme-primary, #237687);
    --gc-hbs-accent-rgb: 35, 118, 135;
    --gc-hbs-card-bg: linear-gradient(152deg, rgba(var(--gc-hbs-accent-rgb), 0.22) 0%, #0d1f2d 38%, #121820 100%);
    --gc-hbs-card-border: rgba(var(--gc-hbs-accent-rgb), 0.35);
    --gc-hbs-deck-bg: linear-gradient(152deg, rgba(var(--gc-hbs-accent-rgb), 0.12) 0%, #101820 100%);
    --gc-hbs-text: var(--rr-color-common-white, #ffffff);
    --gc-hbs-muted: rgba(255, 255, 255, 0.68);
    --gc-hbs-flip-duration: 0.82s;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider {
    --gc-hbs-card-bg: #ffffff;
    --gc-hbs-card-border: rgba(35, 118, 135, 0.18);
    --gc-hbs-deck-bg: #f7fafb;
    --gc-hbs-text: #0d1f2d;
    --gc-hbs-muted: rgba(13, 31, 45, 0.62);
}

@media (min-width: 992px) {
    .hero-section-11.gc-hero-banner-slider .gc-hbs-row {
        display: grid !important;
        grid-template-columns: minmax(0, 8fr) minmax(0, 6fr);
        gap: clamp(16px, 2vw, 32px);
        align-items: center;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-row > .gc-hbs-left-col,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-row > .gc-hbs-right-col {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding-left: 0;
        padding-right: 0;
    }
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-left-col {
    position: relative;
    z-index: 2;
    overflow: visible;
    min-width: 0;
}

/* Stage + deck (mirrors testimonial right side) */
.hero-section-11.gc-hero-banner-slider .gc-hbs-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-deck {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer {
    position: absolute;
    border-radius: 24px;
    border: 1px solid var(--gc-hbs-card-border);
    background: var(--gc-hbs-deck-bg);
    pointer-events: none;
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer {
    box-shadow: 0 8px 20px rgba(13, 31, 45, 0.04);
    border-color: rgba(35, 118, 135, 0.12);
    background: #f4f8fa;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--back {
    opacity: 0.35;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--mid {
    opacity: 0.55;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--back {
    inset: 22px -16px -16px 30px;
    transform: rotate(-2.8deg) translateZ(-40px);
    z-index: 0;
    opacity: 0.5;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--mid {
    inset: 14px -10px -10px 18px;
    transform: rotate(-1.4deg) translateZ(-20px);
    z-index: 1;
    opacity: 0.72;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport {
    position: relative;
    z-index: 2;
    perspective: 2400px;
    perspective-origin: center center;
    transform-style: preserve-3d;
    min-height: 420px;
    width: 100%;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport.is-flipping {
    height: var(--gc-hbs-viewport-height, auto);
    border-radius: 24px;
    overflow: hidden;
}

/* Flip card shell */
.hero-section-11.gc-hero-banner-slider .gc-hbs-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 36px 32px 28px;
    border-radius: 24px;
    border: 1px solid var(--gc-hbs-card-border);
    background: var(--gc-hbs-card-bg);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(var(--gc-hbs-accent-rgb), 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -18px 36px rgba(0, 0, 0, 0.22);
    transform-style: preserve-3d;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: rotateY(0deg) translateZ(0);
    will-change: transform, opacity;
    overflow: hidden;
    isolation: isolate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-sizing: border-box;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-card {
    background: #ffffff;
    border-color: rgba(35, 118, 135, 0.16);
    box-shadow:
        0 12px 32px rgba(13, 31, 45, 0.07),
        0 2px 8px rgba(13, 31, 45, 0.035);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-card::before {
    background: linear-gradient(160deg, rgba(35, 118, 135, 0.035) 0%, transparent 48%);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card::after {
    content: "";
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: 0;
    width: 14px;
    border-radius: 24px 0 0 24px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent);
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-card::after {
    background: linear-gradient(90deg, rgba(var(--gc-hbs-accent-rgb), 0.06), transparent);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card > * {
    position: relative;
    z-index: 2;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: rotateY(0deg) translateZ(0);
    z-index: 2;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from,
.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to,
.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from-prev,
.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
    box-shadow: none !important;
    filter: none;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport.is-flipping .gc-hbs-card {
    border-radius: 24px !important;
    overflow: hidden;
}

/* Simultaneous 3D flip — same as testimonial */
.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform-origin: left center;
    z-index: 3;
    animation: gc-hbs-flip-from-next var(--gc-hbs-flip-duration) cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform-origin: left center;
    z-index: 2;
    animation: gc-hbs-flip-to-next var(--gc-hbs-flip-duration) cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from-prev {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform-origin: right center;
    z-index: 2;
    animation: gc-hbs-flip-from-prev var(--gc-hbs-flip-duration) cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform-origin: right center;
    z-index: 3;
    animation: gc-hbs-flip-to-prev var(--gc-hbs-flip-duration) cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
}

@keyframes gc-hbs-flip-from-next {
    0% {
        transform: rotateY(0deg) translateZ(4px);
        opacity: 1;
    }

    100% {
        transform: rotateY(-78deg) translateZ(0);
        opacity: 0;
    }
}

@keyframes gc-hbs-flip-to-next {
    0% {
        transform: rotateY(78deg) translateZ(0);
        opacity: 0.55;
    }

    100% {
        transform: rotateY(0deg) translateZ(4px);
        opacity: 1;
    }
}

@keyframes gc-hbs-flip-from-prev {
    0% {
        transform: rotateY(0deg) translateZ(4px);
        opacity: 1;
    }

    100% {
        transform: rotateY(78deg) translateZ(0);
        opacity: 0;
    }
}

@keyframes gc-hbs-flip-to-prev {
    0% {
        transform: rotateY(-78deg) translateZ(0);
        opacity: 0.55;
    }

    100% {
        transform: rotateY(0deg) translateZ(4px);
        opacity: 1;
    }
}

/* Card inner content */
.hero-section-11.gc-hero-banner-slider .gc-hbs-card__body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card .hero-info {
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card .hero-info .title {
    color: var(--gc-hbs-text);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc,
.hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gc-hbs-muted);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc p {
    margin-bottom: 16px;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc p:last-child {
    margin-bottom: 0;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card .gc-hero-one-btns {
    margin-top: clamp(12px, 2vw, 20px);
}

.hero-section-11.gc-hero-banner-slider .service-card-info .gc-hbs-service-desc,
.hero-section-11.gc-hero-banner-slider .service-card-info .gc-hbs-service-desc p {
    margin: 0;
    color: inherit;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card__media {
    width: 100%;
    margin-top: auto;
    flex: 1 1 auto;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: stretch;
    align-self: stretch;
    position: relative;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-card__media {
    background: rgba(13, 31, 45, 0.04);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-banner-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-banner-image img,
.hero-section-11.gc-hero-banner-slider .gc-hbs-banner-video {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-banner-video {
    background: #000;
    flex: 1 1 auto;
    min-height: 0;
}

/* When card has a fixed viewport height, media drops aspect lock and fills leftover body space */
.hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport.is-sized .gc-hbs-card__media {
    aspect-ratio: auto;
    height: auto;
    flex: 1 1 0;
    min-height: 0;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card--image_only .gc-hbs-card__media,
.hero-section-11.gc-hero-banner-slider .gc-hbs-card--video_only .gc-hbs-card__media {
    margin-top: 0;
    min-height: 220px;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card--content .gc-hbs-card__body {
    justify-content: center;
}

/* Content keeps natural size; media grows with card/body height */
.hero-section-11.gc-hero-banner-slider .gc-hbs-card__body > .hero-info {
    flex: 0 0 auto;
}

/* Dots — same touch-friendly pattern as testimonial */
.hero-section-11.gc-hero-banner-slider .gc-hbs-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-dot {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    transform: translate(-50%, -50%);
    transition:
        width 0.3s ease,
        background-color 0.3s ease,
        border-radius 0.3s ease;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-dot::after {
    background: rgba(13, 31, 45, 0.18);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-dot.is-active::after {
    width: 24px;
    border-radius: 999px;
    background: var(--gc-hbs-accent);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-dot:hover,
.hero-section-11.gc-hero-banner-slider .gc-hbs-dot:focus-visible {
    transform: scale(1.08);
    outline: none;
}

/* Controls wrapper — dots + arrows */
.hero-section-11.gc-hero-banner-slider .gc-hbs-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-dots {
    margin-top: 0;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  border: 1px solid rgba(35, 118, 135, 0.4);
    background: rgba(35, 118, 135, 0.14);
    color: var(--rr-color-theme-primary);
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn {
    border-color: rgba(13, 31, 45, 0.18);
    background: rgba(13, 31, 45, 0.06);
    color: var(--gc-hbs-accent, #237687);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn:hover {
    transform: scale(1.1);
    background: var(--gc-hbs-accent);
    color: #fff;
    border-color: var(--gc-hbs-accent);
    box-shadow: 0 8px 24px rgba(35, 118, 135, 0.35);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn i,
.hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn svg {
    font-size: 16px;
    line-height: 1;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport {
        min-height: 0;
        height: auto !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport.is-flipping {
        height: auto !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card {
        position: relative !important;
        inset: auto !important;
        height: auto !important;
        padding: 18px 16px 14px;
        border-radius: 16px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
        position: absolute !important;
        inset: 0 !important;
        height: 100% !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card:not(.is-active):not(.is-flip-from):not(.is-flip-from-prev):not(.is-flip-to):not(.is-flip-to-prev) {
        display: none !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card__body {
        gap: 10px;
        flex: 1;
        min-height: 0;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card__media {
        flex: 0 0 auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        margin-top: 0;
        border-radius: 10px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card--image_only .gc-hbs-card__media,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card--video_only .gc-hbs-card__media {
        min-height: 0 !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc p {
        margin-bottom: 10px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--back {
        inset: 18px -10px -10px 18px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--mid {
        inset: 10px -6px -6px 10px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card .gc-hero-one-btns {
        margin-top: 12px;
    }

    .hero-section-11.gc-hero-banner-slider .hero-section-11 .gc-hero-one-btns .gc-hero-one-btn {
        padding: 10px 22px;
        font-size: 13px;
        min-height: 30px;
    }
}

@media (max-width: 767px) {
    .hero-section-11.gc-hero-banner-slider {
        --gc-hbs-flip-duration: 0.52s;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport {
        min-height: 0;
        height: auto !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-flip-viewport.is-flipping {
        height: auto !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card {
        position: relative !important;
        inset: auto !important;
        height: auto !important;
        padding: 14px 14px 12px;
        border-radius: 14px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
        position: absolute !important;
        inset: 0 !important;
        height: 100% !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card:not(.is-active):not(.is-flip-from):not(.is-flip-from-prev):not(.is-flip-to):not(.is-flip-to-prev) {
        display: none !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card__body {
        gap: 8px;
        flex: 1;
        min-height: 0;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card__media {
        flex: 0 0 auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        margin-top: 0;
        border-radius: 10px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card--image_only .gc-hbs-card__media,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card--video_only .gc-hbs-card__media {
        min-height: 0 !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc p {
        font-size: 10px;
        line-height: 1.6;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-slide-desc p {
        margin-bottom: 8px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--back {
        inset: 14px -8px -8px 14px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--mid {
        inset: 8px -4px -4px 8px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card .gc-hero-one-btns {
        margin-top: 8px;
    }

    .hero-section-11.gc-hero-banner-slider .hero-section-11 .gc-hero-one-btns .gc-hero-one-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-height: 28px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-dots {
        margin-top: 14px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-controls {
        margin-top: 16px;
        gap: 12px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn {
        width: 40px;
        height: 40px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn i,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn svg {
        font-size: 14px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-nav-btn svg {
        width: 14px;
        height: 14px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from-prev,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
        transform-origin: center center;
        animation-duration: var(--gc-hbs-flip-duration);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        animation-fill-mode: forwards;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from-prev {
        animation-name: gc-hbs-cross-out;
        z-index: 3 !important;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
        animation-name: gc-hbs-cross-in;
        z-index: 4 !important;
    }
}

@media (max-width: 479px) {
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card {
        padding: 12px 10px 10px;
        border-radius: 12px;
    }

    .hero-section-11.gc-hero-banner-slider .hero-section-11 .gc-hero-one-btns .gc-hero-one-btn {
        padding: 6px 12px;
        font-size: 11px;
        min-height: 26px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card__body {
        gap: 6px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer {
        border-radius: 16px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--back {
        inset: 12px -6px -6px 12px;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-deck-layer--mid {
        inset: 6px -3px -3px 6px;
    }
}

@keyframes gc-hbs-cross-out {
    0% {
        opacity: 1;
        transform: translateX(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-12px);
    }
}

@keyframes gc-hbs-cross-in {
    0% {
        opacity: 0;
        transform: translateX(16px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   Content entrance animations — replay on every slide activation
   ========================================================================== */

@keyframes gc-hbs-word-in {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gc-hbs-fade-up {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card .anim-text .gc-hbs-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card .gc-hbs-slide-desc,
.hero-section-11.gc-hero-banner-slider .gc-hbs-card .gc-hero-one-btns {
    opacity: 0;
    transform: translateY(14px);
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-content-visible .anim-text .gc-hbs-word {
    animation: gc-hbs-word-in 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-content-visible .gc-hbs-slide-desc {
    animation: gc-hbs-fade-up 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    animation-delay: 0.3s;
}

.hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-content-visible .gc-hero-one-btns {
    animation: gc-hbs-fade-up 0.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
    .hero-section-11.gc-hero-banner-slider {
        --gc-hbs-flip-duration: 0.35s;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-from-prev,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
        animation-name: gc-hbs-cross-out;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card.is-flip-to-prev {
        animation-name: gc-hbs-cross-in;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card .anim-text,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card .gc-hbs-slide-desc,
    .hero-section-11.gc-hero-banner-slider .gc-hbs-card .gc-hero-one-btns {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero-section-11.gc-hero-banner-slider .gc-hbs-card .anim-text .gc-hbs-word {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
