/* Global Styles */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --bg-color: #f8f9fa;
    --text-color: #2d3436;
    --card-bg: #ffffff;
    --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans KR', 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.nav-link {
    font-weight: 500;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
}

.nav-link:hover {
    background-color: #f1f3f5;
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    background-color: #eef2ff;
}

.logo-text {
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--secondary-color);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.service-card p {
    font-size: 0.9rem;
    color: #636e72;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .sidebar {
        position: static;
        height: auto;
        padding-top: 0;
    }

    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}