/* ================================
   ==== PROCESS TIMELINE STYLES ===
   ================================ */

/* Gradient Text */
.process-gradient-text {
    display: inline-block;
    background-image: linear-gradient(to top right in oklab, var(--color-main) 0%, #1A85F8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0;
    margin: 0;
}

/* Typography Responsive Classes for Process */
.text-size-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.fw-extrabold {
    font-weight: 800;
}

/* Width utilities */
.w-sm-50 {
    width: 100%;
}

@media (min-width: 576px) {
    .w-sm-50 {
        width: 50%;
    }
}

/* Timeline Container */
.process-timeline-container {
    display: flex;
    flex-direction: column;
}

/* Timeline Lines */
.timeline-line {
    left: 0.75rem;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #0148B9 0%, #002981 100%);
    z-index: 1;
}

.timeline-line-desktop {
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #0148B9 0%, #002981 100%);
    z-index: 1;
}

/* Timeline Dots */
.process-timeline-dot {
    left: 0;
    bottom: 50%;
    transform: translateY(50%);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #3b82f6;
    border: 4px solid white;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 576px) {
    .process-timeline-dot {
        left: 49%;
        transform: translate(-50%, 50%);
    }
}

/* Timeline Ping Animation */
.process-timeline-ping {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background-color: #60a5fa;
    opacity: 0.75;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Timeline Items */
.process-timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
    .process-timeline-item {
        margin-bottom: 2rem;
    }
}

/* Timeline Content */
.process-timeline-content-left {
    padding-left: 2rem;
    text-align: left;
}

.process-timeline-content-right {
    padding-left: 2rem;
    text-align: left;
}

@media (min-width: 576px) {
    .process-timeline-content-left {
        padding-left: 0;
        padding-right: 2rem;
        text-align: right;
    }

    .process-timeline-content-right {
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }
}

/* Timeline Cards */
.process-timeline-card {
    background: linear-gradient(135deg, #0148B9 0%, #002981 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-timeline-card:hover::before {
    opacity: 1;
}

/* Timeline Text */
.process-timeline-text {
    color: #d1d5db;
    line-height: 1.6;
}

/* Responsive Text Sizes for Process */
@media (min-width: 576px) {
    .text-size-sm-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media (min-width: 768px) {
    .text-size-md-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .text-size-md-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

@media (min-width: 992px) {
    .text-size-lg-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

/* Enhanced Mobile Layout */
@media (max-width: 575.98px) {
    .process-timeline-dot {
        width: 1.25rem;
        height: 1.25rem;
        left: 0rem;
    }

    .timeline-line {
        left: 0.625rem;
    }

    .process-timeline-content-left,
    .process-timeline-content-right {
        padding-left: 1.75rem;
    }

    .process-timeline-card {
        padding: 1.25rem;
    }

    .process-timeline-text {
        font-size: 0.875rem;
    }
}

/* Accessibility Improvements */
.process-timeline-card:focus-within {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
/* @media (prefers-contrast: high) {
    .process-timeline-card {
        border: 2px solid #ffffff;
    }

    .process-timeline-dot {
        border: 4px solid #ffffff;
        box-shadow: 0 0 0 2px #000000;
    }

    .process-timeline-text {
        color: #ffffff;
    }
} */

/* Print Styles */
@media print {
    .process-timeline-card {
        background: #f8f9fa !important;
        color: #212529 !important;
        border: 2px solid #0148B9;
        box-shadow: none;
        break-inside: avoid;
    }

    .process-timeline-text {
        color: #495057 !important;
    }

    .process-timeline-ping {
        animation: none;
    }

    .timeline-line,
    .timeline-line-desktop {
        background: #0148B9 !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .process-timeline-ping {
        animation: none;
    }

    .process-timeline-card {
        transition: none;
    }

    .process-timeline-card:hover {
        transform: none;
    }
}

/* Loading State */
.process-timeline-item.loading .process-timeline-card {
    opacity: 0.6;
    pointer-events: none;
}

/* Enhanced Responsive Behavior */
@media (min-width: 1200px) {
    .process-timeline-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .process-timeline-card {
        padding: 2rem;
    }
}

/* Dark Mode Support (if needed) */
/* @media (prefers-color-scheme: dark) {
    .process-timeline-card {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .process-timeline-dot {
        border-color: #1f2937;
    }
} */

/* Enhanced Animation Performance */
.process-timeline-card {
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* Timeline Connector Lines (Optional Enhancement) */
.process-timeline-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 576px) {
    .process-timeline-content-left .process-timeline-card::after {
        right: -20px;
    }

    .process-timeline-content-right .process-timeline-card::after {
        left: -20px;
    }
}

@media (max-width: 575.98px) {
    .process-timeline-card::after {
        display: none;
    }
}