/* Success Stories Section - Clean New Version */
.success-stories-new {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.success-stories-new::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e5f8b, #3498db, #1e5f8b);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1e5f8b;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e5f8b, #3498db);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.9;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 95, 139, 0.08);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 600px;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 95, 139, 0.15);
}

.story-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.story-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e5f8b;
    margin-bottom: 20px;
    position: relative;
}

.story-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #3498db;
    border-radius: 2px;
}

.story-description {
    flex: 1;
    margin-bottom: 25px;
}

.story-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
    text-align: left;
}

.story-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-item {
    background: #f8f9fa;
    padding: 12px 10px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.detail-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #1e5f8b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.detail-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.story-results {
    display: flex;
    gap: 20px;
}

.result-item {
    flex: 1;
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(30, 95, 139, 0.1);
    border: 1px solid rgba(30, 95, 139, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #1e5f8b);
}

.result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(30, 95, 139, 0.15);
}

.result-number {
    font-size: 28px;
    font-weight: 800;
    color: #1e5f8b;
    margin-bottom: 6px;
    line-height: 1;
}

.result-metric {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stories-grid {
        gap: 30px;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    .success-stories-new {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .story-card {
        min-height: auto;
    }
    
    .story-content {
        padding: 25px;
    }
    
    .story-title {
        font-size: 20px;
    }
    
    .story-description p {
        font-size: 14px;
    }
    
    .story-details {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .detail-item:nth-child(3) {
        grid-column: 1 / -1;
    }
    
    .result-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .success-stories-new {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stories-grid {
        padding: 0 15px;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .story-details {
        grid-template-columns: 1fr;
    }
    
    .result-number {
        font-size: 22px;
    }
}
