.container-fluid {
    padding: 40px 20px;
    background-color: #34343D;
    padding-left:15%;
    padding-right:15%;
    padding-top: 20px;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    padding: 2rem;
    background: #FFF;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.case-study {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.case-study.visible {
    opacity: 1;
    transform: translateY(0);
}

.case-study:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border-color: var(--color-cronacblue);
}

.case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 127, 200, 0.1), transparent);
    transition: left 0.6s ease;
}

.case-study:hover::before {
    left: 100%;
}

.case-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.case-logo:hover {
    transform: rotateY(10deg) scale(1.05);
}

.case-logo img {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.case-text {
    position: relative;
}

.case-text h1 {
    font-family: var(--cs-theme-primary-headline-font);
    background-color: white;
    color: var(--cs-theme-primary-background-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.case-text h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-cronacblue);
    border-radius: 2px;
}

.case-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.left-border {
    border-left: 4px solid var(--color-cronacblue);
    padding-left: 2rem;
}

.right-border {
    border-right: 4px solid var(--color-cronacblue);
    padding-right: 2rem;
}

.tech-tag {
    display: inline-block;
    background: rgba(56, 127, 200, 0.2);
    color: var(--color-cronacblue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin: 0.2rem;
    border: 1px solid var(--color-cronacblue);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--color-cronacblue);
    color: white;
    transform: scale(1.1);
}

.stats-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(56, 127, 200, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.case-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--cs-theme-primary-headline-font);
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-cronacblue);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.filter-buttons {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--color-cronacblue);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    margin: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--cs-theme-secondary-text-font);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-cronacblue);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(56, 127, 200, 0.4);
}

@media (max-width: 768px) {
    .main-title .orangeText,
    .main-title .greenText,
    .main-title .blueText {
        font-size: 2.5rem !important;
    }
    
    .intro-text, .case-text {
        font-size:1rem;
    }

    .case-study {
        margin-bottom: 2rem;
    }
    
    .case-study:hover {
        transform: none;
    }
    
    .case-logo {
        margin-bottom: 1rem;
    }
    
    .left-border,
    .right-border {
        border: none;
        padding: 0;
        border-top: 4px solid var(--color-cronacblue);
        padding-top: 1rem;
        margin-top: 1rem;
    }
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    z-index: 1000;
}

.scroll-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-orange), var(--color-cronacblue));
    width: 0%;
    transition: width 0.1s ease;
}