/* Process Timeline CSS - Inspired by Infographic Style */

.process-area {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 180px auto;
}

/* Base Path Line */
.timeline-path {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

/* The Zig-Zag Effect (SVG or pseudo-elements) */
/* For a 3-step simple zig-zag, we can use CSS borders or a background image */
.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    position: relative;
    width: 30%;
    text-align: center;
}

/* Numbered Circle */
.step-node {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 8px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-step:hover .step-node {
    transform: scale(1.1);
}

/* Step Content Cards */
.step-card {
    position: absolute;
    width: 260px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    left: 50%;
    transform: translateX(-50%);
    border-top: 5px solid var(--step-color);
}

/* Alternate Positioning */
.timeline-step:nth-child(odd) .step-card {
    top: -160px; /* Above the node */
}

.timeline-step:nth-child(even) .step-card {
    bottom: -160px; /* Below the node */
}

/* Specific Colors for Steps */
.step-1 { --step-color: #9B5CFC; } /* GlowSuite Purple */
.step-2 { --step-color: #FFC107; } /* Alert Yellow */
.step-3 { --step-color: #00D2D3; } /* Success Teal */
.step-4 { --step-color: #0fbcf9; } /* Info Blue */

.step-node.step-1 { background: var(--step-color); border-color: #ece0ff; }
.step-node.step-2 { background: var(--step-color); border-color: #fff8e1; }
.step-node.step-3 { background: var(--step-color); border-color: #e0fcfc; }
.step-node.step-4 { background: var(--step-color); border-color: #e1f5fe; }

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0F172A;
    text-transform: uppercase;
}

.step-text {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}

/* Responsive vertical stack for mobile */
@media (max-width: 991px) {
    .timeline-path {
        display: none;
    }
    .timeline-wrapper {
        flex-direction: column;
        gap: 150px; /* Space for cards */
    }
    .timeline-step {
        width: 100%;
    }
    .step-card {
        position: relative;
        top: 0 !important;
        bottom: 0 !important;
        margin-top: 20px;
        left: 0;
        transform: none;
        width: 100%;
    }
}
/* Minimalist Infographic Style - NO ENCLOSURES */
.horizontal-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 40px;
    gap: 20px; /* Add gap between cards */
}

.horizontal-stepper::before {
    content: '';
    position: absolute;
    top: 59px; /* Aligned with 40px node + 40px padding */
    left: 10%;
    right: 10%;
    height: 2px;
    background: #E2E8F0;
    z-index: 1;
}

.h-step {
    position: relative;
    flex: 1; /* Allow to grow and shrink evenly */
    z-index: 2;
    text-align: center;
}

.h-step-node {
    width: 40px;
    height: 40px;
    background: var(--step-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--step-color);
    margin: 0 auto 20px;
}

.h-step-content {
    background: #fff !important; /* Step cards ARE required */
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-top: 6px solid var(--step-color);
    text-align: center;
    width: 100%;
    transition: transform 0.3s ease;
}

.h-step:hover .h-step-content {
    transform: translateY(-5px);
}

.h-step-content h3 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 8px;
    color: #1E293B;
    letter-spacing: 0.5px;
}

.h-step-content p {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
}

/* No giant enclosures */
.about-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

@media (max-width: 991px) {
    .horizontal-stepper {
        flex-direction: column;
        gap: 40px;
    }
    .horizontal-stepper::before {
        display: none;
    }
    .h-step {
        width: 100%;
    }
}

/* Margin utilities for separation */
.mt-sep { 
    margin-top: 30px !important; /* Closer to steps as requested */
} 
.mb-sep { 
    margin-bottom: 40px !important; 
}

/* Button Row Gap */
.about-area .d-flex.gap-3 {
    gap: 15px !important;
}

/* Pill Buttons specifically for this section to ensure override */
.about-area .main-btn {
    border-radius: 50px !important;
    padding: 0 40px !important;
    line-height: 50px !important;
    height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* GLOBAL PILL BUTTONS */
.main-btn {
    border-radius: 50px !important;
}

/* Header Button Pills */
.navbar-area .main-btn {
    border-radius: 50px !important;
}
