/* ============================================
   CIRCULAR FLOW RESPONSIVE STYLES
   ============================================ */

/* Responsive adjustments for circular flow diagrams */
@media (max-width: 1024px) {
    .circular-container {
        max-width: 380px;
        height: 380px;
    }

    .circular-node {
        transform: rotate(var(--angle)) translateX(135px) rotate(calc(-1 * var(--angle)));
    }

    .circular-node:hover {
        transform: rotate(var(--angle)) translateX(135px) rotate(calc(-1 * var(--angle))) scale(1.15);
    }

    .center-node {
        width: 110px;
        height: 110px;
        font-size: 1.4rem;
    }

    .center-node i {
        font-size: 1.8rem;
    }

    .center-node span {
        font-size: 0.65rem;
    }

    .circular-node .node-icon {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }

    .circular-node .node-label {
        font-size: 0.7rem;
        min-width: 90px;
    }

    .process-flow-container {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .process-flow-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .circular-container {
        max-width: 400px;
        height: 400px;
    }

    .circular-node {
        transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle)));
    }

    .circular-node:hover {
        transform: rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle))) scale(1.15);
    }

    .center-node {
        width: 100px;
        height: 100px;
        font-size: 1.3rem;
    }

    .center-node i {
        font-size: 1.6rem;
    }

    .center-node span {
        font-size: 0.6rem;
    }

    .circular-node .node-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .circular-node .node-label {
        font-size: 0.65rem;
        min-width: 80px;
        top: 80px;
    }

    .flow-section-title {
        font-size: 1.3rem;
    }

    .flow-section-title i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .circular-flow {
        min-height: 500px;
        padding: 30px 5px;
    }

    .circular-container {
        max-width: 320px;
        height: 320px;
    }

    .circular-node {
        transform: rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle)));
    }

    .circular-node:hover {
        transform: rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle))) scale(1.1);
    }

    .center-node {
        width: 80px;
        height: 80px;
        font-size: 1.1rem;
    }

    .center-node i {
        font-size: 1.3rem;
    }

    .center-node span {
        font-size: 0.55rem;
        line-height: 1.1;
    }

    .circular-node .node-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .circular-node .node-label {
        font-size: 0.6rem;
        min-width: 70px;
        top: 65px;
        padding: 3px 6px;
    }

    .flow-section {
        padding: 20px 15px;
    }

    .flow-section-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .flow-section-title i {
        font-size: 1.3rem;
    }
}

@media (max-width: 375px) {
    .circular-container {
        max-width: 280px;
        height: 280px;
    }

    .circular-node {
        transform: rotate(var(--angle)) translateX(95px) rotate(calc(-1 * var(--angle)));
    }

    .circular-node:hover {
        transform: rotate(var(--angle)) translateX(95px) rotate(calc(-1 * var(--angle))) scale(1.1);
    }

    .center-node {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }

    .center-node i {
        font-size: 1.1rem;
    }

    .center-node span {
        font-size: 0.5rem;
    }

    .circular-node .node-icon {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .circular-node .node-label {
        font-size: 0.55rem;
        min-width: 60px;
        top: 60px;
    }
}