
/* Featured Project Card & Slider */
.projects-slider-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.projects-grid {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    height: 600px; /* Fixed height for stacking context */
    position: relative;
    perspective: 1000px;
}

.project-card-featured {
    display: flex;
    width: 100%;
    height: 100%;
    background: #111115;
    border-radius: 32px;
    padding: 24px;
    gap: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    position: absolute; /* Stack on top of each other */
    top: 0;
    left: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100px) scale(0.95); /* Start off-screen/small */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Smooth spring-like ease */
    pointer-events: none;
    z-index: 1;
}

.project-card-featured.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 10;
}

/* Optional: Different exit animation */
/* .project-card-featured.exit { ... } - simplified for now */

@keyframes fadeIn {
    /* Deprecated, handled by transition */
}

/* Left Side: Visual */
.project-visual {
    flex: 0 0 60%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a20;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
    font-size: 24px;
    font-weight: 600;
}

/* Distinct Gradients for Placeholders */
.RecruiterOne-bg { background: linear-gradient(135deg, #2a2a35 0%, #1a1a20 100%); }
.Lumio-bg { background: linear-gradient(135deg, #231136 0%, #1a1a20 100%); } /* Purple tint */
.Nexus-bg { background: linear-gradient(135deg, #0f2e2e 0%, #1a1a20 100%); } /* Teal tint */

.project-stat-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.stat-value {
    display: block;
    font-size: 80px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
}

.stat-label {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-top: 8px;
    font-weight: 500;
    margin-left: 4px;
    position: relative;
    gap: 20px;
}

.stat-label::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(255,255,255,0.3);
}

/* Right Side: Content */
.project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

/* Top Content */
.info-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.info-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: 100px;
}

.info-title {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Bottom Content */
.info-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 20px;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.info-desc {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 20px;
}

.slider-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.5);
}

/* Responsive */
@media (max-width: 900px) {
    .project-card-featured {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 30px;
    }

    .project-visual {
        flex: none;
        width: 100%;
        height: 300px;
    }

    .stat-value { font-size: 48px; }
    .info-title { font-size: 32px; }
    .info-desc { font-size: 18px; }
}
