:root {
    --primary-color: #0056B3;
    /* Tech Blue Point Color */
    --accent-color: #00A3E0;
    /* Cyan Blue Accent */
    --text-color: #333333;
    /* Standard Dark Text */
    --bg-color: #FFFFFF;
    /* Pure White Main Background */
    --light-gray: #F5F7FA;
    /* Very Light Cool Gray */
    --border-color: #e0e0e0;
    --footer-bg: #002244;
    /* Dark Navy Footer (Unchanged/Compatible) */
    --footer-text: #cccccc;
    --section-spacing: 120px;
}

#debug-console {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ... existing root styles implied ... */

/* ... */

/* Common Section */
.section {
    padding-bottom: 0;
    /* Remove padding as spacer handles it */
}

/* Admin Spacer (Injected via JS) */
.admin-spacer {
    /* Height set inline by JS */
    min-height: 20px;
    background: repeating-linear-gradient(45deg,
            #f8f9fa,
            #f8f9fa 10px,
            #e9ecef 10px,
            #e9ecef 20px);
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    position: relative;
    cursor: ns-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    user-select: none;
    z-index: 900;
    /* Ensure on top */
}

.admin-spacer:hover,
.admin-spacer.dragging {
    background: rgba(74, 144, 226, 0.1);
    /* Light Blue tint */
    border-color: #4a90e2;
}

/* Spacer Input Box */
.spacer-input {
    position: absolute;
    background: white;
    border: 1px solid #4a90e2;
    color: #4a90e2;
    font-size: 13px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    width: 60px;
    text-align: center;
    display: none;
    /* Hidden by default or show on hover? User wants specific input. Let's show on hover/drag */
}

.admin-spacer:hover .spacer-input,
.admin-spacer.dragging .spacer-input,
.spacer-input:focus {
    display: block;
}

/* Remove old pseudo-element text */
.admin-spacer::after {
    display: none;
}

/* Drag Handle Icon */
.drag-handle-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    opacity: 0;
}

.admin-spacer:hover .drag-handle-icon {
    opacity: 1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav Refined */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    /* For dropdown positioning */
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100px;
    /* Increased from 70px */
    padding: 15px 0;
    transition: all 0.3s ease;
}

/* Wrapper for Logo + Nav (Affects Layout) */
.header-content {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* Fixed Actions (Search, Login, Lang) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
    /* Spacing from main content */
    flex-shrink: 0;
    /* Prevent shrinking */
}

.header-actions a {
    font-size: 18px;
    color: var(--text-color);
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--primary-color);
}

/* Header Positioning Variants - Applied to header-content */
.header-pos-left {
    flex-direction: row;
    justify-content: space-between;
}

.header-pos-right {
    flex-direction: row-reverse;
    justify-content: space-between;
}

.header-pos-top {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.header-pos-bottom {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
}

/* Logo Styling */
.logo a,
.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
}

/* Image Logo Logic */
.logo-img {
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Side Layouts: Constrain height */
.header-pos-left .logo-img,
.header-pos-right .logo-img {
    max-height: 80px;
}

/* Vertical Layouts: Support large logos */
.header-pos-top .logo-img,
.header-pos-bottom .logo-img {
    max-width: 300px;
    /* Reduced from 600px */
    max-height: 500px;
    margin: 10px 0;
}

.main-nav ul {
    display: flex;
    gap: 0;
    height: 100%;
    justify-content: center;
    /* Center items in flex container if needed */
}

/* Adjust Nav for Vertical Layouts */
.header-pos-top .main-nav,
.header-pos-bottom .main-nav {
    margin: 15px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-pos-top .main-nav ul,
.header-pos-bottom .main-nav ul {
    height: auto;
}

.nav-item {
    height: 100px;
    /* Matched to new header height */
    display: flex;
    align-items: center;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    position: static;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

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

/* Standard Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    /* Align to bottom of nav item */
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0 !important;
    /* Very tight vertical padding */
    margin: 0;
    list-style: none;
    display: none;
    z-index: 2000;
    border-radius: 0 0 4px 4px;
    height: auto !important;
    min-height: 0 !important;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #444;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 71px;
    /* Just below header */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: none;
    flex-direction: column;
    z-index: 2000;
}

.nav-item:hover .mega-menu {
    display: flex;
}

.mega-menu-inner {
    display: flex;
    padding: 15px 20px;
    /* Aggressively reduced padding */
    min-height: auto;
    align-items: flex-start;
    /* Prevent stretching */
}

/* Menu Intro Column */
.menu-intro {
    width: 20%;
    padding-right: 30px;
    border-right: 1px solid var(--border-color);
    box-sizing: border-box;
    /* Ensure padding includes in width */
}

.menu-intro h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.menu-intro p {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.menu-image-placeholder {
    width: 100%;
    height: 100px;
    /* Reduced from 150px to prevent excess whitespace on short menus */
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    /* Reduced icon size */
    color: #ccc;
    border-radius: 4px;
}

/* Categories Column */
.menu-categories {
    width: 20%;
    padding: 0 20px;
    background-color: #fff;
}

.menu-categories ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.menu-categories li {
    padding: 12px 15px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-categories li:hover,
.menu-categories li.active {
    color: var(--primary-color);
    background-color: #f9f9f9;
    font-weight: bold;
}

/* Subitems Column */
.menu-subitems {
    flex: 1;
    padding-left: 40px;
    display: flex;
    gap: 60px;
}

.subitem-group h4 {
    font-size: 15px;
    color: #222;
    margin-bottom: 15px;
    border-bottom: 2px solid #222;
    padding-bottom: 8px;
    display: inline-block;
}

.subitem-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subitem-group a {
    font-size: 14px;
    color: #666;
}

.subitem-group a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Mega Footer */
.mega-footer {
    background-color: #f7f8f9;
    border-top: 1px solid #eee;
    padding: 15px 0;
}

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

.promo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
}

.promo-tag {
    font-weight: bold;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
}

.promo-tag.new {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.promo-tag.hot {
    color: #d32f2f;
    border: 1px solid #d32f2f;
}

.promo-desc {
    color: #555;
}

.menu-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
    background: #eee;
    padding: 8px 20px;
    border-radius: 4px;
}

.menu-contact strong {
    color: var(--primary-color);
    font-size: 16px;
}

/* Hero Section / Smart Banner Slider */
.hero-section {
    position: relative;
    background-color: white;
    /* Light Grey Background */
    overflow: hidden;
    padding: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-banner-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-track {
    width: 100%;
    height: 500px;
    /* Fixed height for stability */
    position: relative;
}

/* Slide Item Logic */
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    padding: 0 20px;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* 2-Column Layout */
.banner-content-left {
    flex: 1.5;
    /* Increased from 1 to give more space for text (60%) */
    padding-right: 20px;
    /* Reduced paging */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.banner-content-right {
    flex: 1;
    /* 40% */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
}

.banner-content-right img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Typography & Badges */
/* Typography & Badges */
.banner-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    /* More squared/tech look, or use 30px for pill */
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Glassy/Gradient effect */
.banner-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.5;
}

.badge-new {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    /* Fresh Green Gradient */
    box-shadow: 0 4px 12px rgba(0, 176, 155, 0.4);
    border: none;
}

.badge-hit {
    background: linear-gradient(135deg, #f09819 0%, #ff512f 100%);
    /* Vivid Orange-Red */
    box-shadow: 0 4px 12px rgba(240, 152, 25, 0.4);
    border: none;
}

.badge-event {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    /* Electric Blue */
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
    border: none;
}

.badge-none {
    display: none;
}

.banner-title {
    font-size: 46px;
    /* Reverted to 46px */
    font-weight: 800;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 20px;
    word-break: keep-all;
    letter-spacing: -0.5px;
    /* Tighter letter spacing */
}

.banner-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
    background: transparent;
    /* Changed from white */
    padding: 10px 0;
    /* Reduced padding since box is gone */
    border: none;
    box-shadow: none;
    max-width: 90%;
    /* Increased max-width */
}

/* Controls */
.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 20px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    /* Changed */
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.banner-indicators {
    display: flex;
    gap: 8px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.indicator-dot.active {
    width: 25px;
    background-color: #333;
    border-radius: 12px;
}

.btn-banner-ctrl {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.btn-banner-ctrl:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 900px) {
    .banner-slide.active {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .banner-content-left {
        padding-right: 0;
        align-items: center;
        text-align: center;
        margin-top: 20px;
    }

    .banner-content-right {
        justify-content: center;
        margin-bottom: 20px;
    }

    .banner-content-right img {
        max-height: 250px;
    }

    .banner-title {
        font-size: 32px;
    }

    .banner-desc {
        max-width: 100%;
        font-size: 14px;
    }

    .banner-controls {
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px;
    }
}


.notice-bar .container {
    display: flex;
    align-items: center;
    font-size: 14px;
    background-color: white;
}

.notice-label {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 20px;
}

.notice-text {
    flex: 1;
    color: #444;
}

.notice-more {
    font-size: 12px;
    color: #888;
}

/* Common Section */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 24px;
    color: var(--primary-color);
}

.arrow-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
}

.arrow-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}



.product-line {
    background-color: white;
}

/* Product Tab Interface */
.product-tabs-wrapper {
    width: 100%;
    margin-top: 30px;
}

/* Tabs Scroll Area */
.product-nav-scroll {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    position: relative;
}

.product-tabs {
    flex-grow: 1;
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 0 10px;
    scrollbar-width: none;
    /* Firefox */
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

/* Chrome/Safari */

.tab-btn {
    background: none;
    border: none;
    padding: 15px 5px;
    font-size: 16px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
    color: #222;
    font-weight: 700;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.nav-arrow {
    background: white;
    border: 1px solid #ddd;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    flex-shrink: 0;
    margin: 0 5px;
    transition: all 0.2s;
}

.nav-arrow:hover {
    background: #f8f8f8;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Main Display Area (Split Layout) */
.product-display-full-bg {
    width: 100%;
    background-color: white;
    padding: 0;
    /* Or padding if needed */
}

.product-display {
    display: flex;
    gap: 0;
    /* Seamless look or gap? Image suggests slight gap or border */
    border: none;
    /* Removed border to blend in */
    border-radius: 4px;
    overflow: hidden;
    min-height: 400px;
    /* Background handled by wrapper now, but individual parts still have it. 
       Let's keep them matching or transparent. */
}

.prod-display-img {
    flex: 1;
    background: white;
    /* Changed from #fafafa to match banner */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-right: none;
    /* Removed border */
}

.prod-display-img img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.3s;
}

.prod-display-img img.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.prod-display-img i {
    font-size: 100px;
    color: #ddd;
}

.prod-display-info {
    flex: 1;
    padding: 50px;
    background: white;
    /* Changed from white to match banner */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.prod-display-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.prod-display-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    white-space: pre-wrap;
}

.btn-view-product {
    padding: 12px 24px;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-view-product:hover {
    background-color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background: #fff;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
}

.prod-img {
    height: 150px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 40px;
    color: #ccc;
}

.product-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.model-name {
    font-size: 13px;
    color: var(--primary-color);
}

/* Industries */
.industries {
    background: white;
}

.industry-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.tab {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab.active {
    color: #222;
    font-weight: bold;
    border-bottom-color: #222;
}

.industry-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.ind-text {
    flex: 1;
}

.ind-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.ind-text p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.ind-image {
    flex: 1;
}

.img-box {
    width: 100%;
    height: 300px;
    background-color: #ddd;
    border-radius: 8px;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 40px;
}

.footer-top {
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.service-banner h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin-right: 20px;
    font-size: 13px;
    color: #fff;
}

address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.copyright {
    font-size: 12px;
    color: #666;
    padding-bottom: 40px;
}

/* Revised Dropdown for Dynamic Menu */
.nav-item {
    position: relative;
    /* Ensure relative positioning for dropdown anchor */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    /* changed width to min-width */
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    display: none !important;
    /* Force hide by default */
    z-index: 2000;
}

/* Show only the direct child dropdown on hover */
.nav-item.has-dropdown:hover>.dropdown-menu,
.has-dropdown:hover>.dropdown-menu {
    display: block !important;
    /* Force show on hover */
}

.dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    /* Ensure nested LIs can anchor their children */
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
    background-color: #fff;
    border-bottom: none;
    white-space: nowrap;
    /* Prevent wrapping */
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

/* Recursive Dropdown Styling */
.has-dropdown {
    position: relative;
}

/* Nested Dropdowns position to the right */
.dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    /* Better shadow for nested */
}

/* Admin Highlight Style */
.admin-highlight {
    outline: 4px solid #007bff !important;
    outline-offset: -4px;
    position: relative;
    z-index: 2000;
    cursor: default;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

/* Resource Badges (Shared) */
.res-type-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    font-weight: 500;
    background: #eee;
    color: #555;
    min-width: 60px;
    text-align: center;
}

.res-type-CATALOG {
    background: #e3f2fd;
    color: #1565c0;
}

.res-type-MANUAL {
    background: #e8f5e9;
    color: #2e7d32;
}

.res-type-DRAWING {
    background: #fff3e0;
    color: #ef6c00;
}

.res-type-CERT {
    background: #e0f2f1;
    color: #00695c;
}

/* =========================================
   NEW FOOTER STYLES
   ========================================= */
.main-footer {
    background-color: #f8f9fa;
    padding: 60px 0 40px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo-section {
    margin-bottom: 20px;
}

/* Reusing .logo-img logic but for footer context if needed */
.footer-logo-section img {
    max-height: 40px;
    /* Smaller than header */
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* New Layout Classes (Optional override) */
.footer-group-left {
    padding-right: 40px;
}

.footer-group-right {
    min-width: 250px;
}

.footer-section-group {
    flex: 1;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.footer-text-group {
    line-height: 1.8;
}

.biz-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Space between items in a row */
}

.biz-item {
    display: inline-flex;
    gap: 5px;
}

.biz-label {
    font-weight: 600;
    color: #444;
}

.footer-copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: left;
    color: #999;
    font-size: 12px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-group-left,
    .footer-group-right {
        width: 100%;
        padding-right: 0;
    }
}

.footer-col-right {
    flex-direction: column;
    gap: 30px;
}

/* Breadcrumbs (Standardized) */
.breadcrumbs {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #333;
    text-decoration: underline;
}

.breadcrumbs i {
    font-size: 14px;
    color: #bbb;
}

/* Smooth Fade In Animation */
.fade-in {
    animation: fadeInEffect 0.8s ease-in-out;
}

@keyframes fadeInEffect {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}