/* 기본 스타일 */



.purpose-content {
    display: grid;
    gap: 40px;
    align-items: start;
}

/* 공통 섹션 스타일 */
.purpose-box,
.history-box {

    background: #f7f6f2;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.purpose-box:hover,
.history-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var( --color-primary);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #31a05f, #4cb26f);
    border-radius: 2px;
}

/* 설립목적 스타일 */
.purpose-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var( --color-accent);
}

.purpose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.purpose-list li {
    background: #ffffff;
    border: 2px solid #e8f5e8;
    border-radius: 15px;
    margin-bottom: 16px;
    padding: 20px 25px 20px 55px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #444;
    transition: all 0.3s ease;
}

.purpose-list li:hover {
    background: #f0f8f0;
    border-color: #31a05f;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(49, 160, 95, 0.1);
}

.purpose-list li:before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #31a05f;
    font-weight: bold;
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
    background: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.purpose-list li:hover:before {
    background: #31a05f;
    color: #ffffff;
}

/* 연혁 스타일 */
.history-timeline {
    position: relative;
}

.history-timeline:before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #31a05f, #4cb26f);
    border-radius: 1.5px;
}

.history-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.history-item:last-child {
    margin-bottom: 0;
}

.year {
    min-width: 80px;
    font-weight: 700;
    font-size: 1.125rem;
    color: #ffffff;
    background: linear-gradient(135deg, #31a05f, #4cb26f);
    padding: 8px 16px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(49, 160, 95, 0.3);
}

.event {
    flex: 1;
    margin-left: 25px;
    padding: 15px 20px;
    background: #f8f9fa;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    border-left: 4px solid var( --color-accent);
    position: relative;
    transition: all 0.3s ease;
}

.event:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}


.month {
    font-weight: 700;
    color: #31a05f;
    margin-right: 8px;
    padding: 2px 8px;
    background: #e8f5e8;
    border-radius: 6px;
    font-size: 14px;
}
.purpose-content{
    width: 100%;
}

/* 태블릿 스타일 */
@media (max-width: 1024px) {
    .purpose-content {
        gap: 30px;
    }

    .purpose-box,
    .history-box {
        padding: 30px;
    }
}

/* 모바일 스타일 */
@media (max-width: 768px) {
    .purpose-section {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .purpose-box,
    .history-box {
        padding: 25px;
        border-radius: 15px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .purpose-description {
        font-size: 15px;
        padding: 18px;
    }

    .purpose-list li {
        padding: 18px 20px 18px 50px;
        font-size: 15px;
    }

    .history-timeline:before {
        left: 25px;
    }

    .year {
        min-width: 70px;
        font-size: 15px;
        padding: 6px 12px;
    }

    .event {
        margin-left: 20px;
        padding: 12px 18px;
        font-size: 15px;
    }

    .event:before {
        left: -10px;
        width: 6px;
        height: 6px;
    }
}
