/* 파일: css/main.css */

/* Basic styles and CSS variables */
:root {
    --primary-color: #198754; /* Bootstrap Green - professional feel */
    --secondary-color: #f8f9fa; /* Light gray background */
    --text-color: #000000; /* Changed from #333 to black */
    --link-color: #198754;
    --link-hover-color: #146c43; /* Darker green */
    --white-color: #ffffff;
    --border-color: #dee2e6; /* Use this for the separator */
}

/* Global styles */
body {
    font-family: 'Noto Sans KR', sans-serif; /* Clean sans-serif font */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color); /* Uses the updated black color */
    line-height: 1.6;
    background-color: var(--white-color); /* Default white background */
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* Container - Increased Specificity */
/* Apply max-width and centering to containers within specific sections */
header > .container,
main > section > .container,
footer > .container {
    max-width: 1024px; /* Set the desired max width */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
    padding-left: 15px; /* Add horizontal padding */
    padding-right: 15px; /* Add horizontal padding */
}

/* Header and Navigation specific container styles */
header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on mobile */
}

/* Header styles */
header {
    background-color: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky; /* Sticky header on scroll */
    top: 0;
    z-index: 1000; /* Display above other elements */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    padding-right: 20px; /* Spacing from navigation */
    text-decoration: none; /* Don't look like a link */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Wrap on mobile */
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 500;
    padding: 0.5rem 0; /* Click area */
    transition: color 0.3s ease, border-bottom 0.3s ease; /* Smooth transition */
    border-bottom: 2px solid transparent; /* Transparent underline for hover */
    font-size: 1.2rem; /* Desktop size */
}

nav ul li a:hover,
nav ul li a:focus {
    color: var(--link-hover-color);
    border-bottom: 2px solid var(--link-hover-color);
}

/* --- Common styles for main sections --- */
main section {
    padding: 30px 0; /* Vertical padding for the section - Reduced from 60px */
    border-bottom: 1px solid var(--border-color);
    /* The .container inside handles horizontal padding/max-width */
}
main section:last-of-type {
     border-bottom: none;
}
main section:nth-of-type(even) {
     background-color: var(--secondary-color);
}
/* Special case for the new key profiles section to have slightly more top padding */
#key-profiles {
    padding-top: 40px; /* A bit more top padding for the first content section */
}


/* Styles for section headings (h2) inside .container */
section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

/* Styles for sub-headings (h3) inside .container */
section h3 { /* Style for the new headings like in contact */
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--primary-color);
    display: inline-block;
}

/* Styles for FAQ sub-headings (h4) */
#consulting .faq-section h4 {
    font-size: 1.25rem; /* Slightly smaller than h3 */
    font-weight: 600; /* Semibold */
    color: var(--text-color); /* Black */
    margin-bottom: 1.5rem; /* Spacing below heading */
    text-align: center;
    border-bottom: none; /* Remove border from h4 */
    display: block; /* Ensure it takes full width for centering */
}


/* --- Common Button Style Definition --- */
.button-style {
    display: inline-block;
    text-decoration: none;
    color: var(--white-color);
    background-color: var(--primary-color);
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
}
.button-style:hover,
.button-style:focus {
    background-color: var(--link-hover-color);
    color: var(--white-color);
}

/* --- Custom CSS class definitions (mimicking Tailwind, scoped to sections) --- */
/* These styles apply *inside* the container, affecting layout within the max-width */
#profile .text-black, #key-profiles .text-black, #consulting .text-black { color: #000000; }
#profile .text-white, #key-profiles .text-white, #consulting .text-white { color: #fff; }
#profile .rounded-lg, #key-profiles .rounded-lg, #consulting .rounded-lg { border-radius: 0.5rem; }
#profile .shadow-xl, #key-profiles .shadow-xl, #consulting .shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
#profile .shadow-md, #key-profiles .shadow-md, #consulting .shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
#profile .shadow-sm, #key-profiles .shadow-sm, #consulting .shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
#profile .hover\:shadow-lg:hover, #key-profiles .hover\:shadow-lg:hover, #consulting .hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
#profile .transition, #key-profiles .transition, #consulting .transition { transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
#profile .duration-300, #key-profiles .duration-300, #consulting .duration-300 { transition-duration: 300ms; }
#profile .text-green-600, #key-profiles .text-green-600, #consulting .text-green-600 { color: #16a34a; }
#profile .text-green-700, #key-profiles .text-green-700, #consulting .text-green-700 { color: #15803d; } /* Note: --link-hover-color is #146c43 */
#profile .bg-green-50, #key-profiles .bg-green-50, #consulting .bg-green-50 { background-color: #f0fdf4; }
#profile .bg-white, #key-profiles .bg-white, #consulting .bg-white { background-color: #ffffff; }
#profile .bg-gray-300, #key-profiles .bg-gray-300, #consulting .bg-gray-300 { background-color: #e2e8f0; } /* Note: --border-color is #dee2e6 */
#profile .border, #key-profiles .border, #consulting .border { border-width: 1px; border-style: solid; border-color: var(--border-color); } /* Added border-style and default color */
#profile .border-l, #key-profiles .border-l, #consulting .border-l { border-left-width: 1px; border-left-style: solid; border-left-color: var(--border-color); } /* Added style and default color */
#profile .border-white, #key-profiles .border-white, #consulting .border-white { border-color: #fff; }
#profile .border-gray-200, #key-profiles .border-gray-200, #consulting .border-gray-200 { border-color: #e5e7eb; }
#profile .border-gray-300, #key-profiles .border-gray-300, #consulting .border-gray-300 { border-color: #d1d5db; }
#profile .rounded-full, #key-profiles .rounded-full, #consulting .rounded-full { border-radius: 9999px; }
#profile .text-sm, #key-profiles .text-sm, #consulting .text-sm { font-size: 1rem; } /* Adjusted from 0.875rem to ensure min 1rem based on later media queries */
#profile .text-lg, #key-profiles .text-lg, #consulting .text-lg { font-size: 1.125rem; }
#profile .text-xl, #key-profiles .text-xl, #consulting .text-xl { font-size: 1.25rem; }
#profile .text-2xl, #key-profiles .text-2xl, #consulting .text-2xl { font-size: 1.5rem; }
#profile .text-3xl, #key-profiles .text-3xl, #consulting .text-3xl { font-size: 1.875rem; }
#profile .text-4xl, #key-profiles .text-4xl, #consulting .text-4xl { font-size: 2.25rem; }
#profile .text-5xl, #key-profiles .text-5xl, #consulting .text-5xl { font-size: 3rem; }
#profile .font-bold, #key-profiles .font-bold, #consulting .font-bold { font-weight: 700; }
#profile .font-medium, #key-profiles .font-medium, #consulting .font-medium { font-weight: 500; }
#profile .font-semibold, #key-profiles .font-semibold, #consulting .font-semibold { font-weight: 600; }
#profile .leading-tight, #key-profiles .leading-tight, #consulting .leading-tight { line-height: 1.25; }
#profile .mb-2, #key-profiles .mb-2, #consulting .mb-2 { margin-bottom: 0.5rem; }
#profile .mb-3, #key-profiles .mb-3, #consulting .mb-3 { margin-bottom: 0.75rem; }
#profile .mb-4, #key-profiles .mb-4, #consulting .mb-4 { margin-bottom: 1rem; }
#profile .mb-6, #key-profiles .mb-6, #consulting .mb-6 { margin-bottom: 1.5rem; }
#profile .mb-8, #key-profiles .mb-8, #consulting .mb-8 { margin-bottom: 2rem; }
#profile .mb-12, #key-profiles .mb-12, #consulting .mb-12 { margin-bottom: 3rem; }
#profile .mt-2, #key-profiles .mt-2, #consulting .mt-2 { margin-top: 0.5rem; }
#profile .mt-4, #key-profiles .mt-4, #consulting .mt-4 { margin-top: 1rem; }
#profile .mt-8, #key-profiles .mt-8, #consulting .mt-8 { margin-top: 2rem; }
#profile .mt-12, #key-profiles .mt-12, #consulting .mt-12 { margin-top: 3rem; }
#profile .px-6, #key-profiles .px-6, #consulting .px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
#profile .py-3, #key-profiles .py-3, #consulting .py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
#profile .py-6, #key-profiles .py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
#profile .py-8, #key-profiles .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
#profile .p-4, #key-profiles .p-4, #consulting .p-4 { padding: 1rem; }
#profile .p-6, #key-profiles .p-6, #consulting .p-6 { padding: 1.5rem; }
#profile .p-8, #key-profiles .p-8, #consulting .p-8 { padding: 2rem; }
#profile .pl-8, #key-profiles .pl-8, #consulting .pl-8 { padding-left: 2rem; }
#profile .flex, #key-profiles .flex, #consulting .flex { display: flex; }
#profile .flex-col, #key-profiles .flex-col, #consulting .flex-col { flex-direction: column; }
#profile .items-center, #key-profiles .items-center, #consulting .items-center { align-items: center; }
#profile .justify-center, #key-profiles .justify-center, #consulting .justify-center { justify-content: center; }
#profile .justify-between, #key-profiles .justify-between, #consulting .justify-between { justify-content: space-between; }
#profile .gap-8, #key-profiles .gap-8, #consulting .gap-8 { gap: 2rem; }
#profile .gap-12, #key-profiles .gap-12, #consulting .gap-12 { gap: 3rem; }
#profile .grid, #key-profiles .grid, #consulting .grid { display: grid; }
#profile .grid-cols-1, #key-profiles .grid-cols-1, #consulting .grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
#profile .w-full, #key-profiles .w-full, #consulting .w-full { width: 100%; }
#profile .h-auto, #key-profiles .h-auto, #consulting .h-auto { height: auto; }
#profile .h-10, #key-profiles .h-10, #consulting .h-10 { height: 2.5rem; }
#profile .h-12, #key-profiles .h-12, #consulting .h-12 { height: 3rem; }
#profile .w-10, #key-profiles .w-10, #consulting .w-10 { width: 2.5rem; }
#profile .w-12, #key-profiles .w-12, #consulting .w-12 { width: 3rem; }
#profile .w-3\/5, #key-profiles .w-3\/5, #consulting .w-3\/5 { width: 60%; }
#profile .mx-auto, #key-profiles .mx-auto, #consulting .mx-auto { margin-left: auto; margin-right: auto; }
#profile .object-cover, #key-profiles .object-cover, #consulting .object-cover { object-fit: cover; }
#profile .text-center, #key-profiles .text-center, #consulting .text-center { text-align: center; }
#profile .relative, #key-profiles .relative, #consulting .relative { position: relative; }
#profile .absolute, #key-profiles .absolute, #consulting .absolute { position: absolute; }
#profile .inset-0, #key-profiles .inset-0, #consulting .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
#profile .before\:absolute::before, #key-profiles .before\:absolute::before, #consulting .before\:absolute::before { content: ''; position: absolute; }
#profile .before\:inset-0::before, #key-profiles .before\:inset-0::before, #consulting .before\:inset-0::before { top: 0; right: 0; bottom: 0; left: 0; }
#profile .before\:h-full::before, #key-profiles .before\:h-full::before, #consulting .before\:h-full::before { height: 100%; }
#profile .before\:w-0\.5::before, #key-profiles .before\:w-0\.5::before, #consulting .before\:w-0\.5::before { width: 0.125rem; }
#profile .before\:bg-gradient-to-b::before, #key-profiles .before\:bg-gradient-to-b::before, #consulting .before\:bg-gradient-to-b::before { background-image: linear-gradient(to bottom, var(--tw-gradient-from, transparent), var(--tw-gradient-to, rgba(0,0,0,0))); } /* Simplified fallback */
#profile .before\:from-transparent::before, #key-profiles .before\:from-transparent::before, #consulting .before\:from-transparent::before { --tw-gradient-from: transparent; }
#profile .before\:via-gray-300::before, #key-profiles .before\:via-gray-300::before, #consulting .before\:via-gray-300::before { background-image: linear-gradient(to bottom, var(--tw-gradient-from, transparent), #e2e8f0, var(--tw-gradient-to, transparent)); } /* Simplified fallback */
#profile .before\:to-transparent::before, #key-profiles .before\:to-transparent::before, #consulting .before\:to-transparent::before { --tw-gradient-to: transparent; }

#profile .before\:ml-5::before, #key-profiles .before\:ml-5::before, #consulting .before\:ml-5::before { margin-left: 1.25rem; }
#profile .before\:-translate-x-px::before, #key-profiles .before\:-translate-x-px::before, #consulting .before\:-translate-x-px::before { transform: translateX(-1px); } /* Simplified */

#profile .space-y-1 > :not([hidden]) ~ :not([hidden]), #key-profiles .space-y-1 > :not([hidden]) ~ :not([hidden]), #consulting .space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; } /* Simplified: assumes no reverse order */
#profile .space-y-4 > :not([hidden]) ~ :not([hidden]), #key-profiles .space-y-4 > :not([hidden]) ~ :not([hidden]), #consulting .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
#profile .space-y-8 > :not([hidden]) ~ :not([hidden]), #key-profiles .space-y-8 > :not([hidden]) ~ :not([hidden]), #consulting .space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

#profile .inline-block, #key-profiles .inline-block, #consulting .inline-block { display: inline-block; }
#profile .shrink-0, #key-profiles .shrink-0, #consulting .shrink-0 { flex-shrink: 0; }
#profile .ml-4, #key-profiles .ml-4, #consulting .ml-4 { margin-left: 1rem; }
#profile .mr-3, #key-profiles .mr-3 { margin-right: 0.75rem; }
#profile .w-\[200px\], #key-profiles .w-\[200px\], #consulting .w-\[200px\] { width: 200px; }
#profile .h-\[200px\], #key-profiles .h-\[200px\], #consulting .h-\[200px\] { height: 200px; }

/* Standard list styles that will be overridden or complemented by more specific rules below */
#profile .list-disc, #key-profiles .list-disc, #consulting .list-disc { list-style-type: disc; }
#profile .list-inside, #key-profiles .list-inside, #consulting .list-inside { list-style-position: inside; }

/* Consulting section specific list styling for ul elements */
#consulting ul { list-style: none; padding: 0; margin-bottom: 1.5rem; } /* Applies to .contact-info ul */
#consulting .contact-info li { margin-bottom: 0.5rem; font-size: 1.1rem; }
#consulting .contact-info a { color: var(--primary-color); text-decoration: none; font-weight: bold; }
#consulting .contact-info a:hover { text-decoration: underline; }
#consulting .contact-info { margin-bottom: 2rem; }

/* Custom bullet list style for #consulting section (replaces .list-disc.list-inside behavior for specified ULs) */
#consulting ul.list-disc { /* Targeting ULs with .list-disc in #consulting */
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;       /* Reset browser default or inherited padding for UL */
    /* margin-bottom will be inherited from the general #consulting ul rule or specific classes */
}

#consulting ul.list-disc li {
    position: relative;
    padding-left: 0.7em; /* Space for the custom bullet + text */
    /* The space-y-1 class on the UL (if present) will handle margin-between-items */
}

#consulting ul.list-disc li::before {
    content: "•"; /* Bullet character (U+2022) */
    color: var(--text-color); /* Match text color, or use var(--primary-color) if preferred for emphasis */
    position: absolute;
    left: 0;
    top: 0; /* Adjust with em or px if vertical alignment needs fine-tuning based on font */
    line-height: inherit; /* Helps with vertical alignment with the text line */
}


#consulting summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer; /* Added from .cursor-pointer */
}
#consulting summary::-webkit-details-marker { display: none; }
#consulting summary::marker { display: none; }
#consulting summary::after {
    content: '+';
    font-size: 1.2em;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.2s ease-out;
    flex-shrink: 0;
}
#consulting details[open] summary::after {
    transform: rotate(45deg);
}
#consulting summary:hover { color: var(--link-hover-color); } /* Added from .hover\:text-green-700:hover */

/* FAQ 답변 내 최종 수정일 스타일 */
.faq-answer-content .last-modified-date-faq {
    font-size: 0.9em;
    color: #555;
    text-align: right;
    margin-top: 10px;
    margin-bottom: 5px; /* 일관성을 위해 추가 */
}


/* --- Responsive styles for Tailwind-like classes (apply within #profile .container or #key-profiles .container or #consulting .container) --- */
@media (min-width: 768px) {
    #profile .md\:flex-row, #key-profiles .md\:flex-row, #consulting .md\:flex-row { flex-direction: row; }
    #profile .md\:text-left, #key-profiles .md\:text-left, #consulting .md\:text-left { text-align: left; }
    #profile .md\:w-1\/2, #key-profiles .md\:w-1\/2, #consulting .md\:w-1\/2 { width: 50%; }
    #profile .md\:justify-end, #key-profiles .md\:justify-end, #consulting .md\:justify-end { justify-content: flex-end; }
    #profile .md\:mt-0, #key-profiles .md\:mt-0, #consulting .md\:mt-0 { margin-top: 0; }
    #profile .md\:justify-normal, #key-profiles .md\:justify-normal, #consulting .md\:justify-normal { justify-content: normal; } /* Typically default */
    #profile .md\:odd\:flex-row-reverse:nth-child(odd), #key-profiles .md\:odd\:flex-row-reverse:nth-child(odd), #consulting .md\:odd\:flex-row-reverse:nth-child(odd) { flex-direction: row-reverse; }
    #profile .md\:order-1, #key-profiles .md\:order-1, #consulting .md\:order-1 { order: 1; }
    #profile .md\:group-odd\:-translate-x-1\/2:nth-child(odd), #key-profiles .md\:group-odd\:-translate-x-1\/2:nth-child(odd), #consulting .md\:group-odd\:-translate-x-1\/2:nth-child(odd) { transform: translateX(-50%); }
    #profile .md\:group-even\:translate-x-1\/2:nth-child(even), #key-profiles .md\:group-even\:translate-x-1\/2:nth-child(even), #consulting .md\:group-even\:translate-x-1\/2:nth-child(even) { transform: translateX(50%); }

    #profile .md\:w-\[calc\(50\%-2\.5rem\)\], #key-profiles .md\:w-\[calc\(50\%-2\.5rem\)\], #consulting .md\:w-\[calc\(50\%-2\.5rem\)\] { width: calc(50% - 2.5rem); }
    #profile .md\:ml-0, #key-profiles .md\:ml-0, #consulting .md\:ml-0 { margin-left: 0; }
    #profile .md\:group-odd\:mr-0:nth-child(odd), #key-profiles .md\:group-odd\:mr-0:nth-child(odd), #consulting .md\:group-odd\:mr-0:nth-child(odd) { margin-right: 0; }
    #profile .md\:before\:mx-auto::before, #key-profiles .md\:before\:mx-auto::before, #consulting .md\:before\:mx-auto::before { margin-left: auto; margin-right: auto; }
    #profile .md\:before\:translate-x-0::before, #key-profiles .md\:before\:translate-x-0::before, #consulting .md\:before\:translate-x-0::before { transform: translateX(0); }
    #profile .md\:inline, #key-profiles .md\:inline, #consulting .md\:inline { display: inline; }
    #profile .md\:text-lg, #key-profiles .md\:text-lg, #consulting .md\:text-lg { font-size: 1.125rem; }
    #profile .md\:text-xl, #key-profiles .md\:text-xl { font-size: 1.25rem; }
    #profile .md\:text-2xl, #key-profiles .md\:text-2xl, #consulting .md\:text-2xl { font-size: 1.5rem; }
    #profile .md\:text-3xl, #key-profiles .md\:text-3xl { font-size: 1.875rem; }
    #profile .md\:text-4xl, #key-profiles .md\:text-4xl, #consulting .md\:text-4xl { font-size: 2.25rem; }
    #profile .md\:text-5xl, #key-profiles .md\:text-5xl, #consulting .md\:text-5xl { font-size: 3rem; }
    #profile .md\:grid-cols-2, #key-profiles .md\:grid-cols-2, #consulting .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #profile .md\:max-w-\[200px\], #key-profiles .md\:max-w-\[200px\], #consulting .md\:max-w-\[200px\] { max-width: 200px; }
    #profile .md\:mx-auto, #key-profiles .md\:mx-auto, #consulting .md\:mx-auto { margin-left: auto; margin-right: auto; }
    #profile .md\:p-8, #key-profiles .md\:p-8, #consulting .md\:p-8 { padding: 2rem; }
    #consulting .md\:grid-cols-2 > div:only-child {
        grid-column: span 2 / span 2;
    }
    #consulting .md\:pl-8 { padding-left: 2rem; }
    #consulting .md\:border-gray-300 { border-color: var(--border-color); }
}


/* --- Resources list styles --- */
#resources ul { list-style: none; padding: 0; }
#resources li { margin-bottom: 1rem; background-color: var(--white-color); padding: 1.5rem; border-radius: 5px; border: 1px solid var(--border-color); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
#resources li p { margin-bottom: 0.5rem; }
#resources li .last-modified-date { /* 자료실 항목의 최종 수정일 스타일 */
    font-size: 0.9rem;
    color: #555555;
    margin-top: 8px;
    margin-bottom: 5px;
    text-align: left; /* 자료실은 좌측 정렬 유지 */
}


/* --- Resource description styles --- */
#resources .resource-description { margin-bottom: 2rem; padding: 1rem; background-color: #e9f5ec; border-left: 4px solid var(--primary-color); border-radius: 4px; font-size: 1rem; color: #000000; display: flex; align-items: center; flex-wrap: wrap; }
#resources .resource-description a { color: var(--primary-color); font-weight: bold; text-decoration: none; display: inline-flex; align-items: center; }
#resources .resource-description a:hover { text-decoration: underline; }
#resources .license-logo { height: 22px; margin-left: 8px; vertical-align: middle; }

/* --- Footer styles --- */
footer { background-color: #ffffff; color: #000000; text-align: center; padding: 2rem 0; border-top: 1px solid var(--border-color); margin-top: 0; }
footer p { margin-bottom: 0.5rem; }


/* --- Service List Styles --- */
#profile ul.service-list, #key-profiles ul.service-list {
    list-style: none;
    padding-left: 0;
    display: inline-block;
    text-align: left;
}
#profile ul.service-list li, #key-profiles ul.service-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.0em; /* MODIFIED: Halved from 1.5em */
}
#profile ul.service-list li::before, #key-profiles ul.service-list li::before {
    content: "■";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    line-height: inherit;
    font-weight: bold;
}


/* --- Responsive design adjustments (General, not Tailwind-mimicking classes) --- */
@media (max-width: 768px) {
    .site-title { font-size: 1.5rem; }
    nav ul { justify-content: center; width: 100%; margin-top: 1rem; }
    nav ul li { margin: 0 1rem; }
    nav ul li:first-child { margin-left: 0; }
    section h2 { font-size: 1.8rem; }
    section h3 { font-size: 1.3rem; }
    #consulting .faq-section h4 { font-size: 1.15rem; }
    main section { padding: 20px 0; }
    #key-profiles { padding-top: 30px; }

    #profile .md\:flex-row, #key-profiles .md\:flex-row, #consulting .md\:flex-row { flex-direction: column; }
    #profile .md\:text-left, #key-profiles .md\:text-left, #consulting .md\:text-left { text-align: center; }
    #profile .md\:w-1\/2, #key-profiles .md\:w-1\/2, #consulting .md\:w-1\/2 { width: 100%; }
    #profile .md\:justify-end, #key-profiles .md\:justify-end, #consulting .md\:justify-end { justify-content: center; }
    #profile .md\:mt-0, #key-profiles .md\:mt-0, #consulting .md\:mt-0 { margin-top: 2rem; }
    #profile .md\:grid-cols-2, #key-profiles .md\:grid-cols-2, #consulting .md\:grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
    #profile .md\:odd\:flex-row-reverse:nth-child(odd), #key-profiles .md\:odd\:flex-row-reverse:nth-child(odd), #consulting .md\:odd\:flex-row-reverse:nth-child(odd) { flex-direction: column; }
    #profile .md\:justify-normal, #key-profiles .md\:justify-normal, #consulting .md\:justify-normal { justify-content: center; }
    #profile .md\:w-\[calc\(50\%-2\.5rem\)\], #key-profiles .md\:w-\[calc\(50\%-2\.5rem\)\], #consulting .md\:w-\[calc\(50\%-2\.5rem\)\] { width: calc(100% - 2rem); margin-left:auto; margin-right:auto; }
    #profile .md\:ml-0, #key-profiles .md\:ml-0, #consulting .md\:ml-0 { margin-left: auto; }
    #profile .md\:group-odd\:mr-0:nth-child(odd), #key-profiles .md\:group-odd\:mr-0:nth-child(odd), #consulting .md\:group-odd\:mr-0:nth-child(odd) { margin-right: auto; }
    
    #profile .before\:ml-5::before, #key-profiles .before\:ml-5::before, #consulting .before\:ml-5::before { margin-left: 0; left: 1.25rem; }
    #profile .md\:before\:mx-auto::before, #key-profiles .md\:before\:mx-auto::before, #consulting .md\:before\:mx-auto::before { margin-left: 0; margin-right:0; left: 1.25rem; }
    #profile .md\:order-1, #key-profiles .md\:order-1, #consulting .md\:order-1 { order: 0; }
    
    #profile .md\:group-odd\:-translate-x-1\/2:nth-child(odd), #key-profiles .md\:group-odd\:-translate-x-1\/2:nth-child(odd), #consulting .md\:group-odd\:-translate-x-1\/2:nth-child(odd) { transform: translateX(-50%); position:absolute; left: 1.25rem; }
    #profile .md\:group-even\:translate-x-1\/2:nth-child(even), #key-profiles .md\:group-even\:translate-x-1\/2:nth-child(even), #consulting .md\:group-even\:translate-x-1\/2:nth-child(even) { transform: translateX(-50%); position:absolute; left: 1.25rem; }

    #profile .relative.flex, #key-profiles .relative.flex, #consulting .relative.flex { padding-left: 3rem; justify-content: flex-start; }
    #profile .group-odd\:ml-0, #key-profiles .group-odd\:ml-0, #consulting .group-odd\:ml-0 { margin-left:0; }

    #profile .w-\[200px\], #key-profiles .w-\[200px\], #consulting .w-\[200px\] { width: 150px; }
    #profile .h-\[200px\], #key-profiles .h-\[200px\], #consulting .h-\[200px\] { height: 150px; }
    #resources .resource-description { justify-content: center; text-align: center; }
    #resources .resource-description a { margin-top: 0.5rem; }
    #consulting .contact-info li { font-size: 1rem; }
    #consulting .contact-info { margin-bottom: 1rem; }

    #consulting .bg-green-50 { text-align: left; }
    #consulting .md\:grid-cols-2 > div { margin-bottom: 1.5rem; }
    #consulting .md\:grid-cols-2 > div:last-child { margin-bottom: 0; }
}

@media (max-width: 480px) {
     body {
         font-size: 1rem;
     }
     nav ul li { margin: 0 0.5rem 0.5rem 0.5rem; }
     nav ul li a { padding: 0.3rem 0; font-size: 1rem; }
     .button-style { padding: 8px 12px; font-size: 1rem; }

     #profile .text-lg, #key-profiles .text-lg, #consulting .text-lg { font-size: 1rem; }
     #profile .text-xl, #key-profiles .text-xl, #consulting .text-xl { font-size: 1.125rem; }
     #profile .text-2xl, #key-profiles .text-2xl, #consulting .text-2xl { font-size: 1.25rem; }
     #profile .text-3xl, #key-profiles .text-3xl, #consulting .text-3xl { font-size: 1.5rem; }
     #profile .text-4xl, #key-profiles .text-4xl, #consulting .text-4xl { font-size: 1.8rem; }


     #profile .w-\[200px\], #key-profiles .w-\[200px\], #consulting .w-\[200px\] { width: 100px; }
     #profile .h-\[200px\], #key-profiles .h-\[200px\], #consulting .h-\[200px\] { height: 100px; }

     #about p, #profile p, #consulting p, #consulting li, #resources li p {
        font-size: 1rem;
     }
     #resources .resource-description { font-size: 1rem; }
}

/* Google Fonts */
@import url('[https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap](https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap)');

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}
