/* AI Features CSS */
.ai-feature-section {
    background: linear-gradient(135deg, #0a2540 0%, #1a4980 100%) !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.ai-feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 1;
}

.ai-feature-section .container {
    position: relative;
    z-index: 2;
}

.ai-feature-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ai-feature-section .section-header h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.ai-feature-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #4db8ff;
}

.ai-feature-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.ai-feature-section .feature-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.ai-feature-section .feature-text h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.ai-feature-section .feature-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.ai-feature-section .feature-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.ai-feature-section .feature-list li i {
    color: #4db8ff;
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.ai-feature-section .feature-list li div {
    flex: 1;
}

.ai-feature-section .feature-list li h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.ai-feature-section .feature-list li p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.ai-feature-section .feature-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.ai-feature-section .feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 184, 255, 0.3) 0%, rgba(0, 83, 159, 0.3) 100%);
    z-index: 1;
}

.ai-feature-section .feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ai-feature-section .feature-image:hover img {
    transform: scale(1.05);
}

/* AI Nav Item Styling */
.ai-nav-item {
    background: linear-gradient(135deg, #0a2540 0%, #1a4980 100%);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ai-nav-item::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: rgba(77, 184, 255, 0.5);
    border-radius: 50%;
    z-index: 1;
}

.ai-nav-item .feature-nav-icon {
    color: #4db8ff;
    position: relative;
    z-index: 2;
}

.ai-nav-item span {
    color: white;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Pulse animation for AI icon */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(77, 184, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(77, 184, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(77, 184, 255, 0);
    }
}

.ai-nav-item .feature-nav-icon {
    animation: pulse 2s infinite;
}

/* Responsive styles */
@media (max-width: 992px) {
    .ai-feature-section .feature-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .ai-feature-section .feature-image {
        width: 100%;
    }
    
    .ai-feature-section .feature-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ai-feature-section .section-header h2 {
        font-size: 2rem;
    }
    
    .ai-feature-section .feature-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .ai-feature-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .ai-feature-section .feature-list li {
        margin-bottom: 1rem;
    }
    
    .ai-feature-section .feature-list li h4 {
        font-size: 1.1rem;
    }
}
