/* Company Features Section */
.sdcf-features-section {
    margin: 0;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4fd 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.sdcf-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23e3f2fd" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.5;
    z-index: 1;
}

.sdcf-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.sdcf-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.sdcf-title {
    font-size: 3rem;
    font-weight: 700;
    color: #154681;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.2;
}

.sdcf-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #a3d7ff 0%, #154681 100%);
    margin: 25px auto 0;
    border-radius: 3px;
}

.sdcf-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Features Grid */
.sdcf-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-top: 50px;
}

/* Feature Item */
.sdcf-feature-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(21, 70, 129, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.sdcf-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(163, 215, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.sdcf-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(21, 70, 129, 0.15);
    border-color: #a3d7ff;
}

.sdcf-feature-item:hover::before {
    left: 100%;
}

/* Feature Icon */
.sdcf-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #154681 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sdcf-feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sdcf-feature-item:hover .sdcf-feature-icon::before {
    opacity: 1;
}

.sdcf-feature-icon svg {
    width: 36px;
    height: 36px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.sdcf-feature-item:hover .sdcf-feature-icon svg {
    transform: scale(1.1);
}

/* Feature Content */
.sdcf-feature-content {
    position: relative;
    z-index: 1;
}

.sdcf-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #154681;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.sdcf-feature-item:hover .sdcf-feature-title {
    color: #2563eb;
}

.sdcf-feature-description {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.sdcf-feature-item:hover .sdcf-feature-description {
    color: #4b5563;
}

/* Responsive Design */

/* Large Desktop */
@media (max-width: 1400px) {
    .sdcf-container {
        padding: 0 30px;
    }
    
    .sdcf-features-grid {
        gap: 30px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .sdcf-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .sdcf-title {
        font-size: 2.5rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .sdcf-features-section {
        padding: 60px 0;
    }
    
    .sdcf-container {
        padding: 0 20px;
    }
    
    .sdcf-header {
        margin-bottom: 50px;
    }
    
    .sdcf-title {
        font-size: 2rem;
    }
    
    .sdcf-subtitle {
        font-size: 1.1rem;
    }
    
    .sdcf-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .sdcf-feature-item {
        padding: 30px 25px;
    }
    
    .sdcf-feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .sdcf-feature-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .sdcf-feature-title {
        font-size: 1.1rem;
    }
    
    .sdcf-feature-description {
        font-size: 0.9rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .sdcf-features-section {
        padding: 50px 0;
    }
    
    .sdcf-container {
        padding: 0 15px;
    }
    
    .sdcf-title {
        font-size: 1.75rem;
    }
    
    .sdcf-subtitle {
        font-size: 1rem;
    }
    
    .sdcf-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .sdcf-feature-item {
        padding: 25px 20px;
    }
    
    .sdcf-feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }
    
    .sdcf-feature-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .sdcf-feature-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .sdcf-feature-description {
        font-size: 0.85rem;
    }
}

/* Animation for sequential loading */
.sdcf-feature-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.sdcf-feature-item:nth-child(1) { animation-delay: 0.1s; }
.sdcf-feature-item:nth-child(2) { animation-delay: 0.2s; }
.sdcf-feature-item:nth-child(3) { animation-delay: 0.3s; }
.sdcf-feature-item:nth-child(4) { animation-delay: 0.4s; }
.sdcf-feature-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .sdcf-feature-item {
        border-color: #154681;
    }
    
    .sdcf-feature-title,
    .sdcf-feature-description {
        color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sdcf-feature-item,
    .sdcf-feature-icon,
    .sdcf-feature-icon svg,
    .sdcf-feature-item::before {
        transition: none;
        animation: none;
    }
    
    .sdcf-feature-item:hover {
        transform: none;
    }
    
    .sdcf-feature-item:hover .sdcf-feature-icon svg {
        transform: none;
    }
}
