/* Logo card (logo ka text dark hai, isliye white card zaroori hai) */
/*.ccs-logo-card {
    max-width: 420px;
}*/
/* Logo: animated gradient border + float + glow + shine */
.ccs-logo-ring {
    max-width: 440px;
    background: linear-gradient(90deg, #ff971d, #ffffff, #7A2FA6, #ff971d, #ffffff, #7A2FA6);
    background-size: 300% 100%;
    animation: ccsBarSlide 4s linear infinite alternate, ccsCcFloat 4s ease-in-out infinite, ccsCcGlow 3s ease-in-out infinite;
}

.ccs-logo-inner {
    position: relative;
    overflow: hidden;
}

    /* halki chamak jo logo ke upar se guzarti hai */
    .ccs-logo-inner::after {
        content: '';
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(100deg, transparent, rgba(255, 151, 29, .25), transparent);
        transform: skewX(-20deg);
        animation: ccsCcShine 4.5s ease-in-out infinite;
        pointer-events: none;
    }

@keyframes ccsCcFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes ccsCcGlow {
    0%, 100% {
        box-shadow: 0 10px 30px -8px rgba(255, 151, 29, .35);
    }

    50% {
        box-shadow: 0 16px 44px -6px rgba(255, 151, 29, .7);
    }
}

@keyframes ccsCcShine {
    0%, 55% {
        left: -60%;
    }

    100% {
        left: 130%;
    }
}

/* Section tag + anchor offset */
.ccs-sec-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 14px;
    border-radius: 30px;
    background: var(--ccs-gradient-soft);
    color: var(--ccs-purple);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.ccs-anchor {
    scroll-margin-top: 80px;
}

/* Tagline box */
.ccs-tagline-box {
    background: linear-gradient(110deg, #16133d 0%, #28205d 38%, #563a76 68%, #9b542f 100%);
    border-bottom: 5px solid var(--ccs-orange);
}

/* College cards */
.ccs-col-card {
    transition: transform .3s ease, box-shadow .3s ease;
}
/*=============================    cologe  border animation    ==============================*/
/* College card: chalti hui gradient border (home page jaisi) */
/* .ccs-col-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 2px;
        background: linear-gradient(90deg, #241246, #3b1f7a, var(--ccs-purple), var(--ccs-orange), var(--ccs-purple), #3b1f7a, #241246);
        background-size: 300% 100%;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: ccsBarSlide 6s linear infinite;
        pointer-events: none;
        z-index: 3;
    }*/

/*=============================    cologe  border animation    ==============================*/
@property --ccs-ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.ccs-col-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--ccs-ang), transparent 0deg, transparent 250deg, var(--ccs-orange) 320deg, var(--ccs-purple) 360deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ccsColSpin 10s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes ccsColSpin {
    to {
        --ccs-ang: 360deg;
    }
}

/*===============================================*/

.ccs-col-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -14px rgba(16, 27, 61, .35) !important;
}

.ccs-col-img {
    height: 210px;
    object-fit: cover;
    background: #e9ebf3;
}

.ccs-col-tag {
    background: linear-gradient(135deg, #2c1a63, var(--ccs-purple));
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
}

.ccs-col-ic {
    color: var(--ccs-purple);
}

.ccs-col-btn {
    background: linear-gradient(135deg, #2c1a63, var(--ccs-purple));
    color: #fff;
    border: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .ccs-col-btn:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px -8px rgba(122, 47, 166, .6);
    }

.ccs-col-link {
    color: var(--ccs-purple);
}

    .ccs-col-link:hover {
        color: var(--ccs-orange);
    }

/* =========================================================
   CAMPUS CONNECT BANNER (orbit design)
   ========================================================= */

/* Logo ke colours ka gradient + peeche tairte circles */
/*.ccs-cc-banner {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .18), transparent 40%), radial-gradient(circle at 100% 100%, rgba(245, 148, 30, .9), transparent 45%), linear-gradient(110deg, #0a3aa8 0%, #2f2fc9 38%, #6a35c8 66%, #f58a1f 100%);
}*/
.ccs-cc-banner {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .15), transparent 45%), linear-gradient(110deg, #16133d 0%, #28205d 38%, #563a76 68%, #9b542f 100%);
}

    .ccs-cc-banner::before,
    .ccs-cc-banner::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, .07);
        pointer-events: none;
        animation: ccsCcDrift 10s ease-in-out infinite alternate;
    }

    .ccs-cc-banner::before {
        width: 420px;
        height: 420px;
        top: -140px;
        left: -120px;
    }

    .ccs-cc-banner::after {
        width: 300px;
        height: 300px;
        right: -90px;
        bottom: -120px;
        animation-delay: 2s;
    }

    .ccs-cc-banner > .container-xl {
        position: relative;
        z-index: 1;
    }

@keyframes ccsCcDrift {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(24px, 18px);
    }
}

/* Glass look */
.ccs-glass {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Orange button */
.ccs-cc-btn {
    background: linear-gradient(90deg, #f58a1f, #e8650f);
    border: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .ccs-cc-btn:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .32);
    }

/* Badge ke andar chamakta dot */
.ccs-live-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffb347;
    animation: ccsCcPulse 1.8s ease-out infinite;
}

@keyframes ccsCcPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 179, 71, .7);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(255, 179, 71, 0);
    }
}

/* Orbit */
.ccs-orbit {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
}

    .ccs-orbit::before {
        content: '';
        position: absolute;
        inset: 12%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
    }

.ccs-orbit-ring {
    --dur: 30s;
    border: 2px dashed rgba(255, 255, 255, .38);
    animation: ccsOrbSpin var(--dur) linear infinite;
}

    .ccs-orbit-ring.r1 {
        inset: 3%;
    }

    .ccs-orbit-ring.r2 {
        --dur: 22s;
        inset: 20%;
        border-color: rgba(255, 179, 71, .65);
        animation-direction: reverse;
    }

.ccs-orbit-dot {
    width: 54px;
    height: 54px;
    color: #f58a1f;
}

    .ccs-orbit-dot.sm {
        width: 40px;
        height: 40px;
        font-size: .95rem;
    }

    /* Icon seedha rahe (ring ke ulta ghoomta hai) */
    .ccs-orbit-dot i {
        display: inline-block;
        animation: ccsOrbSpin var(--dur) linear infinite reverse;
    }

.ccs-orbit-ring.r2 .ccs-orbit-dot i {
    animation-direction: normal;
}

@keyframes ccsOrbSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Chhoti screen par dots thode chhote */
@media (max-width: 575.98px) {
    .ccs-orbit-dot {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

        .ccs-orbit-dot.sm {
            width: 32px;
            height: 32px;
            font-size: .8rem;
        }
}

/* Jinhe animation pasand nahi (device setting) */
@media (prefers-reduced-motion: reduce) {
    .ccs-orbit-ring,
    .ccs-orbit-dot i,
    .ccs-cc-banner::before,
    .ccs-cc-banner::after,
    .ccs-live-dot {
        animation: none;
    }
}
