/* SEED-PROCESSING.CSS */

.seed-processing-content .about-text-title {
    color: #1B5E20;
    font-size: 2.5rem;
    font-weight: 600;
}


.seed-processing-body {
    margin-bottom: 1.5rem;
    color: #000000;
    font-size: 1.5rem;
    line-height: 2.1875rem;
    max-width: 100%;
}

.seed-processing-body p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.processing-subsection {
    margin-top: 3.125rem;
    width: 100%;
}

.processing-subtitle {
    color: #734531;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 6rem;
}

.processing-text {
    color: #000000;
    font-size: 1.5rem;
    line-height: 2.1875rem;
    margin-bottom: 1.875rem;
    text-align: justify;
}

.processing-gallery.row-2 {
    margin-top: 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    /* Added globally for row-2 just in case */
    justify-content: center;
}

/* Specific margins for some galleries can be handled via utility classes or specific selectors if needed. We'll use inline or custom classes for minor tweaks, or just unified spacing */

.processing-gallery img {
    object-fit: cover;
}

.processing-gallery.row-2 img {
    /* For standard images */
    max-width: 25rem;
}

.gallery-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.gallery-item-caption {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000000;
    display: flex;
    justify-content: center;
    padding-top: 0.625rem;
}

.processing-step-container {
    display: flex;
    width: 100vw;

}

.steps-grid {
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding-bottom: 3.125rem;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 9.375rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-0.5rem);
}

.step-img-box {
    margin-top: 3.75rem;
    width: 9.375rem;
    height: 9.375rem;
    border: 0.25rem solid #1B5E20;
    border-radius: 1.25rem;
    box-shadow: 0px 1.25rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.1), 0px 0.5rem 0.625rem -0.375rem rgba(0, 0, 0, 0.1);
    background: #fff;
    /* padding: 0.25rem; */
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.step-card:hover .step-img-box {
    box-shadow: 0px 1.5rem 2rem -0.2rem rgba(0, 0, 0, 0.15), 0px 0.75rem 1rem -0.3rem rgba(0, 0, 0, 0.1);
}

.step-img-box img {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
}

.step-number-diamond {
    position: absolute;
    top: 1.125rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 1.875rem;
    height: 1.875rem;
    background: linear-gradient(180deg, #FF6633 0%, #FF8855 100%);
    box-shadow: 0px 0.625rem 0.9375rem -0.1875rem rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.step-number-text {
    transform: rotate(-45deg);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    display: block;
}

.step-card-title {
    margin-top: 1.5rem;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.125rem;
    color: #000;
}

/* Hero Overlay - Seed Processing */
.processing-hero-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    top: 13.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.processing-hero-badge {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    color: #FFFFFF;
}

.processing-hero-title {
    font-family: 'Arial', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.75rem;
    color: #FFFFFF;
}

.processing-hero-dots {
    position: absolute;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    top: 28.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.processing-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6.1875rem;
    transition: all 0.3s ease;
}

.processing-dot.active {
    width: 2rem;
    background: #FF6633;
}

/* Adjustments for content wrapper from Figma padding */
.seed-processing-content {
    padding-top: 7.3125rem;
    padding-left: 6.75rem;
    padding-right: 6.75rem;
}

@media (max-width: 1024px) {
    .seed-processing-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .seed-processing-body {
        width: 100%;
    }

    .processing-hero-overlay {
        top: 50%;
        width: 90%;
    }

    .processing-hero-dots {
        top: 90%;
    }
}

@media (max-width: 768px) {
    .processing-gallery.row-2 {
    margin-top: 4rem;
        flex-direction: column;
        gap: 2rem;
    }

    .processing-gallery.row-2 img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .processing-gallery.row-2 .gallery-item-wrapper {
        width: 100%;
    }

    .gallery-item-caption {
        /* font-size: 1.25rem; */
        /* padding-bottom: 3rem; */
    }

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1.25rem 3rem;
    }

    .step-card {
        width: 100%;
    }

    .step-img-box {
        width: 100%;
        height: 17rem;
        aspect-ratio: 1 / 1;
        margin-top: 2rem;
    }

    .step-number-diamond {
        top: 0.5rem;
    }

    .seed-processing-content .about-text-title {
        font-size: 2rem;
    }

    .processing-subtitle {
        /* font-size: 1.5rem; */
    }

    .processing-text {
        /* font-size: 1.125rem; */
        /* line-height: 1.6; */
    }

    .seed-processing-body {
        /* font-size: 1.125rem; */
        /* line-height: 1.6; */
    }
}