@import url("../components/box-list.css");

/* ==== Content01 ==== */
.cont1 .steps-wrapper {
    margin-top: 20px;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    background: #F5F9FF;
    border-radius: 10px;
}

.cont1 .steps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cont1 .step-card {
    width: 240px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 1px 12px rgba(0, 78, 206, 0.04);
    border: 1px solid rgba(0, 77, 205, 0.3);
}

.cont1 .step-number {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #004ece;
    color: white;
    border-radius: 4px;
    font-size: var(--font-lg);
    font-weight: 700;
}

.cont1 .step-content {
    text-align: center;
    font-size: var(--font-md);
    font-weight: 500;
    line-height: 1.6;
}

.cont1 .arrow {
    width: 14px;
    height: 14px;
    border-left: 3px solid #111;
    border-bottom: 3px solid #111;
    transform: rotate(225deg);
}

.cont1 .step-icon {
    width: 48px;
    height: 48px;
}

@media (max-width: 1400px) {
    .cont1 .step-content br {
        display: none;
    }
}

@media (max-width: 1280px) {
    .cont1 .step-content {
        font-size: var(--font-base);
    }

    .cont1 .step-number {
         margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .cont1 .steps-wrapper {
        padding: 40px 28px;
    }

    .cont1 .arrow {
        display: none;
    }

    .cont1 .steps-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .cont1 .step-card {
        width: 100%;
        height: 252px;
        padding: 22px;
        gap: 20px;
    }

    .cont1 .step-icon {
        width: 42px;
        height: 42px;
    }

    .cont1 .step-number {
        width: 26px;
        height: 26px;
        font-size: var(--font-base);
    }

    .cont1 .step-content {
        font-size: var(--font-lg);
        line-height: 1.55;
    }
}

@media (max-width: 780px) {
    .cont1 .steps-wrapper {
        padding: 30px 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .cont1 .steps-row {
        display: contents;
    }

    .cont1 .step-card {
        height: 230px;
        padding: 18px 16px;
        gap: 14px;
    }

    .cont1 .step-icon {
        width: 38px;
        height: 38px;
    }

    .cont1 .step-number {
        width: 24px;
        height: 24px;
        font-size: var(--font-sm);
    }

    .cont1 .step-content {
        font-size: var(--font-md);
    }
}

@media (max-width: 480px) {
    .cont1 .steps-wrapper {
        padding: 15px;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cont1 .step-card {
        height: auto;
        padding: 14px 12px;
        gap: 15px;
        border-radius: 8px;
    }

    .cont1 .step-icon {
        width: 34px;
        height: 34px;
    }

    .cont1 .step-number {
        width: 22px;
        height: 22px;
        font-size: var(--font-xs);
    }

    .cont1 .step-content {
        font-size: var(--font-base);
        line-height: 1.5;
    }
}

/* ==== Content02 ==== */
.cont2 .phase-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background-color: #F1F1F1;
    border-radius: 10px;
    padding: 30px 36px;
}

.cont2 .phase-wrapper .phase-box {
    display: flex;
    flex-direction: column;
    width: 362px;
    flex-shrink: 0;
}

.cont2 .phase-wrapper .header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--header-bg);
    border-radius: 10px;
    padding: 20px 40px;
    color: white;
    font-size: var(--font-lg);
    font-weight: 700;
}

.cont2 .phase-wrapper .header h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.cont2 .phase-wrapper .number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--header-bg);
    font-weight: 700;
    font-size: var(--font-lg);
    border-radius: 4.54px;
}

.cont2 .phase-wrapper .body {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    border: 1px solid var(--header-bg);
    border-radius: 10px;
}

.cont2 .phase-wrapper .item {
    padding-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    border-bottom: 1px solid #D0D0D0;
    font-size: var(--font-md);
}

.cont2 .phase-box:last-child .item .content {
    color: #08429f;
}

.cont2 .phase-wrapper .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cont2 .phase-wrapper .label {
    color: #414141;
    font-weight: 500;
    min-width: 50px;
}

.cont2 .phase-wrapper .content {
    font-weight: 500;
}

.box-green {
    --header-bg: #487B0F;
}

.box-blue {
    --header-bg: #0078CE;
}

.box-navy {
    --header-bg: #004ECE;
}

.cont2 .phase-wrapper .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cont2 .phase-wrapper .arrow-line {
    width: 19px;
    height: 19px;
    border-left: 4px solid var(--color-black);
    border-bottom: 4px solid var(--color-black);
    transform: rotate(225deg);
}

@media (max-width:1440px) {
    .cont2 .phase-wrapper {
        gap: 15px;
    }
}

@media (max-width:1280px) {
    .cont2 .phase-wrapper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        padding: 28px;
    }

    .cont2 .phase-wrapper .phase-box {
        width: auto;
    }

    .cont2 .phase-wrapper .arrow {
        display: none;
    }

    .cont2 .phase-wrapper .header {
        padding: 18px;
    }

    .cont2 .phase-wrapper .item {
        gap: 20px;
    }
}

@media (max-width:1024px) {
    .cont2 .phase-wrapper {
        gap: 16px;
        padding: 24px;
    }

    .cont2 .phase-wrapper .header {
        padding: 18px 20px;
        font-size: var(--font-md);
    }

    .cont2 .phase-wrapper .body {
        padding: 18px 20px;
        gap: 18px;
    }
}

@media (max-width:768px) {
    .cont2 .phase-wrapper {
        display: block;
        padding: 20px 16px;
        background: #F1F1F1;
    }

    .cont2 .phase-wrapper .arrow {
        display: none;
    }

    .cont2 .phase-wrapper .phase-box {
        width: 100%;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
        background: transparent;
        margin-bottom: 14px;
    }

    .cont2 .phase-wrapper .header {
        justify-content: flex-start;
        text-align: left;
        gap: 10px;
        padding: 14px 16px;
        border-radius: 12px 12px 0 0;
    }

    .cont2 .phase-wrapper .number {
        width: 24px;
        height: 24px;
        font-size: var(--font-sm);
        border-radius: 4px;
    }

    .cont2 .phase-wrapper .body {
        padding: 14px 16px;
        gap: 12px;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-top: none;
        border-radius: 0 0 12px 12px;
    }

    .cont2 .phase-wrapper .item {
        display: grid;
        grid-template-columns: 72px 1fr;
        align-items: center;
        gap: 10px;
        padding-bottom: 12px;
        border-bottom: 1px solid #EDEFF3;
        font-size: var(--font-base);
    }

    .cont2 .phase-wrapper .item:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    .cont2 .phase-wrapper .label {
        min-width: auto;
        color: #6A6A6A;
        font-weight: 600;
    }

    .cont2 .phase-wrapper .content {
        font-weight: 500;
    }
}

@media (max-width:480px) {
    .cont2 .phase-wrapper {
        padding: 14px 12px;
    }

    .cont2 .phase-wrapper .header {
        padding: 12px 14px;
        font-size: var(--font-base);
    }

    .cont2 .phase-wrapper .number {
        width: 20px;
        height: 20px;
        font-size: var(--font-xs);
    }

    .cont2 .phase-wrapper .body {
        padding: 12px 14px;
    }

    .cont2 .phase-wrapper .item {
        grid-template-columns: 64px 1fr;
        gap: 8px;
        padding-bottom: 10px;
        font-size: var(--font-base);
    }
}