@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

body { 
    font-family: 'Noto Sans KR', sans-serif; 
    background-color: #ffffff; 
    color: #333333; 
}

:root { 
    --hdc-blue: #004e9a; 
    --hdc-red: #e6332a;
    --hdc-orange: #f58220;
    --hdc-gray: #58595b;
    --hdc-lightblue: #00a9e0;
}

.hdc-text-gradient {
    background: linear-gradient(90deg, var(--hdc-red), var(--hdc-orange), var(--hdc-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hdc-red-text { color: var(--hdc-red); }
.hdc-red-bg { background-color: var(--hdc-red); }
.hdc-blue-bg { background-color: var(--hdc-blue); }

.tab-active { 
    color: var(--hdc-red); 
    border-color: var(--hdc-red); 
    background-color: #fff5f5; 
}

.tab-inactive { 
    color: #666; 
    border-color: #e5e7eb; 
}

.career-tab-active { 
    background-color: var(--hdc-red); 
    color: white; 
}

.career-tab-inactive { 
    background-color: white; 
    color: var(--hdc-gray); 
}

.scroll-section { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; 
}

.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

.chart-container { 
    position: relative; 
    width: 100%; 
    max-width: 600px; 
    margin: auto; 
    height: 350px; 
    max-height: 50vh; 
}

.flow-card { 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.flow-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); 
}

        .roadmap-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 20px;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        }
        .roadmap-stage {
            background-color: #2D2A41; /* Dark purple from HDC Nova */
            color: #ffffff;
            padding: 16px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.25rem; /* text-xl */
            text-align: center;
            margin-bottom: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .roadmap-item {
            background-color: #FEE7DB; /* Light orange/peach from HDC Nova */
            color: #333333;
            padding: 12px 20px;
            border-radius: 8px;
            margin-bottom: 12px;
            font-size: 1rem; /* text-base */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        .roadmap-item.dark {
            background-color: #E2E2E2; /* Light gray from HDC Nova */
            color: #333333;
        }
        .arrow {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 20px 0;
            color: #2D2A41; /* Dark purple */
            font-size: 2rem;
            font-weight: bold;
        }
        @media (min-width: 768px) {
            .roadmap-grid {
                display: grid;
                grid-template-columns: 1fr auto 1fr auto 1fr;
                gap: 20px;
                align-items: start;
            }
            .roadmap-section {
                display: flex;
                flex-direction: column;
                align-items: center;
            }
            .roadmap-stage {
                width: 100%;
                margin-bottom: 0;
            }
            .roadmap-items-group {
                width: 100%;
                margin-top: 20px;
            }
            .arrow {
                height: 100%;
                margin: 0;
                flex-direction: column;
                justify-content: center;
            }
            .arrow::before {
                content: '→';
                transform: rotate(90deg);
            }
        }
        @media (min-width: 1024px) {
            .roadmap-grid {
                grid-template-columns: 1fr auto 1fr auto 1fr;
            }
            .arrow::before {
                content: '→';
                transform: rotate(0deg);
            }
        }

        .image-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px;
            margin-bottom: 32px;
        }
        .image-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .image-item img {
            width: 100%;
            height: 200px; /* Fixed height for consistency */
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
        }
        .image-item img:hover {
            transform: scale(1.05);
        }
        .image-caption {
            background-color: #132d44; /* Dark purple */
            color: #ffffff;
            padding: 12px;
            font-size: 1rem;
            text-align: center;
            font-weight: 500;
        }
        .text-block {
            background-color: #c6ddea; /* Light orange/peach */
            padding: 24px;
            border-radius: 8px;
            margin-bottom: 24px;
            line-height: 1.6;
            font-size: 1.1rem;
            color: #333333;
        }
        .text-block.dark {
            background-color: #E2E2E2; /* Light gray */
        }
        .list-item {
            margin-bottom: 8px;
            padding-left: 1.5rem;
            position: relative;
        }
        .list-item::before {
            content: '•';
            color: #2d6484; /* Orange bullet point */
            position: absolute;
            left: 0;
        }
