/* AI Automation & Modern Enhancements - Preserves Existing Theme Colors */
/* Primary: #06A3DA | Secondary: #34AD54 | Light: #EEF9FF | Dark: #091E3E */

.ai-hero-carousel {
    position: relative;
    background-color: #091E3E;
    overflow: hidden;
}

.ai-hero-carousel .carousel-item {
    position: relative;
}

.ai-hero-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 30, 62, 0.84) 0%, rgba(9, 30, 62, 0.58) 55%, rgba(6, 163, 218, 0.28) 100%);
    z-index: 1;
}

.ai-hero-carousel .carousel-caption {
    z-index: 3;
    background: transparent !important;
}

.ai-hero-carousel .carousel-control-prev,
.ai-hero-carousel .carousel-control-next {
    z-index: 4;
}

.ai-canvas-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ai-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(6, 163, 218, 0.16);
    border: 1px solid rgba(6, 163, 218, 0.45);
    color: #EEF9FF;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ai-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #34AD54;
    box-shadow: 0 0 0 0 rgba(52, 173, 84, 0.7);
    animation: aiPulse 1.8s infinite;
}

@keyframes aiPulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 173, 84, 0.75); }
    70% { box-shadow: 0 0 0 8px rgba(52, 173, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 173, 84, 0); }
}

/* AI Automation Showcase Section */
.ai-showcase-section {
    position: relative;
    background: linear-gradient(135deg, #091E3E 0%, #061429 100%);
    overflow: hidden;
}

.ai-showcase-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(6, 163, 218, 0.25);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 3;
}

.ai-showcase-card:hover {
    transform: translateY(-6px);
    border-color: #06A3DA;
    box-shadow: 0 12px 28px rgba(6, 163, 218, 0.18);
}

.ai-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: rgba(6, 163, 218, 0.15);
    border: 1px solid rgba(6, 163, 218, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #06A3DA;
    font-size: 1.4rem;
}

.blog-item,
.service-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item:hover,
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(9, 30, 62, 0.12);
}

@media (max-width: 768px) {
    .ai-hero-carousel .carousel-item img {
        height: 440px !important;
    }
    .ai-hero-carousel .display-3 {
        font-size: 1.9rem;
    }
}
