.platform-showcase {
    --ps-navy: #1b1140;
    --ps-orange: #ff6a1a;
    --ps-text-muted: #5b5a72;
    --ps-card-bg: #ffffff;
    --ps-card-radius: 18px;
    --ps-bg-from: #eef0fb;
    --ps-bg-to: #f7f5ff;
    --ps-space-between: 32px;
    position: relative;
    overflow: clip;
    padding: 56px 24px 72px;
    background: linear-gradient(135deg, var(--ps-bg-from) 0%, var(--ps-bg-to) 100%);
}

    .platform-showcase::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: radial-gradient(circle, rgba(27, 17, 64, 0.20) 1px, transparent 1px);
        background-size: 24px 24px;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, transparent 100%);
        pointer-events: none;
    }

    .platform-showcase::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: radial-gradient(ellipse 55% 45% at 10% 20%, rgba(255, 106, 26, 0.12) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 90% 80%, rgba(100, 80, 220, 0.10) 0%, transparent 70%);
        pointer-events: none;
    }

.platform-showcase__inner {
    z-index: 1;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
}

/* ---- Intro ---- */
.platform-showcase__intro {
    text-align: center;
    /*max-width: 640px;*/
    margin: 0 auto 16px;
}

.platform-showcase__label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--tg-theme-primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.platform-showcase__heading {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--tg-heading-color);
    margin: 0 0 12px;
    line-height: 1.15;
}

.platform-showcase__subtext {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ps-text-muted);
    margin: 0;
}

.innovai-logo {
    font-weight: 700;
    color: var(--tg-heading-color);
}

.innovai-logo__ai {
    color: var(--ps-orange);
}

/* ---- Carousel shell ---- */
.platform-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-carousel__viewport {
    overflow: hidden;
    flex: 1;
    padding: 20px 25px;
    margin: -20px;
}

.platform-carousel__track {
    display: flex;
    gap: var(--ps-space-between);
    list-style: none;
    margin: 0;
    padding: 4px 0 20px;
    will-change: transform;
    transition: transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Desktop: exactly 2 cards visible */
.platform-card {
    flex: 0 0 calc((100% - var(--ps-space-between)) / 2);
    min-width: 0;
    display: flex; /* ADD THIS */
    flex-direction: column; /* ADD THIS */
}


.platform-card {
    background: var(--ps-card-bg);
    border-radius: var(--ps-card-radius);
    box-shadow: 0 4px 18px rgba(27, 17, 64, 0.08);
    transition: transform 280ms ease, box-shadow 280ms ease;
}

    .platform-card:hover,
    .platform-card:focus-within {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(27, 17, 64, 0.16);
    }

.platform-card__media-link {
    display: block;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--ps-card-radius) var(--ps-card-radius) 0 0;
    border: 1px solid #e0dff0;
    border-bottom: none;
}

    .platform-card__media-link::before {
        content: "";
        display: block;
        height: 28px;
        background: #f4f3fb;
        border-bottom: 1px solid #e0dff0;
        background-image: radial-gradient(circle, #fc5f57 0 5px, transparent 5px), radial-gradient(circle, #fdbc2c 0 5px, transparent 5px), radial-gradient(circle, #29c840 0 5px, transparent 5px);
        background-size: 5px 5px, 5px 5px, 5px 5px;
        background-position: 14px center, 28px center, 42px center;
        background-repeat: no-repeat, no-repeat, no-repeat;
    }

.platform-card__image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform 450ms ease;
}

.platform-card:hover .platform-card__image,
.platform-card:focus-within .platform-card__image {
    transform: scale(1.04);
}

.platform-card__body {
    padding: 24px 24px 28px;
    border-radius: 0 0 var(--ps-card-radius) var(--ps-card-radius);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.platform-card__heading-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 2px;
}

.platform-card__logo {
    padding: 10px;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: contain;
    background: #f1f1fb;
    flex: 0 0 auto;
}

.platform-card__name {
    font-size: 22px;
    font-weight: 800;
    color: var(--tg-heading-color);
    margin: 0 0 2px;
}

.platform-card__category {
    font-size: 13px;
    font-weight: 600;
    color: var(--ps-orange);
    margin: 0 0 0px;
}

.platform-card__description {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ps-text-muted);
    margin: 0 0 18px;
}

.platform-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.platform-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tg-heading-color);
    background: #f1f1fb;
    border: 1px solid #e3e2f5;
    border-radius: 999px;
    padding: 6px 12px;
}

.platform-card__tag-icon {
    flex: 0 0 auto;
    color: var(--ps-orange);
}



.platform-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--tg-heading-color);
    text-decoration: none;
}

.platform-card__cta-arrow {
    transition: transform 220ms ease;
}

.platform-card__cta:hover .platform-card__cta-arrow,
.platform-card__cta:focus-visible .platform-card__cta-arrow {
    transform: translateX(4px);
}

.platform-card__cta:focus-visible,
.platform-carousel__nav:focus-visible,
.platform-carousel__dot:focus-visible {
    outline: 2px solid var(--ps-orange);
    outline-offset: 3px;
}

.platform-carousel__nav {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: #2B2A86;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
    padding: 0;
    position: relative;
    z-index: 2;
}

    .platform-carousel__nav:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
        background: #f4f4fb;
    }

    .platform-carousel__nav:active {
        background: #ebebf5;
        transform: translateY(-1px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.10);
    }

@media (max-width: 768px) {
    .platform-carousel__nav {
        display: none;
    }
}

/* ---- Dots ---- */
.platform-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: -36px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.platform-carousel__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8d7ec;
    border: 0;
    padding: 0;
    cursor: pointer;
}

    .platform-carousel__dot[aria-selected="true"] {
        background: var(--tg-heading-color);
    }

/* ---- Technology strip ---- */
.platform-tech-strip {
    margin-top: 64px;
    text-align: center;
}

.platform-tech-strip__heading {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ps-text-muted);
    margin: 0 0 18px;
}

.platform-tech-strip__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.platform-tech-strip__badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--tg-heading-color);
    background: #ffffff;
    border: 1px solid #e3e2f5;
    border-radius: 999px;
    padding: 8px 16px;
}

@media (prefers-reduced-motion: reduce) {
    .platform-carousel__track,
    .platform-card,
    .platform-card__image,
    .platform-card__cta-arrow {
        transition: none !important;
    }
}

.innovLogo-platform {
    margin-bottom: 3px;
    width: 70px;
}

/*For mobile Portrait*/
@media screen and (min-width:320px) and (max-width: 480px) and (orientation: portrait) {

    .platform-card__tags {
        justify-content: center;
    }

    .platform-card__body {
        padding: 24px 12px 28px;
    }

    .platform-tech-strip__badges {
        display: grid;
    }

    .platform-card {
        flex-basis: 100%;
    }
}
/*Bootstrap md*/
@media (min-width:768px) and (max-width:991.98px) and (orientation: landscape) {
    .platform-showcase {
        padding: 44px 16px 60px;
    }

 
}
/*Bootstrap sm*/
@media (min-width:576px) and (max-width:767.98px) and (orientation: landscape) {

  
   
}

/*For Tab IPad*/
@media screen and (min-width: 765px) and (max-width: 1000px) and (orientation: portrait) {

 }

/*For Tab IPad*/
@media screen and (min-width: 1024px) and (max-width: 1280px) and (orientation: landscape) {
   
}
/*Mac book 16 and Apple iMac 24"*/
@media screen and (min-width: 1728px) and (max-width: 2048px) {
 
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h6, p, .p, span, .span {
    text-wrap: balance;
}
