﻿.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-container {
    flex: 0 0 100%;
    max-width: 100%;
}

.card-container:hover {
    transform: scale(1.015);
    z-index: 10;
}

.card-container:hover .card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


@media (min-width: 640px) {
    .card-container {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}


@media (min-width: 992px) {
    .card-container {
        flex: 0 0 calc(33.3333% - 0.67rem);
        max-width: calc(33.3333% - 0.67rem);
    }
}

@media (min-width: 1300px) {
    .card-container {
        flex: 0 0 calc(25% - 0.75rem);
        max-width: calc(25% - 0.75rem);
    }
}


/*@media (max-width: 767.98px) {
    .flex-shrink-0 {
        width: 100% !important;
    }
}*/
.info-cols {
    margin-left: -8px;
    margin-right: -8px;
}

    .info-cols > .col-12 {
        padding-left: 8px;
        padding-right: 8px;
    }


.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

    .info-item a {
        position: relative;
        z-index: 2;
    }


.info-icon {
    width: 24px; /* Fixed width to align text */
    text-align: center;
    margin-right: 10px;
}

.info-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

    .info-text a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


@media (max-width: 767.98px) {
    .collapse-on-small {
        flex-direction: column;
    }
}

.hover-lift {
    transition: transform 0.2s ease-in-out;
    position: relative;
}

    .hover-lift:hover {
        transform: scale(1.015);
        z-index: 10;
    }

        .hover-lift:hover .card {
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        }


.Institution-heading {
    font-size: 2rem; /* Same as Bootstrap h4 */
    font-weight: 700; /* Bold */
    line-height: 1.2;
    margin-bottom: 0;
}



.scroll-x-hidden::-webkit-scrollbar {
    display: none;
}

.scroll-x-hidden {
    scrollbar-width: none;
    -ms-overflow-style: none;
}










.intake-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background-color: rgba(212, 175, 55, 0.92); /* rich gold */
    color: #212529; /* dark readable text */

    padding: 0.45em 0.75em;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); /* subtle lift */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .intake-badge i {
        color: #212529; /* match icon to text */
    }

    .intake-badge:hover {
        background-color: rgba(255, 215, 0, 1); /* bright gold on hover */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); /* stronger lift */
    }


.btn-outline-primary {
    border-radius: 0.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background-color: #21374C; /* Brand navy blue */
        color: #fff;
        border-color: #21374C;
    }







