/* ===================================
   AUTOMATION DETAIL SECTION STYLES
   =================================== */

.illustration svg {
    display: block;
    margin: 0 auto;
}
.hero .container {
    text-align: center;
}
.section-title {
    text-align: center !important;
    width: 100%;
}
 

.automation-detail-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.automation-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fb8500, #ffb703, #3e92cc);
}

.automation-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}


.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    font-weight: 400;
}

.subsection-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0a2463;
    text-align: center;
    margin-bottom: 40px;
    position: center;
    padding-bottom: 15px;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #fb8500, #ffb703);
}

/* Architecture Visualization */
.architecture-visualization {
    margin-bottom: 80px;
}

.illustration-large {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.illustration-large svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.rotating-cog {
    transform-origin: center;
}

/* Feature Detailed Grid */
.automation-features {
    margin-bottom: 80px;
}

.feature-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-detailed {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: #fb8500;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-detailed h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #0a2463;
    margin-bottom: 15px;
}

.feature-detailed p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.feature-specs li {
    position: relative;
    padding-left: 25px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.feature-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Workflow Timeline */
.workflow-automation {
    margin-bottom: 80px;
}

.workflow-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 50px;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #fb8500, #3e92cc);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    gap: 30px;
}

.timeline-marker {
    position: absolute;
    left: -30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #fb8500;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(251, 133, 0, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .marker-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(251, 133, 0, 0.3);
}

.marker-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fb8500;
    background: white;
    padding: 4px 8px;
    border-radius: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateX(5px);
}

.timeline-content h4 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #0a2463;
    margin-bottom: 12px;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.tech-detail {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    padding: 10px 15px;
    background: #f8f9fa;
    border-left: 3px solid #fb8500;
    border-radius: 4px;
}

/* Benefits Grid */
.automation-benefits {
    margin-bottom: 80px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: linear-gradient(135deg, #0a2463, #1a3a73);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fb8500, #ffb703);
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(251, 133, 0, 0.3);
}

.benefit-stat {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffb703;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255, 183, 3, 0.3);
}

.benefit-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

/* Technical Stack */
.technical-stack {
    margin-bottom: 60px;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tech-item {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.tech-item:hover {
    border-color: #3e92cc;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(62, 146, 204, 0.2);
}

.tech-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0a2463, #3e92cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: white;
}

.tech-item h5 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a2463;
    margin-bottom: 12px;
}

.tech-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-timeline {
        padding-left: 30px;
    }
    
    .timeline-marker {
        left: -20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .subsection-title {
        font-size: 1.6rem;
    }
    
    .lead-text {
        font-size: 1.05rem;
    }
    
    .illustration-large {
        padding: 20px;
    }
    
    .illustration-large svg {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-stat {
        font-size: 2.8rem;
    }
}

/* Animation classes for scroll reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Floating animation for SVG elements */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}
        .btn-primary {
            display: inline-block;
            padding: 18px 45px;
            background: #FFDE21;
            color: var(--primary);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }