/* Managed IT Solutions Section Styles */
.managed-it-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.managed-it-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg, rgba(206, 32, 38, 0.03) 0%, rgba(206, 32, 38, 0) 100%);
    pointer-events: none;
}

.ses-way-header {
    max-width: 1000px;
    margin: 0 auto 100px;
    text-align: center;
    position: relative;
}

.ses-way-header h1 {
    font-size: 4rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.ses-way-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #CE2026;
    border-radius: 2px;
}

.section-intro {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto 20px;
    opacity: 0.9;
}

.section-intro:last-child {
    margin-bottom: 0;
}

.portfolio-title {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.portfolio-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #CE2026;
    border-radius: 2px;
}

.feature-card {
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #CE2026;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.feature-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
}

.process-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .process-image {
    transform: scale(1.1);
}

.feature-content {
    padding: 35px;
    position: relative;
}

.feature-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.feature-subtitle {
    font-size: 1.15rem;
    color: #CE2026;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.9;
}

.feature-text {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.05rem;
    line-height: 1.5;
    transition: transform 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
}

.feature-list li i {
    color: #CE2026;
    margin-right: 12px;
    font-size: 18px;
    opacity: 0.9;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .ses-way-header h1 {
        font-size: 3.5rem;
    }
    
    .feature-image {
        height: 280px;
    }
}

@media (max-width: 991px) {
    .managed-it-section {
        padding: 100px 0 60px;
    }
    
    .ses-way-header {
        margin-bottom: 80px;
    }
    
    .ses-way-header h1 {
        font-size: 3rem;
    }
    
    .portfolio-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .feature-content {
        padding: 30px;
    }
    
    .feature-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .managed-it-section {
        padding: 80px 0 40px;
    }
    
    .ses-way-header {
        margin-bottom: 60px;
    }
    
    .ses-way-header h1 {
        font-size: 2.5rem;
    }
    
    .section-intro {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .portfolio-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .feature-image {
        height: 240px;
    }
    
    .feature-content {
        padding: 25px;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 1rem;
    }
}
