/* Custom Animations for CampusHub */

.flash-pop:hover {
    animation: pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Scrollbar hiding for horizontal scroll areas */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* New Hover Effects */
.card-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-scale:hover {
    transform: scale(1.02);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Premium Hover Effects */
.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.3);
    transform: translateY(-2px);
    border-color: #FF5722;
}

.hover-float {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-float:hover {
    transform: translateY(-8px) scale(1.02);
}

.admin-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 4px solid transparent;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.admin-card-blue:hover {
    border-bottom-color: #0A2540;
}

.admin-card-green:hover {
    border-bottom-color: #059669;
}

.admin-card-orange:hover {
    border-bottom-color: #EA580C;
}

.pattern-dots {
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

/* New Premium Colors */
.bg-brand-navy {
    background-color: #0f172a;
}

.text-brand-navy {
    color: #0f172a;
}

.hover-shadow-strong:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
/* Shine Effect */
.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s;
    pointer-events: none;
}

.hover-shine:hover::after {
    left: 125%;
}


/* Continuous Animations */
@keyframes pulse-slow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-float-slow {
    animation: float-slow 4s infinite ease-in-out;
}

@keyframes shimmer-text {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-shimmer-text {
    background: linear-gradient(to right, #fff 20%, #ffd700 40%, #fff 60%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 3s linear infinite;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card-tall { grid-row: span 2; }
.card-wide { grid-column: span 2; }

/* Colored Cards */
.card-blue { background: linear-gradient(135deg, #0A2540 0%, #1a3b5c 100%); color: white; }
.card-orange { background: linear-gradient(135deg, #FF5722 0%, #ff8a65 100%); color: white; }
.card-purple { background: linear-gradient(135deg, #7C4DFF 0%, #B388FF 100%); color: white; }
.card-green { background: linear-gradient(135deg, #00C853 0%, #69F0AE 100%); color: white; }
.card-white { background: white; color: #333; border: 1px solid #eee; }

.card-blue h3, .card-orange h3, .card-purple h3, .card-green h3 { color: white !important; }
.card-blue p, .card-orange p, .card-purple p, .card-green p { color: rgba(255,255,255,0.8) !important; }

