/* ===== University Section ===== */
.universitySection {
    padding: var(--section-bg-py) 0;
    overflow: hidden;
}

/* ===== Section Head ===== */
.universitySection .sectionHeadwrap {
    text-align: center;
    margin: 0 auto;
}

/* ===== Marquee Wrap — pill container ===== */
.uniMarqueeWrap {
    position: relative;
    max-width: 960px;
    margin: var(--section-wraper-py) auto 48px;
    border-radius: 60px;
   border: 1px solid #CFDEF0;
    background: linear-gradient(180deg, #efefef96  0%, #ffffff 100%);
 box-shadow: 0px 4px 7.3px 0px #DAEAFE;
    overflow: hidden;
    padding: 40px 0;
}

/* ===== Skeleton Overlay ===== */
.uniSkeleton {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, #fcfcfc 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 20px 40px;
    transition: opacity 0.4s ease;
}

.uniSkeleton.hidden {
    opacity: 0;
    pointer-events: none;
}

.uniSkeletonRow {
    display: flex;
    align-items: center;
    gap: 40px;
    overflow: hidden;
}

.uniSkeletonBadge {
    flex-shrink: 0;
    width: 130px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(90deg, #EEF3FC 25%, #D8E7FF 50%, #EEF3FC 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== Marquee fade edges (inside the pill) ===== */
.uniMarqueeWrap::before,
.uniMarqueeWrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 3;
    pointer-events: none;
}

/* Right fade */
.uniMarqueeWrap::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
}

/* Left fade */
.uniMarqueeWrap::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
}

/* ===== Marquee Rows ===== */
.uniMarqueeRow {
    overflow: hidden;
}

.uniMarqueeRow:last-child {
    margin-bottom: 0;
}

.uniMarqueeTrack {
    display: flex;
    padding: 0;
    width: max-content;
}
 
/* Row 1: scroll left */
.uniTrackLeft {
    animation: marqueeLeft 60s linear infinite;
}

/* Row 2: scroll right */
.uniTrackRight {
    animation: marqueeRight 60s linear infinite;
}

/* Pause on hover */
.uniMarqueeRow:hover .uniMarqueeTrack {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.uniMarqueeContent {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
    flex-shrink: 0;
}

/* ===== Badge ===== */
.uniBadge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.uniBadge:hover {
    transform: translateY(-3px);
   
}

.uniBadge img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.uniBadge:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== Stats Row ===== */
.uniStatsRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 70px;
}

.uniStatItem {
    text-align: center;
    background: var(--color-bg-primary, #EEF3FC);
    border-radius: 12px;
    padding: 15px 7px;
    max-width: 123px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.uniStatItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 102, 212, 0.12);
}

.uniStatValue {
    font-family: var(--font-primary, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: 25px;
    line-height: 170%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--color-primary, #3A66D4);
}

.uniStatLabel {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 400;
    color: #657077;
    line-height: 1.3;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .uniMarqueeWrap {
        max-width: calc(100% - 48px);
    }

    .uniMarqueeWrap::before,
    .uniMarqueeWrap::after {
        width: 60px;
    }
}

@media (max-width: 768px) {
   
    .uniMarqueeWrap {
        max-width: calc(100% - 32px);
        margin-bottom: 32px;
        padding: 16px 0;
        border-radius: 40px;
    }

    .uniMarqueeContent {
        gap: 36px;
        padding: 0 16px;
    }

    .uniBadge img {
        height: 28px;
    }

    .uniStatsRow {
        gap: 12px;
        margin-top: 40px;
    }

    .uniStatItem {
        padding: 12px 8px;
        max-width: 115px;
        min-height: 88px;
    }

    .uniStatValue {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .uniMarqueeWrap {
        max-width: calc(100% - 24px);
        padding: 30px 0;
        border-radius: 30px;
    }

    .uniMarqueeWrap::before,
    .uniMarqueeWrap::after {
        width: 40px;
    }

    .uniMarqueeContent {
        gap: 24px;
        padding: 0 12px;
    }

    .uniBadge img {
        height: auto;
    }

    .uniStatsRow {
        gap: 10px;
        margin-top: 32px;
    }

    .uniStatItem {
        padding: 10px 6px;
        max-width: 100px;
    }

    .uniStatValue {
        font-size: 20px;
    }
}
 