[data-category="infrastructure-ai"] .project-category,
.btn-filter[data-category="infrastructure-ai"] {
    background-color: #3498db;
    color: #fff;
    border: 2px solid #2980b9;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(41,128,185,0.18);
}
[data-category="machine-learning"] .project-category,
.btn-filter[data-category="machine-learning"] {
    background-color: #2ecc71;
    color: #fff;
    border: 2px solid #27ae60;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(46,204,113,0.18);
}
[data-category="scientific-computing"] .project-category,
.btn-filter[data-category="scientific-computing"] {
    background-color: #f39c12;
    color: #fff;
    border: 2px solid #e67e22;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(243,156,18,0.18);
}
[data-category="ai-cloud"] .project-category,
.btn-filter[data-category="ai-cloud"] {
    background-color: #9b59b6;
    color: #fff;
    border: 2px solid #8e44ad;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(155,89,182,0.18);
}
[data-category="data-science"] .project-category,
.btn-filter[data-category="data-science"] {
    background-color: #e74c3c;
    color: #fff;
    border: 2px solid #c0392b;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231,76,60,0.18);
}
[data-category="visualization"] .project-category,
.btn-filter[data-category="visualization"] {
    background-color: #34495e;
    color: #fff;
    border: 2px solid #2c3e50;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(52,73,94,0.18);
}
[data-category="data-visualization"] .project-category,
.btn-filter[data-category="data-visualization"] {
    background-color: #2980b9;
    color: #fff;
    border: 2px solid #2471a3;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(41,128,185,0.18);
}
[data-category="data-management"] .project-category,
.btn-filter[data-category="data-management"] {
    background-color: #00c2cb;
    color: #fff;
    border: 2px solid #0097a7;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,194,203,0.18);
}
[data-category="web-development"] .project-category,
.btn-filter[data-category="web-development"] {
    background-color: #1abc9c;
    color: #fff;
    border: 2px solid #16a085;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26,188,156,0.18);
}
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
    border-radius: 50%;
    background-color: var(--uv-secondary-color);
}

.particle-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation: float-1 60s linear infinite;
}

.particle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation: float-2 70s linear infinite;
}

.particle-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 40%;
    animation: float-3 50s linear infinite;
}

.particle-4 {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 30%;
    animation: float-4 65s linear infinite;
}

@keyframes float-1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 100px) rotate(90deg); }
    50% { transform: translate(0, 200px) rotate(180deg); }
    75% { transform: translate(-100px, 100px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-150px, -100px) rotate(120deg); }
    66% { transform: translate(150px, -200px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(100px, -100px) rotate(72deg); }
    40% { transform: translate(200px, 0) rotate(144deg); }
    60% { transform: translate(100px, 100px) rotate(216deg); }
    80% { transform: translate(-100px, 0) rotate(288deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes float-4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-100px, 50px) rotate(90deg); }
    50% { transform: translate(-50px, 100px) rotate(180deg); }
    75% { transform: translate(100px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.codezero-logo {
    display: flex;
    transition: all 0.3s ease;
    padding: 15px 20px;
    border-radius: 8px;
    background-color: rgba(20, 24, 33, 0.6);
    border: 1px solid rgba(102, 252, 241, 0.15);
    height: 110px;
    width: 100%;
    max-width: 280px;
}

.codezero-logo:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 25px rgba(102, 252, 241, 0.25);
    background-color: rgba(26, 30, 40, 0.8);
    border-color: rgba(102, 252, 241, 0.3);
}

/* Project showcase specific styles */
.partnership-box {
    background-color: rgba(69, 162, 158, 0.1);
    border: 1px solid rgba(102, 252, 241, 0.2);
    position: relative;
}

.partnership-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.375rem;
    padding: 2px;
    background: linear-gradient(45deg, var(--uv-primary-color), var(--uv-highlight-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
    pointer-events: none;
}

.partnership-box h3 {
    color: var(--uv-primary-color);
    font-weight: 600;
}

/* Filters container */
.filters-container {
    background-color: var(--uv-dark-accent);
    border: 1px solid rgba(69, 162, 158, 0.2);
}

.filter-title {
    color: var(--uv-primary-color);
    font-weight: 600;
}

.filter-input {
    background-color: rgba(11, 12, 16, 0.7);
    border: 1px solid var(--uv-secondary-color);
    color: var(--uv-text-light);
    border-radius: 4px;
}

.filter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(102, 252, 241, 0.5);
    border-color: var(--uv-primary-color);
}

.category-filter {
    color: var(--uv-text-light);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 252, 241, 0.1);
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.3);
}

.category-filter[data-category="all"] {
    background-color: rgba(127, 140, 141, 0.4); /* Gray */
}

.category-filter[data-category="infrastructure-ai"] {
    background-color: rgba(52, 152, 219, 0.4); /* Blue */
}

.category-filter[data-category="machine-learning"] {
    background-color: rgba(46, 204, 113, 0.4); /* Green */
}

.category-filter[data-category="scientific-computing"] {
    background-color: rgba(243, 156, 18, 0.4); /* Yellow/Orange */
}

.category-filter[data-category="ai-cloud"] {
    background-color: rgba(155, 89, 182, 0.4); /* Purple */
}

.category-filter[data-category="data-science"] {
    background-color: rgba(231, 76, 60, 0.4); /* Red */
}

.category-filter[data-category="visualization"] {
    background-color: rgba(52, 73, 94, 0.4); /* Dark Gray/Blue */
}

.category-filter:hover {
    transform: translateY(-2px);
    filter: brightness(1.3);
}

.category-filter.active {
    color: white;
    font-weight: bold;
}

.category-filter.active[data-category="all"] {
    background-color: rgba(127, 140, 141, 1); /* Gray */
}

.category-filter.active[data-category="infrastructure-ai"] {
    background-color: rgba(52, 152, 219, 1); /* Blue */
}

.category-filter.active[data-category="machine-learning"] {
    background-color: rgba(46, 204, 113, 1); /* Green */
}

.category-filter.active[data-category="scientific-computing"] {
    background-color: rgba(243, 156, 18, 1); /* Yellow/Orange */
}

.category-filter.active[data-category="ai-cloud"] {
    background-color: rgba(155, 89, 182, 1); /* Purple */
}

.category-filter.active[data-category="data-science"] {
    background-color: rgba(231, 76, 60, 1); /* Red */
}

.category-filter[data-category="data-visualization"] {
    background-color: rgba(41, 128, 185, 0.4); /* Light Blue */
}

.category-filter[data-category="data-management"] {
    background-color: rgba(0, 194, 203, 0.4); /* Teal */
}

.category-filter[data-category="web-development"] {
    background-color: rgba(26, 188, 156, 0.4); /* Emerald Green */
}

.category-filter.active[data-category="data-visualization"] {
    background-color: rgba(41, 128, 185, 1); /* Light Blue */
}

.category-filter.active[data-category="data-management"] {
    background-color: rgba(0, 194, 203, 1); /* Teal */
}

.category-filter.active[data-category="web-development"] {
    background-color: rgba(26, 188, 156, 1); /* Emerald Green */
}

/* Project card styles */
.project-card {
    background-color: #1a1e25; /* Darker background color */
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    height: 100%;
    position: relative;
    border: 1px solid rgba(69, 162, 158, 0.2);
    display: flex;
    flex-direction: column;
}

/* Fix for consistent card heights */
.project-card .project-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 15px !important; /* Override the p-4 class with slightly less padding */
}

.project-card .project-image {
    height: 150px; /* Fixed image height */
    overflow: hidden;
}

.project-card .project-description {
    font-size: 0.9rem; /* Slightly smaller description text */
    margin-bottom: 0.75rem !important; /* Less margin */
    line-height: 1.4;
    max-height: 80px;
    overflow: hidden;
}

.project-card .mb-4 {
    margin-bottom: 0.75rem !important; /* Reduce spacing between sections */
}

.project-card .btn-primary {
    margin-top: auto;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 252, 241, 0.2);
}

.category-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    background-color: rgba(26, 188, 156, 0.9);
    color: #0e1015;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.75rem;
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    color: #adb5bd;
    font-size: 0.9rem;
    line-height: 1.6;
}

.tech-section-title {
    color: #66FCF1;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tech-pill {
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 20px;
    background-color: #282e38;
    color: #adb5bd;
    display: inline-block;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.feature-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    color: #adb5bd;
    font-size: 0.85rem;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #66FCF1;
}

.btn-view-details {
    background-color: #66FCF1;
    color: #121212;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 10px 0;
    border-radius: 5px;
    margin-top: auto;
    transition: all 0.3s ease;
    border: none;
}

.btn-view-details:hover {
    background-color: #45a29e;
    color: #121212;
}

.project-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 12, 16, 0) 0%, rgba(11, 12, 16, 0.7) 100%);
    z-index: 1;
}

.project-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    color: #adb5bd;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tech-label {
    color: #66FCF1;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-block;
    border: 1px solid rgba(102, 252, 241, 0.1);
    background-color: #282e38;
    color: #adb5bd;
    margin-right: 4px;
    margin-bottom: 4px;
}

.key-features ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.key-features ul li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: #adb5bd;
    font-size: 0.9rem;
}

.key-features ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #66FCF1;
}

.gradient-btn {
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    border: none;
    color: #121212;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.7rem 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(102, 252, 241, 0.3);
    color: #121212;
}

/* Colored category tags based on category */

[data-category="infrastructure-ai"] .project-category {
    background-color: #3498db; /* Blue */
}

[data-category="machine-learning"] .project-category {
    background-color: #2ecc71; /* Green */
    color: #fff;
    border: 2px solid #27ae60;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(46,204,113,0.18);
}

[data-category="scientific-computing"] .project-category {
    background-color: #f39c12; /* Yellow/Orange */
}

[data-category="ai-cloud"] .project-category {
    background-color: #9b59b6; /* Purple */
}

[data-category="data-science"] .project-category {
    background-color: #e74c3c; /* Red */
}




.data-visualization {
    background-color: #3498db; /* Blue */
}

.data-management {
    background-color: #45a29e; /* Teal */
}

.web-development {
    background-color: #66FCF1; /* Teal/Cyan */
}

/* Data visualization color for category badge */
[data-category="data-visualization"] .category-badge, 
.category-badge.data-visualization {
    background-color: #3498db; /* Blue */
}

/* Data management color for category badge */
[data-category="data-management"] .category-badge,
.category-badge.data-management {
    background-color: #45a29e; /* Teal */
}

/* Web development color for category badge */
[data-category="web-development"] .category-badge,
.category-badge.web-development {
    background-color: #66FCF1; /* Teal/Cyan */
}

/* Project view button styles */
.project-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

.btn-view-project {
    background: linear-gradient(90deg, #66FCF1, #A020F0);
    border: none;
    color: #1a1e25;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-view-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(102, 252, 241, 0.3);
    color: #1a1e25;
}

.btn-view-project i {
    transition: transform 0.3s ease;
}

.btn-view-project:hover i {
    transform: translateX(5px);
}

.tech-title {
    color: var(--uv-primary-color);
    font-weight: 600;
}

.tech-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-block;
    border: 1px solid rgba(102, 252, 241, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    margin-right: 4px;
    margin-bottom: 4px;
}

.project-body ul {
    color: var(--uv-text-light);
    list-style-type: disc;
}

/* Button override */
.btn-primary {
    background: linear-gradient(90deg, var(--uv-primary-color), var(--uv-secondary-color));
    border: none;
    color: var(--uv-dark-bg);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--uv-secondary-color), var(--uv-primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 252, 241, 0.4);
}