/* purpose.css - 설립목적 페이지 전용 스타일 */

.highlight {
    color: #238E96;
    font-weight: 600;
}

body {
    font-family: 'Pretendard', 'Pretendard-Regular', 'NanumSquare', sans-serif;
}

.purpose-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.purpose-container {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 50px;
    width: 80%;
    margin: 0 auto;
}

.purpose-content {
    font-family: 'Pretendard', 'Pretendard-Regular', sans-serif;
}

/* 메인 목적 섹션 */
.purpose-main {
    margin-bottom: 60px;
}

.purpose-item {
    display: flex;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.purpose-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.purpose-item:nth-child(1) {
    animation-delay: 0.3s;
}

.purpose-item:nth-child(2) {
    animation-delay: 0.6s;
}

.purpose-icon {
    flex: 0 0 80px;
    margin-right: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.purpose-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.purpose-text {
    flex: 1;
}

.purpose-text p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-sub1);
    text-align: justify;
    word-break: keep-all;
}

/* 비전 섹션 */
.purpose-vision {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.9s forwards;
}

.vision-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.vision-item {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff5ee;
}

.vision-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    overflow: hidden;
}

.vision-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.vision-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.vision-text p {
    font-size: 15px;
    color: var(--text-sub1);
    line-height: 1.6;
    margin: 0 0 5px 0;
}

.vision-text p:last-child {
    margin-bottom: 0;
}

/* 키프레임 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 조정 */
@media (max-width: 1024px) {
    .purpose-container {
        width: 90%;
        padding: 40px;
    }

    .vision-items {
        flex-direction: column;
    }

    .vision-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .purpose-container {
        width: 100%;
        padding: 30px;
    }

    .purpose-item {
        flex-direction: column;
    }

    .purpose-icon {
        margin: 0 auto 20px;
    }

    .purpose-text {
        text-align: center;
    }

    .purpose-text p {
        font-size: 16px;
    }

    .vision-icon {
        width: 70px;
        height: 70px;
    }

    .vision-icon img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .purpose-container {
        padding: 25px 20px;
    }

    .purpose-text p {
        font-size: 15px;
    }

    .vision-item {
        padding: 20px;
    }

    .vision-text h3 {
        font-size: 16px;
    }

    .vision-text p {
        font-size: 14px;
    }

    .vision-icon {
        width: 60px;
        height: 60px;
    }

    .vision-icon img {
        width: 35px;
        height: 35px;
    }
}