﻿/* =========================
   Featured / Home styles
   ========================= */

/* --- Title --- */
.fp-title {
    text-align: center;
    font-weight: 800;
    font-size: clamp(1.4rem,2.6vw,2.1rem);
    margin: .75rem 0 1.25rem;
}

/* --- Featured row / carousel-ish --- */
.fp-carousel {
    position: relative;
}

.fp-viewport {
    overflow: hidden;
}

.fp-track {
    --gap: 2rem; /* space between cards */
    --cols: 5; /* desktop default */
    display: flex;
    gap: var(--gap);
    will-change: transform;
    padding: 0 1rem;
}

/* items per row by breakpoint */
@media (max-width:1399.98px) {
    .fp-track {
        --cols: 4;
    }
}

@media (max-width:1199.98px) {
    .fp-track {
        --cols: 3;
    }
}

@media (max-width: 991.98px) {
    .fp-track {
        --cols: 2;
    }
}

@media (max-width: 575.98px) {
    .fp-track {
        --cols: 1;
    }
}

.fp-card {
    flex: 0 0 calc((100% - (var(--gap)*(var(--cols) - 1)))/var(--cols));
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: .75rem;
    padding: .75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .fp-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }

    .fp-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
        aspect-ratio: 5/3;
    }

.fp-name {
    margin: .6rem 0 0;
    font-weight: 700;
    font-size: clamp(.95rem,1.1vw,1.05rem);
    min-height: 2.2em;
}

/* chevrons like current design */
.fp-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    font-size: 2rem;
    line-height: 1;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
}

    .fp-nav:hover {
        color: #111827;
    }

.fp-prev {
    left: .25rem;
}

.fp-next {
    right: .25rem;
}

/* --- Two promo banners (FULL WIDTH on desktop, stacked on mobile) --- */
.fp-banners {
    display: grid;
    grid-template-columns: 1fr; /* mobile: one per row */
    gap: 0; /* no gap so they align edge-to-edge */
    margin: 0; /* no outer margin */
    width: 100%;
    max-width: 100% !important; /* override previous cap */
    padding: 0 !important; /* no inner padding */
}

/* md+ : two equal columns, still full width */
@media (min-width:768px) {
    .fp-banners {
        grid-template-columns: 1fr 1fr;
    }
}

/* Make the two banners flush with the page edges */
.fp-banner-card {
    display: block;
    background: #fff;
    border-radius: 0; /* remove rounding so they meet cleanly */
    overflow: hidden;
    box-shadow: none; /* flat, no drop shadow */
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

    .fp-banner-card:hover {
        transform: translateY(-0px);
        box-shadow: none;
    }

/* Equal-height look (cover) but still allow “contain” if you prefer */
.fp-banner-img {
    display: block;
    width: 100%;
    height: clamp(220px, 22vw, 360px); /* gives matching height on desktop */
    /*object-fit: cover;*/ /* crops gently to keep heights equal */
    transition: transform .35s ease;
}

.fp-banner-card:hover .fp-banner-img {
    transform: scale(1.03);
}

/* If you ever want “keep full image, no crop”, add class .contain to <img> */
.fp-banner-img.contain {
    height: auto;
    object-fit: contain;
}

/* --- Brand strip: single row w/ horizontal scroll on small screens --- */
.brand-strip {
    margin: 12px 0;
}

.brand-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem,4vw,4rem);
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 .5rem;
}

    .brand-track img {
        height: clamp(28px,6vw,56px);
        width: auto;
        flex: 0 0 auto;
        object-fit: contain;
        transition: transform .2s ease;
    }

        .brand-track img:hover {
            transform: translateY(-2px);
        }

    .brand-track::-webkit-scrollbar {
        height: 0;
    }

/* --- Mini cards (blog etc.) --- */
.mini-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: .75rem;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
}

    .mini-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
    }

    .mini-card img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        aspect-ratio: 16/9;
    }

.mini-card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.blog-title {
    color: #4f46e5;
    font-weight: 700;
    margin: 0 0 .25rem;
}

.thick {
    font-weight: 800;
    margin: .25rem 0 .5rem;
    font-size: 1.1rem;
}

/* --- Tighter spacing in featured cards (fine-tune) --- */
.fp-card {
    padding: .5rem .6rem .7rem;
}

    .fp-card img {
        margin-bottom: .25rem;
        aspect-ratio: auto;
    }

.fp-name {
    margin-top: .18rem;
    line-height: 1.2;
    min-height: 0;
}
.container-fluid {
    padding-left: 0 !important; /* Use !important to override existing framework styles if necessary */
    padding-right: 0 !important;
}

.container-fluid.my-3 {
    padding-left: 0 !important; /* Use !important to override existing framework styles if necessary */
    padding-right: 0 !important;
}
.partner-logos.container {
    width: 1211px; /* Match the width of the row above */
    justify-content: space-between; /* Distribute images from start to end */
    gap: 40px; /* Increase the gap between images */
}

.partner-logos.container img {
    width: 120px; /* Example: Set a new width */
    height: auto; /* Maintain aspect ratio */
}
.partner-logos.container.ai-style-change-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 40px; /* Keep your desired gap */
    width: 1211px; /* Set width to match the row above */
    margin: 0; /* Remove auto margins that were centering the 1140px width */
    padding: 0; /* Remove padding if you want images closer to edges, or adjust as needed */
}

.partner-logos.container.ai-style-change-1 img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

