.process-container {
    width: 100%;
    position: relative;
}

.process-card {
    background: rgba(217, 217, 217, 0.18);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: none;
    border: 2px solid rgba(183, 183, 183, 0.6);
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(217, 217, 217, 0.7);
}

.badge-number {
    background: #1E90FF;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.process-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: white;
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.logo-svg {
    width: 120px;
    height: 120px;
    display: block;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    position: relative;
}

.card-top-left {
    grid-column: 1;
    grid-row: 1;
}

.card-top-center {
    grid-column: 2;
    grid-row: 1;
}

.card-top-right {
    grid-column: 3;
    grid-row: 1;
}

.card-bottom-left {
    grid-column: 1;
    grid-row: 2;
}

.card-bottom-right {
    grid-column: 3;
    grid-row: 2;
}

/* Connection lines decoration */
.connecting-line {
    position: absolute;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    z-index: 1;
}

/* Horizontal lines */
.line-h1 {
    top: 50%;
    left: calc(33.33% + 1rem);
    width: calc(33.33% - 2rem);
    height: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    border-left: none;
    border-right: none;
    border-top: none;
}

.line-h2 {
    top: 50%;
    left: calc(66.66% + 1rem);
    width: calc(33.33% - 2rem);
    height: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    border-left: none;
    border-right: none;
    border-top: none;
}

.line-h3 {
    bottom: 50%;
    left: calc(33.33% + 1rem);
    width: calc(33.33% - 2rem);
    height: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    border-left: none;
    border-right: none;
    border-top: none;
}

.line-h4 {
    bottom: 50%;
    left: calc(66.66% + 1rem);
    width: calc(33.33% - 2rem);
    height: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    border-left: none;
    border-right: none;
    border-top: none;
}

/* Vertical lines */
.line-v1 {
    top: calc(50% + 1rem);
    left: 16.66%;
    width: 0;
    height: calc(100% - 50% - 2rem);
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.line-v2 {
    bottom: calc(50% + 1rem);
    left: 50%;
    width: 0;
    height: calc(100% - 50% - 2rem);
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.line-v3 {
    top: calc(50% + 1rem);
    right: 16.66%;
    width: 0;
    height: calc(100% - 50% - 2rem);
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    border-top: none;
    border-right: none;
    border-bottom: none;
}

@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .card-top-center {
        grid-column: 1;
        grid-row: 2;
    }

    .card-top-right {
        grid-column: 2;
        grid-row: 2;
    }

    .card-bottom-left {
        grid-column: 1;
        grid-row: 3;
    }

    .card-bottom-right {
        grid-column: 2;
        grid-row: 3;
    }

    .logo-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem auto;
        width: fit-content;
    }

    .logo-svg {
        width: 100px;
        height: 100px;
    }

    /* Hide connecting lines on tablet and mobile */
    .connecting-line {
        display: none;
    }
}

@media (max-width: 640px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .card-top-left,
    .card-top-center,
    .card-top-right,
    .card-bottom-left,
    .card-bottom-right {
        grid-column: 1;
        grid-row: auto;
    }

    .process-card {
        padding: 1.5rem;
    }

    .process-text {
        font-size: 0.9375rem;
    }

    .badge-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .logo-container {
        margin: 1.5rem auto;
    }

    .logo-svg {
        width: 80px;
        height: 80px;
    }
}