#project {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

#project .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

#project .particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background: transparent;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    background-color: rgba(255, 146, 237, 0.9);
    animation: moveParticle linear infinite;
    opacity: 0.8;
}

@keyframes moveParticle {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(var(--x), var(--y)) scale(1.5); opacity: 1; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
}

.dashboardcards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.card {
    position: relative;
    background-color: #000;
    border: 3px solid #ff007f;
    width: 560px;
    height: 510px;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(255, 0, 127, 0.45);
    margin: 10px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.imagecard {
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.imagecard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.namecard {
    font-size: 22px;
    color: #fff;
    margin: 16px 20px 0;
}

.descriptioncard {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 6px 20px 12px;
    line-height: 1.4;
    text-align: left; 
}

.languages {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px;
    margin-bottom: 10px;
}

.containerlanguage {
    background-color: rgba(255, 0, 128, 0.2);
    color: #e6c1d3;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 13px;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    margin-top: auto;
    margin-bottom: 10px;
    align-self: flex-end; 
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.green { background-color: #00ff00; }
.status-dot.yellow { background-color: #ffdd00; }
.status-dot.blue { background-color: #00aaff; }

.status-text {
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.btnmore {
    width: 100%;
    background: linear-gradient(180deg, #331926, #ff0783);
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    margin-top: auto;
    margin-bottom: 5px;
    z-index: 2;
}

.btnmore i { 
    margin-left: 10px; 
}

.btnmore:hover {
    background: linear-gradient(180deg, #793859, #b63676);
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 5px 8px rgba(255, 0, 127, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 2px 8px rgba(255, 0, 128, 0.336); }
    100% { transform: scale(1); }
}

.btnLoadMoreProjects {
    background: linear-gradient(180deg, #66003f, #990066);
    color: white;
    font-size: 16px;
    padding: 14px 30px;
    margin-top: 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: pulseJump 1.5s infinite;
    box-shadow: 0 5px 15px rgba(102, 0, 63, 0.6);
}

.btnLoadMoreProjects i { 
    margin-left: 6px; 
}

.btnLoadMoreProjects:hover {
    background: linear-gradient(180deg, #990066, #cc0099);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(153, 0, 102, 0.6);
}

@keyframes pulseJump {
    0% { transform: translateY(0); box-shadow: 0 5px 15px rgba(102,0,63,0.6); }
    25% { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(102,0,63,0.7); }
    50% { transform: translateY(0); box-shadow: 0 5px 15px rgba(102,0,63,0.6); }
    75% { transform: translateY(-3px); box-shadow: 0 7px 18px rgba(102,0,63,0.65); }
    100% { transform: translateY(0); box-shadow: 0 5px 15px rgba(102,0,63,0.6); }
}

@media (max-width: 768px) {
    .title .subtitle { 
        font-size: 14px; 
        margin-top: -45px; 
    }

    .title .subtitle .highlight { 
        font-size: 14px; 
    }

    .title .p { 
        font-size: 14px; 
        margin-top: -25px; 
    }
        
    .dashboardcards {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 15px;
        padding: 10px;
    }
    
    .dashboardcards::before,
    .dashboardcards::after {
        content: "";
        flex: 0 0 50%;
    }

    .dashboardcards::-webkit-scrollbar {
        display: none;
    }

    .card { 
        display: flex;
        flex-direction: column;
        height: 500px; 
        padding: 0px; 
        flex: 0 0 380px;
        scroll-snap-align: center;
        margin: 0;
    }
    
    .imagecard {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .imagecard img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .namecard {
        font-size: 20px;
        margin: 10px 15px 0;
    }

    .descriptioncard {
        font-size: 14px;
        margin: 5px 15px 0;
    }
    
    .containerlanguage {
        margin-top: 10px;
        padding: 3px 8px; 
        font-size: 12px; 
    }

    .languages { 
        gap: 3px; 
        margin-bottom: 5px; 
        padding: 0 15px;
    }
    
    .status { 
        display: flex;
        gap: 4px; 
        margin-top: auto;
        padding: 20px;
        margin-bottom: 5px;
    }

    .status-dot { 
        width: 10px; 
        height: 10px; 
    }

    .status-text { 
        font-size: 8px; 
    }

    .btnmore { 
        font-size: 15px; 
        padding: 10px 10px; 
        margin: 5px 0 10px 0; 
    }

    .dots-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    .dots-container .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #555;
        cursor: pointer;
        animation: blink 2s infinite ease-in-out;
        transition: all 0.3s ease;
    }

    .dots-container .dot.active {
        background-color: #ff007f;
        transform: scale(1.4);
        animation: none;
    }

    @keyframes blink {
        0%, 100% { opacity: 0.6; }
        50% { opacity: 1; }
    }
}
