/* home/css/process.css */

/* Main Section Container */
.process-section {
    padding: 80px 0;
    position: relative;
    background-color: transparent;
}

.process-animation-wrapper {
    /* Initially hide the wrapper to prevent FOUC on page reloads when scrolled down */
    opacity: 0;
    pointer-events: none; /* Keep element in layout but not interactive */
}

/* Content Wrapper for positioning context */
.process-content-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    max-width: var(--content-width);
    margin: 0 auto;
}

/* Container for all images - Defines the animation canvas */
.process-images-container {
    position: absolute;
    inset: 0;
    /* overflow: hidden; turn off so we dont clip the off-screen images */
}

/* Container for all text */
.process-text-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through to nav */
}

/* Text Styling */
.process-text {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--blue);
    line-height: 1.6;
    text-align: left;
    max-width: 165px;
    position: absolute; /* Stack all text on top of each other */
    top: 50%;
    left: 50%;
}

/* Image Styling - Per user request, ONLY width properties */
.process-image {
    position: absolute; /* GSAP will control top/left/transform */
    top: 50%;
    left: 50%;
    width: 275px; /* Mobile-first width */
}

.process-image img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Navigation Controls */
.process-nav {
    position: absolute;
    bottom: -90px;
    right: -12px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.process-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--blue);
    background-color: transparent;
    color: var(--blue);
    font-family: var(--font-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.process-nav-btn:hover {
    background-color: rgba(0, 47, 167, 0.1);
}

.process-nav-btn.active {
    background-color: var(--blue);
    color: white;
}

/* --- Desktop Styles --- */
@media (min-width: 769px) {

    .process-content-wrapper {
        height: 750px;
    }
    
    .process-text {
        max-width: 250px;
    }

    .process-image {
        width: 400px; /* Desktop width */
    }

    .process-nav {
        bottom: 250px;
        right: -10px;
        
    }
}

