:root {
    /* Color Palette - Cool & Sophisticated (Deep Navy + Cyan/Electric Blue) */
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --white: #ffffff;

    /* Brand & Accent Colors */
    --brand-primary: #3b82f6;
    /* Bright Royal Blue */
    --brand-dark: #1d4ed8;
    --accent-cyan: #06b6d4;
    /* Cyan for that 'Cool' factor */
    --accent-teal: #14b8a6;

    --text-main: var(--slate-900);
    --text-light: var(--slate-600);
    --text-muted: var(--slate-400);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--brand-primary), var(--accent-cyan));
    --gradient-dark: linear-gradient(135deg, var(--slate-900) 0%, #1e1b4b 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

    /* UI Elements */
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --radius-sm: 0.5rem;
    /* 8px */
    --radius-md: 1rem;
    /* 16px */
    --radius-lg: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows - Soft & Modern */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.4);
    /* Glow effect */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Utilities */
.container {
    max-width: 1400px;
    /* Wider for more open feel */
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 800;
}

/* ================================================
   Navbar - Floating Glass
   ================================================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1360px;
    height: 72px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    top: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--slate-900);
    letter-spacing: -0.5px;
}

.logo .symbol {
    color: var(--brand-primary);
    font-size: 1.5rem;
}

.navbar .logo .text {
    color: #1e40af;
    font-size: 1.8rem;
    font-weight: 800;
}

/* Nav Menu */
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--slate-600);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

/* Dropdown - Modern Glass Card */
.nav-item {
    position: relative;
    padding: 0.5rem 0;
    /* Increase hit area */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 240px;
    padding: 0.8rem;
    border-radius: 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 40px -4px rgba(15, 23, 42, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--slate-700);
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--brand-primary);
    transform: translateX(4px);
    padding-left: 20px;
    font-weight: 600;
}

/* Tiny dot indicator on hover */
.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 4px;
    height: 4px;
    background: var(--brand-primary);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.dropdown-menu a:hover::before {
    transform: translateY(-50%) scale(1);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-900);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ================================================
   Hero Section - Clean & Impactful
   ================================================ */
.hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    /* Offset for navbar */
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-construction.jpg') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay for text readability + coolness */
    background: linear-gradient(105deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(15, 23, 42, 0.8) 50%,
            rgba(6, 182, 212, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 10;
}

.tag-wrapper {
    margin-bottom: 2rem;
    overflow: hidden;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--slate-200);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 600px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: white;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: white;
    animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Animations Reveal */
.reveal-text,
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-text.active,
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   Services Section - Bento Grid
   ================================================ */
.section {
    padding: 8rem 0;
    position: relative;
}

.bg-light {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--brand-primary);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--slate-500);
    line-height: 1.8;
}

/* Bento Grid Layout */
/* Bento Grid Layout - Uniform 3x2 */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bento-item {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.bento-item p {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    word-break: keep-all;
    word-wrap: break-word;
    text-wrap: balance;
    /* Balances text lines for better aesthetics */
    padding: 0 10px;
}

/* Icons */
.bento-item {
    text-align: center;
    align-items: center;
}

/* Clean Professional Icons */
.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 54px;
    /* Scaled up to 54px */
    color: #172554;
    /* Deep, Rich Navy Blue */
    background: transparent;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

/* Subtle Background Accent (Watermark style) */
.icon-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--brand-primary);
    opacity: 0.08;
    border-radius: 24px;
    z-index: -1;
    transition: all 0.4s ease;
}

.bento-item:hover .icon-box::before {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.12;
    background: var(--accent-cyan);
}

.bento-item:hover .icon-box {
    transform: translateY(-5px);
    color: var(--brand-primary);
}

/* Remove specific color classes to unify the design */
.icon-box.blue,
.icon-box.green,
.icon-box.purple,
.icon-box.orange,
.icon-box.red {
    background: transparent;
    box-shadow: none;
}

.bento-item h3 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.link-arrow {
    margin-top: auto;
    font-weight: 600;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ================================================
   Footer - Minimal & Structured
   ================================================ */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--slate-800);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-group h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.link-group a,
.link-group span {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: 0.2s;
}

.link-group a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
    font-size: 0.9rem;
    color: var(--slate-600);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .divider {
    margin: 0 10px;
    color: var(--slate-800);
}

.footer-bottom .copyright {
    color: var(--slate-700);
    margin-top: 10px;
}

/* ================================================
   Responsive Design
   ================================================ */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-item {
        grid-column: span 2;
    }

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

@media (max-width: 768px) {
    .navbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0.75rem 0;
    }

    .navbar .container {
        padding: 0 1rem;
    }

    /* 모바일 로고 크기 조정 */
    .navbar .logo .text {
        font-size: 1.2rem;
    }

    .navbar .logo img {
        height: 32px !important;
    }

    /* 메뉴는 숨기고 토글 버튼은 표시 */
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile Menu Active State (Managed by JS) */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: white;
        padding: 1.5rem;
        gap: 0.5rem;
        border-top: 1px solid var(--slate-100);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active .nav-item {
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-menu.active .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--slate-800);
        padding: 1rem 0;
        display: block;
    }

    .nav-menu.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        border-radius: 8px;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .nav-menu.active .dropdown-menu a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 1rem;
    }

    .bento-item {
        min-height: auto;
        padding: 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-brand .logo .text {
        font-size: 1.2rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 3rem 0;
    }

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

/* ================================================
   Sub-Page Styles
   ================================================ */

/* Page Hero */
.page-hero {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    color: white;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--slate-900) 0%, #1e3a5f 50%, var(--brand-primary) 100%);
    z-index: -2;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.page-hero-content {
    position: relative;
    z-index: 10;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--slate-400);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.breadcrumb .sep {
    color: var(--slate-600);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: white;
    font-weight: 600;
}

/* Page Title */
.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Page Content */
.page-content {
    padding: 5rem 0;
    background: #f8fafc;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* Content Typography */
.content-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-900);
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--brand-primary);
    letter-spacing: -0.5px;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-800);
    margin: 2rem 0 1rem 0;
}

.content-wrapper h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-700);
    margin: 1.5rem 0 0.75rem 0;
}

.content-wrapper p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--slate-600);
    margin: 1rem 0;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-wrapper li {
    margin: 0.75rem 0;
    line-height: 1.8;
    color: var(--slate-600);
}

.content-wrapper li::marker {
    color: var(--brand-primary);
}

.content-wrapper strong {
    color: var(--slate-800);
    font-weight: 700;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.1);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--slate-900) 0%, #1e3a5f 100%);
    color: white;
    border: none;
}

.info-card.highlight h3,
.info-card.highlight h4 {
    color: white;
}

.info-card.highlight p {
    color: var(--slate-300);
}

/* Grid Layout */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

.service-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), var(--accent-cyan));
    border-radius: 16px;
    font-size: 28px;
    color: white;
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--brand-primary), var(--accent-cyan));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: white;
    border: 4px solid var(--brand-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item .year {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--brand-primary);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.timeline-item h4 {
    color: var(--slate-800);
    margin: 0 0 0.5rem 0;
}

.timeline-item p {
    margin: 0;
    color: var(--slate-500);
    font-size: 0.95rem;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.data-table thead {
    background: linear-gradient(135deg, var(--slate-900), #1e3a5f);
    color: white;
}

.data-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--slate-600);
}

.data-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Stats Counter */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-item .number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .label {
    color: var(--slate-500);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Organization Chart */
.org-chart {
    text-align: center;
    margin: 3rem 0;
}

.org-ceo {
    display: inline-block;
    background: linear-gradient(135deg, var(--slate-900), #1e3a5f);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.org-ceo h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--accent-cyan);
}

.org-ceo p {
    margin: 0.5rem 0 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.org-line {
    width: 3px;
    height: 40px;
    background: var(--brand-primary);
    margin: 0 auto;
}

.org-departments {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.org-dept {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.org-dept:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
}

.org-dept h4 {
    margin: 0;
    color: var(--brand-primary);
    font-size: 0.95rem;
}

.org-dept p {
    margin: 0.5rem 0 0;
    font-weight: 700;
    color: var(--slate-800);
}

/* Contact Card */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.5rem 0;
    color: var(--slate-900);
}

.contact-info h3 i {
    color: var(--brand-primary);
}

.contact-info .info-row {
    display: flex;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.contact-info .info-row .label {
    width: 80px;
    font-weight: 700;
    color: var(--slate-700);
}

.contact-info .info-row .value {
    flex: 1;
    color: var(--slate-600);
}

/* Map Container */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Equipment List */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.equipment-item:hover {
    background: rgba(59, 130, 246, 0.04);
    border-color: rgba(59, 130, 246, 0.2);
}

.equipment-item .eq-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary), var(--accent-cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.equipment-item .eq-info h5 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--slate-800);
}

.equipment-item .eq-info span {
    font-size: 0.85rem;
    color: var(--slate-400);
}

/* License Gallery */
.license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.license-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.license-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.license-item .license-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.license-item h5 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--slate-800);
    line-height: 1.4;
}

.license-item span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--slate-400);
}

/* CTA Section */
.page-cta {
    padding: 4rem 0;
    background: white;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--slate-900), #1e3a5f);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
}

.cta-content h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.cta-content p {
    color: var(--slate-400);
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--slate-900);
    border-color: white;
}

/* Responsive Adjustments for Sub-pages */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .page-hero {
        height: 280px;
        padding-top: 80px;
    }

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

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .contact-card {
        grid-template-columns: 1fr;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .org-departments {
        flex-direction: column;
        align-items: center;
    }

    .timeline {
        padding-left: 2rem;
    }

    /* 모바일 테이블 */
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }

    /* 모바일 서비스 카드 */
    .service-card {
        padding: 1.25rem;
    }

    .service-card h4 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* 모바일 법률 박스 */
    .info-card {
        padding: 1.25rem;
    }

    .info-card h4 {
        font-size: 1rem;
    }

    /* 모바일 페이지 콘텐츠 */
    .page-content {
        padding: 1.5rem 1rem;
    }

    .page-content h2 {
        font-size: 1.5rem;
    }

    .page-content h3 {
        font-size: 1.2rem;
    }

    /* 주요사이트 카드 모바일 */
    .site-grid {
        grid-template-columns: 1fr !important;
    }

    .site-card {
        padding: 1rem;
    }

    .site-card .site-logo {
        width: 40px;
        height: 40px;
    }
}