/* =========================================
   ENHANCED PROJECT CARD VISUALS
   ========================================= */

/* Base Overlay Style */
.thumb-content-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0.9;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
}

.thumb-content-layer i {
    font-size: 3.5rem;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    animation: floatIcon 3s ease-in-out infinite;
}

.thumb-content-layer span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Specific Card Styling */

/* Bookstore - Classic Database Blue/Teal Theme - REMOVED OVERLAY as requested */
/* #card-bookstore .thumb-content-layer {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.85), rgba(5, 150, 105, 0.6));
} */

#card-bookstore:hover .thumb-content-layer {
    opacity: 0;
    /* Reveal underlying image on hover if desired, or keep it */
}

/* UIDAI - Official Look (Oranges/Blues or simple Government tech aesthetic) - REMOVED OVERLAY */
/* #card-uidai .thumb-content-layer {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.85), rgba(220, 38, 38, 0.6));
} */

#card-uidai:hover .thumb-content-layer {
    opacity: 0.95;
    /* background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(185, 28, 28, 0.8)); */
}


/* All Cards - Enhanced Hover Glow & Tilt */
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-accent);
}

.project-card:hover::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent), var(--primary-accent));
    background-size: 200%;
    border-radius: 18px;
    animation: neonBorder 3s linear infinite;
    opacity: 0.6;
}

@keyframes neonBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Fix Project Thumb Height consistency if needed */
.project-thumb {
    height: 220px;
    /* Slight increase for better visibility */
}

/* Light Theme Adjustments */
body.light-theme .thumb-content-layer {
    opacity: 0.85;
    /* Slightly less opaque for light theme */
}

body.light-theme .thumb-content-layer span {
    background: rgba(255, 255, 255, 0.7);
    color: #000;
    text-shadow: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}