.projects-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.projects-header { text-align: center; margin-bottom: 50px; }
.projects-header h1 {
    font-size: 3.2em;
    font-weight: 700;
    color: #FFFFFF;
      text-shadow: 
        -1px -1px 0 #007BFF,  
         1px -1px 0 #007BFF,
        -1px  1px 0 #007BFF,
         1px  1px 0 #007BFF;
    margin-bottom: 15px; }
.projects-header p { font-size: 1.2em; color: #a0a0a0; max-width: 600px; margin: 0 auto; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    z-index: 1;
    filter: blur(0.5px);
}

.project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(to top, 
        rgba(17, 21, 28, 0.95) 10%, 
        rgba(17, 21, 28, 0.7) 30%, 
        transparent 60%
    );

    padding: 20px;
    box-sizing: border-box;
    color: #ffffff;
    z-index: 3;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    pointer-events: none;
}

.project-title h3 {
    margin: 0;
    font-size: 1.6em;
    font-weight: 600;
}

.project-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 21, 28, 0.8);
    backdrop-filter: blur(5px);
    color: #EAEAEA;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.project-card:hover img {
    transform: scale(1.05);
    filter: blur(0px);
}
.project-card:hover .project-overlay {
    opacity: 1;
}
.project-card:hover .project-title {
    opacity: 0;
}

.project-overlay p {
    font-size: 1.1em;
    color: #a0a0a0;
    margin: 0 0 25px 0;
}

.project-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.project-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 450px) {
    .projects-grid { grid-template-columns: 1fr; }
}

.dashboard-showcase {
    margin-top: 80px; /* Space between the grid and this new section */
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-showcase h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.dashboard-showcase p {
    font-size: 1.2em;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.dashboard-image-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a222b;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dashboard-image-container img {
    width: 100%;
    height: auto;
    display: block; /* Removes any extra space below the image */
}