/* MIRA SOLUTIONS (NEW) */

/* --- Top hero band: two columns --- */

.mira-solutions__top {
    background-color: #f2f2f2; /* right-side base */
}

/*.mira-solutions__top-inner {
    padding: 60px 0 50px;
}*/

.mira-solutions__top-grid {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap: 0px;
    align-items: stretch;
}

/* Left: image + yellow overlay + logo */

.mira-solutions__top-left {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.mira-solutions__top-left-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 191, 0, 0.8); /* yellow tint */
}

.mira-solutions__top-left-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    flex-direction: column;
}

.mira-solutions__top-logo-wrap {
    max-width: 460px;
}

.mira-solutions__top-logo {
    display: block;
    width: 100%;
    height: auto;
}

/* Right: heading + copy + CTA */

.mira-solutions__top-right {
    padding: 100px 85px;
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mira-solutions__top-heading {
    font-size: 30px;
    font-weight: 700;
    color: #0A0A54;
    margin: 0 0 16px;
}

.mira-solutions__top-copy {
    font-size: 20px;
    line-height: 26px;
    color: #0A0A54;
}

.mira-solutions__top-copy ul {
    margin: 0;
    padding-left: 20px;
}

.mira-solutions__top-copy p {
    margin: 0 0 8px;
}

.mira-solutions__top-cta-wrap {
    margin-top: 20px;
}

.mira-solutions__top-cta {
    display: inline-block;
    padding: 12px 32px;
    background-color: #FFBF00;
    color: #0A0A54;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-radius: 6px;
    width: 200px;
    text-align: center;
}

.mira-solutions__top-title-text,
.mira-solutions__card-title-text {
    font-size: 42px;
    line-height: 1;
    font-weight: 500;
    margin: 0;
}


/* --- Bottom cards area --- */

/*
.mira-solutions__bottom {
    background-color: #003EB4; !* base behind cards *!
}
*/

.mira-solutions__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Base card */

.mira-solutions__card {
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

/* Top half (lighter color) */

.mira-solutions__card-top {
    padding: 56px 40px 40px 40px;
    height: 315px;
}
p.mira-solutions__card-subtitle,
.mira-solutions__top-subheading{
    font-size: 28px;
    line-height: 44px;
}

.mira-solutions__icon-wrap {
    margin-bottom: 18px;
}

.mira-solutions__icon {
    max-width: 64px;
    height: auto;
}

.mira-solutions__card-logo-wrap {
    margin-bottom: 10px;
    max-width: 220px;
}

.mira-solutions__card-logo {
    display: block;
    width: 100%;
    height: auto;
}

.mira-solutions__card-subtitle {
    font-size: 16px;
    margin: 0 0 0;
}

/* Bottom half (darker color) */

.mira-solutions__card-bottom {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.mira-solutions__card-body p {
    margin-bottom: 20px;
}
.mira-solutions__card-body {
    font-size: 20px;
    line-height: 26px;
    flex-grow: 1;
}


.mira-solutions__card-cta-wrap {
    margin-top: 16px;
}

.mira-solutions__card-cta {
    display: inline-block;
    padding: 10px 26px;
    background-color: #ffbf00;
    color: #0A0A54;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
}

a.mira-solutions__card-cta {
    width: 200px;
    text-align: center;
}

/* Hard-coded color pairs per column */
/* Column 1: teal */

.mira-solutions__card--1 .mira-solutions__card-top {
    background-color: #00ab98; /* lighter teal */
}

.mira-solutions__card--1 .mira-solutions__card-bottom {
    background-color: #00937f; /* darker teal */
}

/* Column 2: bright blue */

.mira-solutions__card--2 .mira-solutions__card-top {
    background-color: #4F74FF; /* lighter blue */
}

.mira-solutions__card--2 .mira-solutions__card-bottom {
    background-color: #2a43be; /* darker blue */
}

/* Column 3: navy */

.mira-solutions__card--3 .mira-solutions__card-top {
    background-color: #385ceb; /* mid blue */
}

.mira-solutions__card--3 .mira-solutions__card-bottom {
    background-color: #172ea5; /* darker navy */
}

/* --- Responsive --- */

/* Hidden on desktop */
.mira-solutions__nav {
    display: none;
}

@media (max-width: 1040px) {
    .mira-solutions__top-inner {
        padding: 40px 0 36px;
    }

    .mira-solutions__top-grid {
        grid-template-columns:minmax(0, 1.2fr) minmax(0, 1.5fr);
        gap: 0px;
    }

    .mira-solutions__top-left {
        min-height: 220px;
    }

    .mira-solutions__cards {
        grid-template-columns: 1fr;
    }

    .mira-solutions__cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mira-solutions__top-right {
        padding: 35px;
    }

    .mira-solutions__icon {
        max-width: 62px;
        height: 62px;
    }

    .mira-solutions__top-right {
        padding: 25px;
    }

    .mira-solutions__top-copy {
        font-size: 18px;
    }

    p.mira-solutions__card-subtitle {
        font-size: 24px;
        line-height: 28px;
    }

    .mira-solutions__card-top {
        padding: 24px;
        height: 230px;
    }

 /*   .mira-solutions__card-logo {
        height: 25px !important;
        width: 130px;
    }
*/
   /* .mira-solutions__card-logo-wrap {
        height: 25px;
    }
*/

    .mira-solutions__card-body {
        font-size: 18px;
    }
}



@media (max-width: 750px) {
    .mira-solutions__cards {
        display: flex;
        overflow-x: auto;
        gap: 0;
        padding: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .mira-solutions__cards::-webkit-scrollbar {
        display: none;
    }

    .mira-solutions__card {
        min-width: 80%;
        flex: 0 0 80%;
        scroll-snap-align: start;
        overflow: hidden;
    }

    .mira-solutions__top-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }
}

@media (max-width: 500px) {

    .mira-solutions__nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 30px 20px;
        background-color: #0a0a54;
    }

    .mira-solutions__nav-arrow {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid #ffffff;
        background: transparent;
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        font-size: 18px;
        line-height: 1;
    }

    .mira-solutions__nav-arrow--prev::before {
        content: '‹';
    }

    .mira-solutions__nav-arrow--next::before {
        content: '›';
    }

    .mira-solutions__nav-dots {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .mira-solutions__nav-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: 1px solid #ffffff;
        background: transparent;
        cursor: pointer;
        padding: 0;
    }

    .mira-solutions__nav-dot.is-active {
        background: #ffffff;
    }

    .mira-solutions__card-bottom {
        padding: 23px;
    }

    .mira-solutions__card-top {
        padding: 30px;
        height: 270px;
    }

}


/* Force arrows to stick to edges on mobile */
@media (max-width: 992px) {
    .mira-solutions__nav {
        position: relative;
        width: 100%;
    }

    .mira-solutions__nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    }

    .mira-solutions__nav-arrow--prev {
        left: 0;
    }

    .mira-solutions__nav-arrow--next {
        right: 0;
    }

    /* Move dots to the center, away from arrows */
    .mira-solutions__nav-dots {
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .mira-solutions__nav-arrow {
        font-size: 40px;
        border: none;
    }

}

/*-------test commit message-----*/