.process {
    position: relative;
    overflow: hidden;
  
    padding: 6rem 0;
}

.process-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.process-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.05) 0%, transparent 8%),
                      radial-gradient(circle at 90% 30%, rgba(30, 58, 138, 0.05) 0%, transparent 8%),
                      radial-gradient(circle at 30% 70%, rgba(30, 58, 138, 0.05) 0%, transparent 8%),
                      radial-gradient(circle at 70% 90%, rgba(30, 58, 138, 0.05) 0%, transparent 8%);
    background-size: 60px 60px;
    opacity: 0.6;
}

.process-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
}

.process .container {
    position: relative;
    z-index: 1;
}

.process-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: justify;
    font-size: 1.125rem;
    colors: var(--text-muted);
}

/* Process Navigation */
/* ===== Professional Process Icons ===== */
.icon-svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: all 0.3s ease;
}

.flow-icon-svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: all 0.3s ease;
}
.process-nav {
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
}

.process-nav-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1rem 0;
}

.process-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.process-nav-item:hover .process-nav-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.process-nav-item.active .process-nav-icon {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
}

.process-nav-item.active .icon-svg {
    stroke: white;
}

.process-nav-item.active .icon-svg .icon-accent {
    stroke: #ffffff;
}

.process-nav-item.active .icon-svg .icon-accent[fill] {
    fill: #ffffff;
}

.icon-primary {
    stroke: #1e3a8a;
    transition: all 0.3s ease;
}

.icon-secondary {
    stroke: #3b82f6;
    transition: all 0.3s ease;
}

.icon-accent {
    stroke: #0ea5e9;
    transition: all 0.3s ease;
}

.process-nav-item:hover .icon-primary {
    stroke: #1e3a8a;
}

.process-nav-item:hover .icon-secondary {
    stroke: #3b82f6;
}

.process-nav-item:hover .icon-accent {
    stroke: #0ea5e9;
}

.icon-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    colors: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
}

.process-nav-item:hover .icon-svg {
    opacity: 0.2;
    transform: scale(0.8);
}

.process-nav-item:hover .icon-label {
    opacity: 1;
    colors: #1e3a8a;
}

/* Process Flow Icons */
.process-flow-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.75rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.process-flow-item:hover .process-flow-icon {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 0 5px rgba(59, 130, 246, 0.2);
}

.process-flow-item.active .process-flow-icon {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
}

.process-flow-item.active .flow-icon-svg {
    stroke: white;
}

.process-flow-item.active .flow-icon-svg .icon-accent {
    stroke: #ffffff;
}

.process-flow-item.active .flow-icon-svg .icon-accent[fill] {
    fill: #ffffff;
}

/* Icon Animation */
@keyframes iconPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(59, 130, 246, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

.process-flow-item.active .process-flow-icon {
    animation: iconPulse 2s infinite;
}

/* Icon Hover Effect */
.process-flow-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.process-flow-item:hover .process-flow-icon::before {
    opacity: 0.1;
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .icon-svg, .flow-icon-svg {
        width: 28px;
        height: 28px;
    }
    
    .process-nav-icon {
        width: 50px;
        height: 50px;
    }
    
    .process-flow-icon {
        width: 50px;
        height: 50px;
    }
}

.process-nav-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.process-nav-label {
    font-size: 0.875rem;
    font-weight: 600;
    colors: var(--text-muted);
    transition: colors 0.3s ease;
}

.process-nav-item.active .process-nav-label {
    colors: var(--denim-light);
}

.process-nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: calc(100% / 6);

    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1;
}

/* Process Visualization */
.process-visualization {
    margin-bottom: 4rem;
}

.process-timeline {
    position: relative;
    height: 4px;
    margin: 0 auto 2rem;
    max-width: 800px;
}

.process-timeline-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    border-radius: 4px;
}

.process-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.process-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.process-node {
    position: relative;
    width: 16px;
    height: 16px;
    margin-top: -6px;
    cursor: pointer;
    z-index: 2;
}

.process-node-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    border: 2px solid var(--cotton-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.process-node.active .process-node-dot {

    border-colors: var(--denim-light);
    transform: scale(1.2);
}

.process-node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;

    border-radius: 50%;
    opacity: 0;
}

.process-node.active .process-node-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Process Slides */
.process-slides {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    min-height: 500px;
}

.process-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.process-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.process-slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;

    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 100%;
}

.process-slide-media {
    position: relative;
}

.process-slide-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.process-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.process-slide.active .process-slide-image img {
    transform: scale(1.05);
}

.process-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.process-slide-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;

    colors: white;
}

.process-stat {
    text-align: center;
}

.process-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.process-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.process-slide-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.process-slide-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    colors: var(--denim-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-step-number {
    font-size: 1rem;
    font-weight: 700;
    colors: var(--denim-light);

    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.process-features {
    margin: 1.5rem 0;
}

.process-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.process-features li i {
    colors: var(--denim-light);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.process-tech {
    margin-top: auto;
}

.process-tech h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    colors: var(--text-dark);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {

    colors: var(--denim-light);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Process Flow Diagram */
.process-flow {
    margin: 5rem 0;
}

.process-flow-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    colors: var(--denim-blue);
}

.process-flow-diagram {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 200px;
}

.process-flow-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    z-index: 2;
}

.process-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.process-flow-item:hover {
    transform: translateY(-10px);
}

.process-flow-icon {
    width: 3rem;
    height: 3rem;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-flow-item:hover .process-flow-icon {
    transform: scale(1.1);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.2), var(--shadow-lg);
}

.process-flow-label {
    font-size: 0.875rem;
    font-weight: 600;
    colors: var(--text-dark);
}

.process-flow-arrow {
    position: absolute;
    top: 1.5rem;
    right: -2.5rem;
    width: 2rem;
    height: 1px;

}

.process-flow-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 3.5px 0 3.5px 7px;
    border-colors: transparent transparent transparent var(--denim-light);
}

.process-flow-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.process-flow-svg {
    width: 100%;
    height: 100%;
}

.process-flow-line {
    fill: none;
    stroke: rgba(59, 130, 246, 0.2);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-in-out forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Process Innovation */
.process-innovation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;

    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-top: 4rem;
}

.process-innovation-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    colors: var(--denim-blue);
}

.process-innovation-content p {
    margin-bottom: 1.5rem;
    colors: var(--text-muted);
}

.process-innovation-stats {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.innovation-stat {
    text-align: center;
    padding: 1rem;

    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.innovation-stat-value {
    font-size: 2rem;
    font-weight: 700;
    colors: var(--denim-light);
    margin-bottom: 0.5rem;
}

.innovation-stat-label {
    font-size: 1rem;
    colors: var(--text-dark);
}

/* Floating Particles */
.process-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;

    border-radius: 50%;
    pointer-events: none;
}

.particle:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 15px;
    height: 15px;
    animation: floatParticle 20s linear infinite;
}

.particle:nth-child(2) {
    top: 20%;
    left: 80%;
    width: 12px;
    height: 12px;
    animation: floatParticle 15s linear infinite reverse;
}

.particle:nth-child(3) {
    top: 80%;
    left: 15%;
    width: 8px;
    height: 8px;
    animation: floatParticle 25s linear infinite;
}

.particle:nth-child(4) {
    top: 40%;
    left: 40%;
    width: 10px;
    height: 10px;
    animation: floatParticle 18s linear infinite reverse;
}

.particle:nth-child(5) {
    top: 65%;
    left: 75%;
    width: 14px;
    height: 14px;
    animation: floatParticle 22s linear infinite;
}

.particle:nth-child(6) {
    top: 90%;
    left: 90%;
    width: 6px;
    height: 6px;
    animation: floatParticle 30s linear infinite reverse;
}

.particle:nth-child(7) {
    top: 30%;
    left: 25%;
    width: 9px;
    height: 9px;
    animation: floatParticle 24s linear infinite;
}

.particle:nth-child(8) {
    top: 70%;
    left: 60%;
    width: 11px;
    height: 11px;
    animation: floatParticle 19s linear infinite reverse;
}

.particle:nth-child(9) {
    top: 15%;
    left: 45%;
    width: 13px;
    height: 13px;
    animation: floatParticle 21s linear infinite;
}

.particle:nth-child(10) {
    top: 55%;
    left: 5%;
    width: 7px;
    height: 7px;
    animation: floatParticle 27s linear infinite reverse;
}

.particle:nth-child(11) {
    top: 85%;
    left: 30%;
    width: 10px;
    height: 10px;
    animation: floatParticle 23s linear infinite;
}

.particle:nth-child(12) {
    top: 5%;
    left: 70%;
    width: 8px;
    height: 8px;
    animation: floatParticle 26s linear infinite reverse;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(50px, 25px);
    }
    50% {
        transform: translate(0, 50px);
    }
    75% {
        transform: translate(-50px, 25px);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .process-slide-content {
        grid-template-columns: 1fr;
    }
    
    .process-innovation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .process-nav-label {
        font-size: smaller;
    }
    
    .process-flow-item {
        transform: scale(0.8);
    }
    
    .process-flow-label {
        display: none;
    }
    
    .process-flow-arrow {
        right: -1.5rem;
        width: 1.5rem;
    }
}

/* Additional Animations */
@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.fade-scale {
    animation: fadeScale 0.5s ease forwards;
}

/* Glassmorphism Effect */
.glassmorphism {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* 3D Transform Effects */
.process-flow-item {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.process-flow-icon {
    transform: translateZ(20px);
    transition: transform 0.3s ease;
}

.process-flow-item:hover .process-flow-icon {
    transform: translateZ(40px) scale(1.1);
}
/* ===========================================
   RESPONSIVE FIXES FOR .process–NAV + VISUALS
   =========================================== */

/* 1) Allow the nav‐track to wrap (or scroll) on < 768px */
@media (max-width: 768px) {
  /* Make sure the overall container still sits at full width */
  .process-nav {
    max-width: 100%;
    padding: 0 1rem;        /* small horizontal padding so icons don't butt against the edge */
  }

  /* Allow the six icons to either wrap or scroll horizontally */
  .process-nav-track {
    display: flex;          
    justify-content: space-between;
    flex-wrap: wrap;        /* <-- this lets icons wrap onto two rows if needed */            /* small gap between icons */
    overflow-x: auto;       /* if you’d rather keep all six on one line, browser will allow horizontal scroll */
    padding-bottom: 0.5rem; /* give some breathing room below the icons */
  }
.process-slides{
min-height: 1080px;}

}
