/* Timeline Process Styles */
.timeline-section {
    position: relative;
    padding: 80px 0;
}

.timeline-items {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.timeline-items::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: #e2e8f0;
    left: calc(50% - 1px);
    top: 0;
}

.timeline-item {
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    height: 20px;
    width: 20px;
    background-color: #007bff;
    position: absolute;
    left: calc(50% - 10px);
    border-radius: 50%;
    top: 10px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(0, 123, 255, 0.3);
}

.timeline-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.timeline-date {
    font-size: 14px;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a3a6c;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* Arrow styling */
.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 16px;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 16px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

@media (max-width: 767px) {
    .timeline-items::before {
        left: 20px;
    }
    .timeline-item:nth-child(odd), 
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    .timeline-dot {
        left: 11px;
    }
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        border-width: 10px 10px 10px 0;
        border-color: transparent #fff transparent transparent;
    }
}


/* Tech Stack Styles */
.tech-tabs .nav-link {
    border-radius: 50px !important;
    padding: 12px 25px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    margin: 0 5px 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.tech-tabs .nav-link:hover,
.tech-tabs .nav-link.active {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.tech-icon-box {
    padding: 25px 15px;
    border: 1px solid #f1f5f9;
    border-radius: 15px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tech-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #6610f2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tech-icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.tech-icon-box:hover::before {
    transform: scaleX(1);
}

.tech-icon-box i, .tech-icon-box img {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.tech-icon-box:hover i {
    transform: scale(1.1) rotate(5deg);
}

.tech-name {
    font-weight: 700;
    color: #334155;
    margin: 0;
    font-size: 1rem;
}

/* Custom Icon Colors for when they aren't using images */
.fa-react { color: #61DAFB; }
.fa-angular { color: #DD0031; }
.fa-vuejs { color: #4FC08D; }
.fa-js { color: #F7DF1E; }
.fa-node { color: #339933; }
.fa-python { color: #3776AB; }
.fa-php { color: #777BB4; }
.fa-java { color: #007396; }
.fa-aws { color: #FF9900; }
.fa-docker { color: #2496ED; }
.fa-android { color: #3DDC84; }
.fa-apple { color: #000000; }
.fa-microsoft { color: #00A4EF; }

/* Progress Bar for Autoplay */
.tab-progress {
    height: 3px;
    background: #e2e8f0;
    margin-top: -10px;
    margin-bottom: 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.tab-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #6610f2);
    width: 0;
}

@keyframes progress {
    0% { width: 0; }
    100% { width: 100%; }
}

.tab-progress-bar.active {
    animation: progress 4s linear; /* Adjust 4s to match JS interval */
}
