/* ==========================================================================
   (주)다성이앤씨 프리미엄 디자인 시스템 & 스타일시트
   ========================================================================== */

/* 1. Fonts & Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* 2. Custom Properties (CSS Variables) */
:root {
    --primary-color: #D4A300;      /* 가독성 높은 딥골드 */
    --primary-hover: #B88E00;      /* 골드 호버 */
    --bg-dark-1: #F8F9FA;          /* 매우 밝은 회색 전체배경 */
    --bg-dark-2: #FFFFFF;          /* 기본 흰색 배경 */
    --bg-dark-3: #F1F3F5;          /* 카드 및 모듈 밝은 회색 */
    --bg-dark-4: #E9ECEF;          /* 호버 또는 강조 배경 */
    --text-white: #121212;         /* 메인 어두운 텍스트 */
    --text-gray-1: #343A40;       /* 서브 어두운 회색 */
    --text-gray-2: #6C757D;       /* 일반 설명 회색 */
    --text-gray-3: #ADB5BD;       /* 비활성/플레이스홀더 회색 */
    --accent-gold: rgba(212, 163, 0, 0.1); /* 골드 광채 */
    --glass-bg: rgba(0, 0, 0, 0.02);         /* 밝은 글래스모피즘 배경 */
    --glass-border: rgba(0, 0, 0, 0.08);     /* 밝은 글래스모피즘 테두리 */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    --font-primary: 'Noto Sans KR', 'Montserrat', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --box-shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.08); /* 밝은 그림자 */
    --glow-shadow: 0 0 20px rgba(212, 163, 0, 0.15);
}

/* 3. Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark-1);
    color: var(--text-white);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-1);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-dark-3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, button {
    font-family: var(--font-primary);
}

/* 4. Common Utility Styles & Animations */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-gold {
    color: var(--primary-color);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    display: inline-block;
    background: linear-gradient(135deg, #121212 30%, #6C757D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title-wrap::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: var(--glow-shadow);
}

/* Base button */
.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--primary-color);
    color: #FFFFFF; /* 골드 배경 위 가독성을 위해 흰색으로 고정 */
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--box-shadow-premium);
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium:hover {
    color: #121212; /* 밝은 강조배경 위에서 가독성 확보 */
    background: var(--bg-dark-4);
    box-shadow: 0 0 25px rgba(245, 197, 24, 0.2);
    transform: translateY(-3px);
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #FFFFFF; /* 호버 시 골드 배경 위 가독성을 위해 흰색 고정 */
    border-color: var(--primary-color);
}

/* Glassmorphism card base */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-premium);
}

/* Scroll reveal animations class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. Header & Navigation (Sleek Glass Header)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img-fallback {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary-color);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img-fallback span {
    color: var(--text-white);
}

.logo-icon-svg {
    width: 38px;
    height: 38px;
    fill: var(--primary-color);
}

.logo-real {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray-1);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
    box-shadow: var(--glow-shadow);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-fast);
}

/* Mobile menu toggle active state */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary-color);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* ==========================================================================
   6. Hero Section (Parallax & Video/Rich Image Overlay)
   ========================================================================== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-dark-1);
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.0);
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

#hero:hover .hero-image {
    transform: scale(1);
}

/* Gold Gradient Glow overlay */
.hero-bg-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.85) 100%),
                radial-gradient(circle at center, rgba(245, 197, 24, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(245, 197, 24, 0.1);
    animation: pulseGlow 2s infinite alternate;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    word-break: keep-all;
    background: linear-gradient(to right, #121212, #444444, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-title span {
    -webkit-text-fill-color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray-1);
    font-weight: 400;
    margin-bottom: 40px;
    word-break: keep-all;
    letter-spacing: -0.5px;
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-gray-2);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 10;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-gray-3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnimation 1.8s infinite;
}

/* Animations */
@keyframes scrollAnimation {
    0% {
        top: 6px;
        opacity: 1;
    }
    100% {
        top: 20px;
        opacity: 0;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(245, 197, 24, 0.15);
        border-color: rgba(245, 197, 24, 0.5);
    }
    100% {
        box-shadow: 0 0 25px rgba(245, 197, 24, 0.4);
        border-color: var(--primary-color);
    }
}

/* ==========================================================================
   7. About Section (CEO message & Corp Overview)
   ========================================================================== */
#about {
    background-color: var(--bg-dark-2);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.ceo-message-box {
    position: relative;
    padding-right: 20px;
}

.ceo-quote-mark {
    font-family: 'Montserrat', sans-serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(245, 197, 24, 0.1);
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: 0;
}

.ceo-message-box h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 24px;
    word-break: keep-all;
    position: relative;
    z-index: 1;
}

.ceo-text {
    font-size: 1rem;
    color: var(--text-gray-1);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
    word-break: keep-all;
    position: relative;
    z-index: 1;
}

.ceo-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.ceo-signature-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.ceo-title-name {
    text-align: right;
}

.ceo-title-name p {
    font-size: 0.85rem;
    color: var(--text-gray-2);
}

.ceo-title-name h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.ceo-signature {
    width: 100px;
    height: auto;
    opacity: 0.8;
}

.about-photo-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
}

.about-photo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-dark-2) 0%, transparent 60%);
}

.about-photo {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-photo-wrapper:hover .about-photo {
    transform: scale(1.05);
}

.about-badge-over {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 5;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
}

.about-badge-over h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.about-badge-over p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
}

/* Corp Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.overview-card {
    background: var(--bg-dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-fast);
}

.overview-card:hover {
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-premium);
}

.overview-card:hover::before {
    background: var(--primary-color);
}

.overview-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(245, 197, 24, 0.05);
    border: 1px solid rgba(245, 197, 24, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.overview-card:hover .overview-icon-wrap {
    background: var(--primary-color);
    color: var(--bg-dark-1);
    box-shadow: var(--glow-shadow);
}

.overview-icon-wrap svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.overview-info h4 {
    font-size: 0.85rem;
    color: var(--text-gray-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.overview-info p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    word-break: keep-all;
}

/* ==========================================================================
   8. Organization Section
   ========================================================================== */
#organization {
    background-color: var(--bg-dark-1);
}

.org-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 60px;
    color: var(--text-gray-2);
}

.org-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.org-node {
    background: var(--bg-dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 24px 40px;
    text-align: center;
    min-width: 240px;
    z-index: 2;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.org-node:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow);
    transform: scale(1.03);
}

.org-node.ceo {
    background: linear-gradient(135deg, var(--bg-dark-3) 0%, rgba(245, 197, 24, 0.05) 100%);
    border: 1px solid rgba(245, 197, 24, 0.3);
}

.org-node.advisor {
    border-style: dashed;
    margin-top: -15px;
    margin-bottom: 10px;
    padding: 15px 30px;
}

.org-node .role {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.org-node .name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.org-node .desc {
    font-size: 0.8rem;
    color: var(--text-gray-2);
    margin-top: 4px;
}

.org-departments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    z-index: 2;
}

.dept-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.dept-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    background: var(--bg-dark-3);
    transform: translateY(-5px);
}

.dept-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.dept-members {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.member {
    font-size: 0.9rem;
}

.member span {
    color: var(--text-gray-2);
    font-size: 0.8rem;
    margin-left: 6px;
}

/* ==========================================================================
   9. History Section (Premium Timeline)
   ========================================================================== */
#history {
    background-color: var(--bg-dark-2);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--glass-border) 10%, var(--glass-border) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--bg-dark-2);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-badge {
    background: var(--primary-color);
    box-shadow: var(--glow-shadow);
    transform: translateX(-50%) scale(1.3);
}

.timeline-content {
    background: var(--bg-dark-3);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(245, 197, 24, 0.3);
    box-shadow: var(--box-shadow-premium);
}

.timeline-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-list-item {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray-1);
}

.timeline-date {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.timeline-desc {
    word-break: keep-all;
}

.timeline-broadcast-badge {
    margin-top: 40px;
    background: rgba(245, 197, 24, 0.05);
    border: 1px solid rgba(245, 197, 24, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray-1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline-broadcast-badge strong {
    color: var(--primary-color);
}

/* ==========================================================================
   10. Business Section (Hover Highlight Cards)
   ========================================================================== */
#business {
    background-color: var(--bg-dark-1);
}

.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.biz-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.biz-card-img-wrap {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.biz-card-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(28, 28, 28, 0.9) 100%);
    z-index: 1;
}

.biz-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.biz-card:hover .biz-img {
    transform: scale(1.08);
}

.biz-icon-over {
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 5;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark-1);
    box-shadow: var(--glow-shadow);
}

.biz-icon-over svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.biz-card-body {
    background: var(--bg-dark-3);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    padding: 35px 30px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.biz-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.biz-tagline {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.biz-text {
    font-size: 0.95rem;
    color: var(--text-gray-2);
    margin-bottom: 30px;
    line-height: 1.7;
    word-break: keep-all;
}

.biz-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.biz-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-gray-1);
}

.biz-feature-item svg {
    width: 14px;
    height: 14px;
    fill: var(--primary-color);
    flex-shrink: 0;
}

/* ==========================================================================
   11. Portfolio Section (Interactive Grid)
   ========================================================================== */
#portfolio {
    background-color: var(--bg-dark-2);
}

.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-gray-1);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark-1);
    box-shadow: var(--glow-shadow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Highlighting the grid items to represent recent performance */
.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: block;
    transition: var(--transition-smooth);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    /* Safe-clipping for labels inside the cropped brochure pictures */
    object-position: center 25%;
}

.portfolio-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--box-shadow-premium);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-item:hover::after {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 10;
    transition: var(--transition-smooth);
}

.portfolio-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF; /* 어두운 오버레이 위 가독성 고정 */
    margin-bottom: 6px;
    word-break: keep-all;
    line-height: 1.4;
}

.portfolio-cat {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-detail {
    font-size: 0.8rem;
    color: #E0E0E0; /* 어두운 오버레이 위 가독성 고정 */
    margin-top: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-detail {
    max-height: 80px;
    opacity: 1;
}

/* ==========================================================================
   12. Credentials Section (Certificates & Lightbox)
   ========================================================================== */
#credentials {
    background-color: var(--bg-dark-1);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--bg-dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-shadow);
    transform: translateY(-5px);
}

.cert-img-wrap {
    width: 100%;
    height: 280px;
    background: var(--bg-dark-2);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-smooth);
}

.cert-card:hover .cert-img {
    transform: scale(1.03);
}

.cert-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    backdrop-filter: blur(2px);
}

.cert-card:hover .cert-zoom-overlay {
    opacity: 1;
}

.cert-zoom-overlay svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-color);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.cert-card:hover .cert-zoom-overlay svg {
    transform: scale(1);
}

.cert-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.cert-desc {
    font-size: 0.8rem;
    color: var(--text-gray-2);
}

/* 13. Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrap {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.lightbox-modal.active .lightbox-img {
    transform: scale(1);
}

.lightbox-info {
    text-align: center;
    margin-top: 20px;
}

.lightbox-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF; /* 어두운 모달 배경 위 가독성 고정 */
    margin-bottom: 6px;
}

.lightbox-desc {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.lightbox-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #FFFFFF; /* 어두운 모달 배경 위 가독성 고정 */
    cursor: pointer;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ==========================================================================
   14. Contact Section (Contact Form & Map info)
   ========================================================================== */
#contact {
    background-color: var(--bg-dark-2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-info-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-white);
}

.contact-info-text p {
    font-size: 0.95rem;
    color: var(--text-gray-2);
    line-height: 1.6;
}

.contact-offices {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 20px;
}

.office-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.office-card p {
    font-size: 0.85rem;
    color: var(--text-gray-2);
    margin-bottom: 4px;
}

.contact-form-wrap {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: keep-all;
}

.form-alert-success {
    background: rgba(245, 197, 24, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.form-alert-error {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid #dc3545;
    color: #ff6b7a;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray-1);
    letter-spacing: 0.5px;
}

.form-control {
    background: var(--bg-dark-3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 14px 18px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(245, 197, 24, 0.1);
}

textarea.form-control {
    resize: none;
    height: 150px;
}

/* ==========================================================================
   15. Footer
   ========================================================================== */
footer {
    background-color: var(--bg-dark-1);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info-text {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-gray-3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-gray-2);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav-link {
    font-size: 0.85rem;
    color: var(--text-gray-2);
    transition: var(--transition-fast);
}

.footer-nav-link:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   16. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .biz-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .org-departments {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    header {
        height: 70px;
    }

    .header-container {
        padding: 0 16px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Navigation drawer overlay */
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-dark-3);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 999;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid var(--glass-border);
    }

    .nav-list.active {
        right: 0;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo {
        height: 300px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        margin-bottom: 40px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-badge {
        left: 20px;
    }

    .biz-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .org-departments {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-info-text {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .hero-btn-group {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
}
