/* --- Workflow Slideshow Section --- */
#workflow-slideshow {
    /* Uses .section-padding and .bg-light from your global styles */
}

.slideshow-container {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Important for slide transitions */
}

.slides {
    position: relative;
    width: 100%;
    min-height: 450px; /* Adjust this value as needed */
    display: flex; /* Helps in aligning the single active slide */
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Make slide fill the parent .slides container */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s;
    z-index: 1;
    display: flex; /* Use flex to center content vertically within the fixed height */
    align-items: center;
}

.slide.active {
    position: relative; /* Overrides absolute to take up space */
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 40px;
    width: 100%; /* Ensure content takes full width of the slide */
}

.slide .text-content h3 {
    font-size: 1.8em;
    color: var(--text-dark, #2c3e50);
    margin-top: 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.user-badge {
    font-size: 0.5em; /* Smaller font size relative to h3 */
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 15px;
    margin-left: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.user-badge.teacher {
    background-color: #e6f2ff; /* Light blue */
    color: #0056b3;
}
.user-badge.student {
    background-color: #d4edda; /* Light green */
    color: #155724;
}

.workflow-steps {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.workflow-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1em;
    color: #495057;
}

.workflow-steps li span { /* The number circle */
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color, #007bff);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    font-size: 0.9em;
}

.slide .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Navigation Dots */
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    /* --- NEW: Pill / Line Style --- */
    width: 10px; /* Start as a circle */
    height: 10px;
    border-radius: 5px; /* Make it a circle */
    background-color: rgba(0, 0, 0, 0.25); /* Semi-transparent dark */
    cursor: pointer;
    border: none; /* Remove button default border */
    padding: 0; /* Remove button default padding */
    transition: width 0.4s ease, background-color 0.4s ease; /* Animate width and color */
}

.dot:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.dot.active {
    width: 30px; /* Active dot becomes a wider pill */
    background-color: var(--primary-color, #007bff); /* Use your primary brand color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide-content {
        grid-template-columns: 1fr; /* Stack columns vertically */
        padding: 30px 25px;
    }
    .slide .image-content {
        order: -1; /* Move image to the top on mobile */
        margin-bottom: 20px;
    }
    .slide .text-content h3 {
        font-size: 1.5em;
    }
}