/* SOLUTION CARDS STYLING ("Our Technology Solutions") - HIGH PERFORMANCE DESIGN */

.veeru-solution-cards-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f8fafc;
    position: relative;
    box-sizing: border-box;
}

.sol-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* SECTION HEADER */
.sol-sec-header {
    text-align: center;
    margin-bottom: 40px;
}

.sol-tagline {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

.sol-tagline::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 3px;
    background-color: #f17a28;
    border-radius: 2px;
}

.sol-subtext {
    font-size: 14px;
    color: #64748b;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* CARDS GRID */
.solution-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD ITEM CONTAINER */
.solution-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    will-change: transform, box-shadow;
    box-sizing: border-box;
}

.solution-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.card-content-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* SIDE GRAPHIC IMAGE (X/Y ADJUSTABLE & FULL BORDER RADIUS CONTROL) */
.card-feature-graphic {
    position: absolute;
    top: 20px;
    right: -10px;
    width: 150px;
    height: auto;
    max-height: 220px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.card-feature-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right top;
    border-radius: 0 12px 12px 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
    will-change: transform;
}

/* GRADIENT MASK FADE OPTION */
.sol-img-mask-yes .card-feature-graphic img {
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.solution-card-item:hover .card-feature-graphic img {
    transform: scale(1.08);
}

/* CARD HEADER & SOLID ICON BOX */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.card-header-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.solution-card-item:hover .card-header-icon-box {
    transform: scale(1.05);
}

.card-header-icon-box i {
    font-size: 20px;
    color: #ffffff;
}

.card-header-icon-box svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.card-header-icon-box img {
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.2px;
    max-width: calc(100% - 30px);
}

/* CARD BODY DESCRIPTION */
.card-body-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 18px 0;
    max-width: 78%;
}

/* APPLICATIONS CHECKLIST */
.card-apps-wrap {
    margin-bottom: 18px;
}

.card-apps-wrap strong {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 8px;
    text-transform: capitalize;
    letter-spacing: 0.2px;
}

.card-apps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-apps-list li {
    font-size: 12px;
    color: #334155;
    font-weight: 500;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.card-apps-list li .chk {
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
}

/* POPULAR PRODUCTS ROW & THUMBNAILS */
.card-popular-products {
    margin-top: auto;
    padding-top: 14px;
}

.pop-lbl {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 8px;
}

.pop-thumbs-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pop-thumbs-row img.pop-thumb-trigger {
    width: 48px;
    height: 38px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.pop-thumbs-row img.pop-thumb-trigger:hover {
    transform: scale(1.1);
    border-color: #1d4ed8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pop-badge.pop-thumb-trigger {
    font-size: 12px;
    color: #1d4ed8;
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.pop-badge.pop-thumb-trigger:hover {
    transform: scale(1.08);
    background-color: #e2e8f0;
}

/* BOTTOM CTA LINK */
.card-btn-wrap {
    margin-top: 16px;
}

.card-arrow-link {
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.card-arrow-link:hover {
    transform: translateX(4px);
    opacity: 0.9;
}

/* ==================== POPUP LIGHTBOX GALLERY MODAL ==================== */
.veeru-sol-lightbox-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.veeru-sol-lightbox-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.sol-modal-backdrop {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(5px);
}

.sol-modal-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sol-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.sol-modal-close:hover {
    color: #0f172a;
}

.sol-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px 0;
    text-align: center;
}

.sol-modal-main-view {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.sol-modal-main-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.sol-modal-main-view img:hover {
    transform: scale(1.15);
}

.sol-modal-thumbs-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    max-width: 100%;
}

.sol-modal-thumb {
    width: 60px;
    height: 50px;
    object-fit: contain;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sol-modal-thumb.active,
.sol-modal-thumb:hover {
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .solution-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .solution-cards-grid {
        grid-template-columns: 1fr;
    }

    .sol-modal-main-view {
        height: 220px;
    }
}