/* Process Section Styles */
.process-container {
    padding: 50px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-header {
    margin-bottom: 32px;
}

.process-label {
    display: inline-flex;
    align-items: center;
    background-color: #ffe600;
    border-radius: 40px;
    padding: 2px 6px;
    margin-bottom: 16px;
}

.process-icon {
    height: 20px;
    width: auto;
    color: #121212;
    margin-right: 2px;
}

.process-label-text {
    font-size: 12px;
    font-weight: bold;
    color: #121212;
}

.process-title-container {
    display: flex;

    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Change from wrap to nowrap */
    gap: 20px; /* Add some gap between the elements */
}

.process-title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
    max-width: 65%; /* Adjust from 50% to 65% */
}

.changing-text {
    color: #FFE600;
    display: inline-block;
    position: relative;
}

.changing-text-container {
    overflow: hidden;
}

.process-subtitle-container {
    background: linear-gradient(to right, #f5b100, #e6a100, #cc8500);
    padding: 8px;
    max-width: 30%;
    border-radius: 20px;
    flex-shrink: 0;
    color: white; /* Make sure text color is set */
}



.process-subtitle {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.process-box {
    background-color: #121212;
    border-radius: 20px;
    padding: 12px 8px;
    box-shadow: 0 1px 2px #ffe6008b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px #ffe6008b;
}

.process-box-icon {
    padding: 12px 8px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #FFE600;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.process-box-icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    filter: brightness(0);
}

.process-box-content {
    padding: 0 8px;
}

.process-box-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
    color: white;
}

.process-box-description {
    font-size: 16px;
    color: #B3B3B3;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) and (min-width: 540px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-title-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media screen and (max-width: 539px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .process-title-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-title {
        font-size: 28px;
        text-align: center;
    }
    
    .process-subtitle-container {
        width: 250px;
    }
}


/* Add these animation styles to the existing process.css file */

/* Changing Text Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.changing-text {
    animation: fadeInUp 0.8s ease forwards;
}

/* Process Box Reveal Animation */
.process-box {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-box.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Process Box Icon Animation */
.process-box:hover .icon-wrapper {
    background: linear-gradient(135deg, #FFE600, #b4a40f, #FFE600);
    background-size: 300% 300%;
    animation: smokeGradient 2.5s ease-in-out infinite;
}


.process-box:hover .process-box-icon img {
    transform: rotate(15deg);
}

/* Process Title Gradient Animation */
.process-subtitle-container {
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}
@keyframes smokeGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

/* Process Box Staggered Animation */
.process-grid .process-box:nth-child(1) {
    transition-delay: 0.1s;
}

.process-grid .process-box:nth-child(2) {
    transition-delay: 0.2s;
}

.process-grid .process-box:nth-child(3) {
    transition-delay: 0.3s;
}

.process-grid .process-box:nth-child(4) {
    transition-delay: 0.4s;
}