﻿:root {
    --nic-blue: #003087;
    --nic-light-blue: #e8effb;
    --nic-orange: #f36d21;
    --nic-text: #333333;
    --nic-border: #d1d9e0;
    --nic-white: #ffffff;
}

.highlights-section-nic {
    background-color: #f6f8fa;
    padding: 0px 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow: hidden;
}

.nic-container {
    width: 100%;
    max-width: 1378px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.nic-header {
    text-align: left;
    border-bottom: 2px solid var(--nic-border);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

    .nic-header h2 {
        color: #003087;
        font-size: 24px;
        font-weight: 700;
        margin: 0;
        padding-bottom: 5px;
        border-bottom: 4px #003087;
        text-transform: uppercase;
    }

/* FIXED CARD - No TranslateY to keep the top bar stable */
.nic-card {
    background: var(--nic-white);
    border: 1px solid var(--nic-border);
    border-radius: 0px;
    height: 100%;
    min-height: 280px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden; /* Keeps zoom effects contained */
}

    /* The Blue Pati (Top Bar) */
    .nic-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--nic-blue);
        z-index: 10;
        transition: background 0.3s ease;
    }

    /* Hover effect without moving the card up */
    .nic-card:hover {
        border-color: var(--nic-blue);
        box-shadow: 0 4px 12px rgba(0, 48, 135, 0.15);
    }

        /* Optional: Change top bar color on hover */
        .nic-card:hover::before {
            background: var(--nic-orange);
        }

.nic-image-box {
    height: 160px !important;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    
}

.nic-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* Subtle image zoom instead of card jump */
.nic-card:hover .nic-img {
    transform: scale(1.08);
}

.nic-content {
    padding: 12px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nic-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--nic-blue);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nic-card:hover .nic-title {
    color: #003087;
}

.swiper-pagination {
    position: relative;
    margin-top: 15px;
}
.swiper-nav-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static !important; /* remove default positioning */
    width: 45px;
    height: 45px;
    margin: 0 !important;
    background: #231302;
    border-radius: 50%;
    color: #fff !important;
}

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 18px;
        font-weight: bold;
    }