/* --------------------------------------------------------------------------
   Section 5 — One Platform. Total Operational Visibility.
   -------------------------------------------------------------------------- */
.y0326-platform {
    background: #111323 url(images/fusionrm-one-platform-bg.svg) no-repeat center;
    background-size: contain;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ---- Header ---- */
.y0326-platform__header {
    text-align: center;
    margin-bottom: 52px;
}

.y0326-platform__heading {
    margin: 0 0 16px;
    font-size: 2.25rem;
}

.y0326-platform__heading-sub {
    color: #ffffff;
}

.y0326-platform__heading-main {
    color: #41B6E6;
    font-size: 3rem;
}
.y0326-platform__heading-main span {
    color: #fff;
}
.y0326-platform__subtext {
    color: #fff;
    margin: 0;
    font-size: 1.25rem;
}

/* ---- 3×2 Grid ---- */
.y0326-platform__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ---- Card ---- */
.y0326-platform__card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 7 / 6;
    background-color: #0d1b2e;
}

/* Photo */
.y0326-platform__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    filter: brightness(0.55) saturate(0.7);
}

.y0326-platform__card:hover .y0326-platform__card-img {
    transform: scale(1.04);
    filter: brightness(0.45) saturate(0.7);
}

/* Gradient overlay — stronger at bottom for legibility */
.y0326-platform__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(5, 15, 35, 0.92) 0%,
            rgba(5, 15, 35, 0.55) 45%,
            rgba(5, 15, 35, 0.1) 100%);
    transition: background 0.3s ease;
}

.y0326-platform__card:hover .y0326-platform__card-overlay {
    background: linear-gradient(to top,
            rgba(5, 15, 35, 0.96) 0%,
            rgba(5, 15, 35, 0.7) 50%,
            rgba(5, 15, 35, 0.25) 100%);
}

/* Text content pinned to bottom */
.y0326-platform__card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 24px;
    z-index: 2;
}

.y0326-platform__card-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 10px;
}

.y0326-platform__card-text {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 16px;
}

.y0326-platform__card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #20A2D8;
    transition: gap 0.2s ease, color 0.2s ease;
}

.y0326-platform__card:hover .y0326-platform__card-link {
    gap: 13px;
    color: #ffffff;
}
.y0326-platform__card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #20A2D8;
    transition: width 0.4s ease;
    z-index: 3;
}

.y0326-platform__card:hover::after {
    width: 100%;
}
/* ---- Responsive ---- */
@media (max-width: 991px) {
    .y0326-platform__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .y0326-platform {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .y0326-platform__grid {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .y0326-platform__card {
        aspect-ratio: 4 / 3;
    }
}