/* ==========================================
   DESIGN BIMU CSS SYSTEM
   Aesthetics: MUJI-inspired — Paper White, Warm Graphite, Muted Red
   Principle: Less is more. Restraint. Breathing space.
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@400;700&display=swap');

:root {
    /* MUJI Color Palette */
    --primary: #333333;           /* Warm graphite ink */
    --primary-light: #555555;
    --accent: #CC0000;            /* MUJI muted red */
    --accent-hover: #A30000;
    --accent-red: #CC0000;
    --bg-light: #FFFFFF;          /* Pure paper white */
    --bg-cream: #F7F5F0;          /* Warm off-white */
    --bg-section: #F2F0EB;        /* Light linen */
    --bg-dark: #2C2C2C;           /* Warm dark (footer) */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --text-muted: #888888;
    --text-sub: #666666;
    --border-color: #E0DDD8;
    --border-light: #EBEBEB;

    --font-primary: 'Noto Sans KR', 'Helvetica Neue', Arial, sans-serif;
    --font-serif: 'Noto Serif KR', 'Georgia', serif;
    --font-title: 'Helvetica Neue', Arial, sans-serif;

    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.75;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: #CCCCCC; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
    color: var(--primary);
}

.font-title { font-family: var(--font-title); }

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* Section Header */
.section-header {
    margin-bottom: 56px;
    position: relative;
}

.section-header.center-align { text-align: center; }

.section-subtitle {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    display: inline-block;
}

.dark-bg .section-title { color: var(--text-light); }

.title-underline {
    width: 32px;
    height: 2px;
    background-color: var(--accent);
    margin: 14px auto 0;
    border-radius: 0;
}

.section-intro-text {
    max-width: 640px;
    margin: 20px auto 0;
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.03em;
}

.primary-btn {
    background-color: var(--accent);
    color: #FFFFFF;
    border: 1px solid var(--accent);
    font-weight: 400;
}

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

.outline-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.5);
}

.outline-btn:hover {
    background-color: var(--text-light);
    color: var(--primary);
    border-color: var(--text-light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    padding: 0;
}

.header.scrolled {
    background-color: rgba(255,255,255,0.99);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

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

.brand-text { display: flex; flex-direction: column; }

.brand-text .company-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.brand-text .sub-name {
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.12em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-sub);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.01em;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

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

.highlight-btn {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 7px 16px;
    border-radius: 0;
    font-weight: 400;
    font-size: 0.85rem;
}

.highlight-btn:hover {
    background-color: var(--accent);
    color: #FFFFFF;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.3rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-light);
    border-left: 1px solid var(--border-color);
    z-index: 1002;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mobile-drawer.open { right: 0; }

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.3rem;
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-size: 1rem;
    color: var(--text-sub);
    font-weight: 400;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.drawer-link:hover { color: var(--accent); }

.drawer-contact-btn {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px;
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(247,245,240,0.97) 0%, rgba(242,240,235,0.95) 100%);
    z-index: 2;
}

/* Simplified grid bg */
.grid-animation-bg {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    z-index: 1;
}

.grid-line {
    position: absolute;
    background-color: rgba(0,0,0,0.04);
}

.grid-line.horizontal { width: 100%; height: 1px; }
.grid-line.vertical { height: 100%; width: 1px; }

.grid-line.h1 { top: 30%; }
.grid-line.h2 { top: 70%; }
.grid-line.v1 { left: 25%; }
.grid-line.v2 { left: 75%; }

@keyframes slideHoriz {
    0% { transform: translateY(-50px); opacity: 0.05; }
    50% { opacity: 0.15; }
    100% { transform: translateY(50px); opacity: 0.05; }
}
@keyframes slideVert {
    0% { transform: translateX(-50px); opacity: 0.05; }
    50% { opacity: 0.15; }
    100% { transform: translateX(50px); opacity: 0.05; }
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-tagline {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 0.9s ease both;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: fadeInUp 0.9s 0.15s ease both;
    word-break: keep-all;
    color: var(--primary);
}

.hero-description {
    font-size: 1rem;
    color: var(--text-sub);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.85;
    animation: fadeInUp 0.9s 0.3s ease both;
    font-weight: 300;
}

.hero-description strong { color: var(--accent); font-weight: 500; }

.hero-buttons {
    display: flex;
    gap: 12px;
    animation: fadeInUp 0.9s 0.45s ease both;
}

.hero-interactive-card {
    display: flex;
    justify-content: flex-end;
    animation: fadeIn 1s 0.4s ease both;
}

.spec-board {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 400px;
    padding: 32px;
    box-sizing: border-box;
    overflow: hidden;
}

.board-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

.board-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.board-dot.red { background-color: #CC0000; }
.board-dot.yellow { background-color: #CCAA00; }
.board-dot.green { background-color: #2ECC71; }

.board-title {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    margin-left: 4px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-label {
    font-family: var(--font-title);
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
}

.spec-value {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.85rem;
}

.spec-value.highlight {
    color: var(--accent);
    font-weight: 700;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-text {
    font-family: var(--font-title);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 1; }
    50% { opacity: 0.3; }
    100% { top: 16px; opacity: 0; }
}

/* Animations */
@keyframes fadeInUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Company Overview */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.overview-card {
    position: relative;
    background-color: var(--bg-cream);
    padding: 40px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.card-glow { display: none; }

.card-inner {
    position: relative;
    z-index: 2;
}

.info-tag-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.info-tag-header i {
    font-size: 1.1rem;
    color: var(--accent);
}

.info-tag-header h3 {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
}

.info-list { list-style: none; }

.info-list li {
    display: grid;
    grid-template-columns: 90px 1fr;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-list li:last-child { border-bottom: none; }

.info-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.info-desc {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.vision-quote {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    border-left: 3px solid var(--accent);
    padding-left: 18px;
    margin-bottom: 32px;
    line-height: 1.5;
    font-family: var(--font-serif);
}

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

.value-item { text-align: center; }

.value-icon {
    width: 44px;
    height: 44px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--accent);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.overview-card:hover .value-icon {
    background-color: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.value-item h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--primary);
    font-weight: 700;
}

.value-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 40px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
}

.stat-item {
    background-color: var(--bg-light);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background-color: var(--bg-cream);
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Business Section */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-bottom: 80px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
}

.business-card {
    background-color: var(--bg-dark);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.business-card:hover {
    background-color: #222222;
}

.business-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.business-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.85);
}

.business-card:hover .business-img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.img-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(44,44,44,0.9) 100%);
}

.card-num {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.08);
    transition: var(--transition-smooth);
}

.business-card:hover .card-num { color: rgba(204,0,0,0.2); }

.business-body { padding: 28px; }

.business-body h3 {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 700;
}

.business-card:hover h3 { color: #FFFFFF; }

.business-intro {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    height: 54px;
    overflow: hidden;
    font-weight: 300;
}

.business-details-list { list-style: none; }

.business-details-list li {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 300;
}

.business-details-list li i {
    color: var(--accent);
    margin-top: 3px;
    font-size: 0.75rem;
}

/* Client Showcase */
.client-container {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    padding: 48px 40px;
    text-align: center;
}

.client-title {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 36px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.client-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: var(--accent);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: 24px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
}

@media (max-width: 600px) {
    .client-grid { grid-template-columns: repeat(2, 1fr); }
}

.client-logo-card {
    background-color: var(--bg-light);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90px;
    transition: var(--transition-smooth);
}

.client-logo-card:hover {
    background-color: var(--bg-cream);
}

.logo-main-text {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.03em;
}

.logo-sub-text {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 300;
}

.client-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* History Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item.right-align {
    left: 50%;
    justify-content: flex-start;
    padding-left: 40px;
}

.timeline-item.left-align {
    left: 0;
    justify-content: flex-end;
    padding-right: 40px;
}

.timeline-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    z-index: 2;
    top: 22px;
    transition: var(--transition-smooth);
}

.timeline-item.right-align .timeline-dot { left: -5px; }
.timeline-item.left-align .timeline-dot { right: -5px; }

.timeline-dot.highlight-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: none;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.4);
    border-color: var(--accent);
}

.timeline-date {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    position: absolute;
    top: 16px;
}

.timeline-item.right-align .timeline-date { left: -100px; }
.timeline-item.left-align .timeline-date { right: -100px; text-align: right; }

.timeline-content {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    padding: 24px 28px;
    width: 100%;
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: #CCCCCC;
    background-color: var(--bg-light);
}

.timeline-content h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-weight: 300;
    line-height: 1.7;
}

.timeline-badge {
    position: absolute;
    top: -11px;
    right: 16px;
    background-color: var(--accent);
    color: #FFFFFF;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    letter-spacing: 0.05em;
}

/* Organization */
.org-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 50px;
}

.org-chart-wrapper {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.block-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.block-title i { color: var(--accent); font-size: 1rem; }

.block-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 300;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 16px 0;
}

.org-node {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 200px;
}

.ceo-node {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    font-weight: 700;
}

.ceo-node .node-title { font-size: 0.95rem; color: #FFFFFF; }
.ceo-node .node-sub { font-size: 0.75rem; opacity: 0.7; }

.connector-vertical {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.connector-vertical-short {
    width: 1px;
    height: 12px;
    background-color: var(--border-color);
}

.connector-horizontal {
    width: 66%;
    height: 1px;
    background-color: var(--border-color);
}

.teams-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

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

.team-node {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
}

.team-node:hover {
    background-color: var(--bg-light);
    border-color: var(--primary);
}

.node-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    color: var(--accent);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
}

.team-node .node-title {
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 4px;
}

.team-node .node-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

/* Hover Details Panel */
.node-hover-details {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 240px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 16px;
    color: var(--primary);
    font-size: 0.8rem;
    text-align: left;
    box-shadow: var(--card-shadow-hover);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 10;
}

.node-hover-details::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: var(--border-color) transparent transparent transparent;
}

.team-node:hover .node-hover-details,
.team-node.active .node-hover-details {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.node-hover-details p {
    margin-bottom: 8px;
    color: var(--accent);
    font-weight: 700;
}

.node-hover-details ul { list-style: none; }

.node-hover-details ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 12px;
    color: var(--text-sub);
}

.node-hover-details ul li::before {
    content: '—';
    color: var(--text-muted);
    position: absolute;
    left: 0;
    font-size: 0.7rem;
}

.org-guide-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 32px;
    font-weight: 300;
}

/* CEO Profile Card */
.ceo-profile-card {
    position: relative;
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.ceo-glow { display: none; }

.ceo-inner {
    padding: 40px;
    position: relative;
    z-index: 2;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.5rem;
}

.profile-pos {
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.profile-name {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

.profile-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 20px;
}

.career-title {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.career-title i { color: var(--accent); font-size: 0.85rem; }

.career-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.career-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.career-date {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

.career-text {
    font-size: 0.85rem;
    color: var(--text-sub);
    font-weight: 300;
}

/* Portfolio Section */
.portfolio-controls {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    margin-bottom: 32px;
}

.search-box { position: relative; width: 100%; }

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.search-box input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.search-box input:focus {
    border-color: var(--primary);
}

.filter-buttons {
    display: flex;
    gap: 2px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-sub);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 0;
    font-family: var(--font-primary);
}

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

.filter-btn.active {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    font-weight: 400;
}

.sort-selector select {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
    border-radius: 0;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    border: 1px solid var(--border-color);
}

.portfolio-card {
    background-color: var(--bg-light);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover { background-color: var(--bg-cream); }

.port-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-section);
    color: var(--border-color);
    position: relative;
}

.port-placeholder i {
    font-size: 2.5rem;
    transition: var(--transition-smooth);
    color: #CCCCCC;
}

.portfolio-card:hover .port-placeholder i { color: var(--text-muted); }

.port-blueprint-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.port-blueprint-lines::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; width: 100%; height: 1px;
    border-top: 1px dashed var(--border-light);
}

.port-blueprint-lines::after {
    content: '';
    position: absolute;
    left: 50%; top: 0; height: 100%; width: 1px;
    border-left: 1px dashed var(--border-light);
}

.port-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .port-img { transform: scale(1.04); }

.port-hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.15);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.portfolio-card:hover .port-hover-overlay { opacity: 1; }

.port-hover-icon {
    width: 44px;
    height: 44px;
    background-color: #FFFFFF;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transform: scale(0.85);
    transition: var(--transition-smooth);
}

.portfolio-card:hover .port-hover-icon { transform: scale(1); }

.port-body {
    padding: 20px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
}

.port-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.port-tag {
    font-size: 0.65rem;
    font-weight: 400;
    background-color: var(--bg-section);
    color: var(--text-muted);
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-card:hover .port-tag {
    background-color: var(--primary);
    color: #FFFFFF;
}

.port-date {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

.port-title {
    font-size: 0.95rem;
    color: var(--primary);
    line-height: 1.45;
    font-weight: 700;
    margin-bottom: 6px;
    word-break: keep-all;
}

.port-client {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
}

.portfolio-more-container { margin-top: 48px; }

/* Portfolio Modal */
/* =========================================
   Portfolio Modal — Stacked Layout
   Image (top, full width) + Info (bottom)
========================================= */
.portfolio-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 92%;
    max-width: 860px;
    max-height: 90vh;
    background-color: var(--bg-light);
    z-index: 2000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.portfolio-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

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

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.95);
    border: 1px solid var(--border-color);
    color: var(--primary);
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background-color: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

/* Stacked body: image on top, info on bottom */
.modal-body-stacked {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
}

/* === IMAGE AREA === */
.modal-img-area {
    position: relative;
    width: 100%;
    height: 460px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.modal-img-area img#modal-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Image counter badge */
.modal-img-counter {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-family: var(--font-title);
    letter-spacing: 0.06em;
    padding: 4px 10px;
    z-index: 10;
}

/* Slider nav buttons */
.modal-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.modal-slider-btn:hover {
    background-color: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.modal-slider-btn.prev-btn { left: 12px; }
.modal-slider-btn.next-btn { right: 12px; }

/* Thumbnail strip — overlaid at bottom of image */
.modal-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    overflow-x: auto;
    z-index: 10;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.modal-thumbnails::-webkit-scrollbar {
    height: 3px;
}

.modal-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.35);
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.65;
    flex-shrink: 0;
}

.modal-thumb.active,
.modal-thumb:hover {
    border-color: var(--accent);
    opacity: 1;
    transform: translateY(-2px);
}

/* === INFO AREA === */
.modal-info-area {
    padding: 28px 32px 28px;
    background-color: var(--bg-light);
    flex-shrink: 0;
}

.modal-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.modal-category {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.modal-date {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.modal-title {
    font-size: 1.35rem;
    color: var(--primary);
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 0;
}

.modal-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 16px 0;
}

.modal-info-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.modal-desc {
    font-size: 0.88rem;
    color: var(--text-sub);
    line-height: 1.85;
    font-weight: 300;
}

.modal-spec {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
    border-left: 1px solid var(--border-light);
    padding-left: 20px;
}

.modal-spec .spec-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    font-size: 0.82rem;
    gap: 4px;
}

.modal-spec .spec-item .label {
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.modal-spec .spec-item .val {
    color: var(--text-dark);
    font-weight: 300;
    line-height: 1.5;
}

.modal-action {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* === MODAL RESPONSIVE === */
@media (max-width: 640px) {
    .modal-img-area {
        height: 280px;
    }
    .modal-info-area {
        padding: 20px 18px;
    }
    .modal-info-body {
        grid-template-columns: 1fr;
    }
    .modal-spec {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-light);
        padding-top: 16px;
    }
    .modal-title {
        font-size: 1.1rem;
    }
    .modal-thumb {
        width: 40px;
        height: 40px;
    }
    .modal-action {
        justify-content: stretch;
    }
    .modal-action .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form-wrapper {
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.contact-form-wrapper h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-form-wrapper p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-weight: 300;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    font-size: 0.8rem;
    color: var(--text-sub);
    font-weight: 500;
}

.form-group label .required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
    border-radius: 0;
    font-weight: 300;
}

.form-group select { cursor: pointer; }

.form-group select option {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-agreement {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-agreement input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-agreement label {
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 300;
}

.form-agreement label .required { color: var(--accent); }

.submit-btn {
    margin-top: 8px;
    width: 100%;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.map-placeholder {
    height: 280px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-overlay-info {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 300px;
}

.map-marker-icon {
    font-size: 1.2rem;
    color: var(--accent);
}

.map-text h4 {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.map-text p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 300;
}

/* Map Blueprint */
.map-blueprint {
    width: 100%;
    height: 100%;
    background-color: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.map-blueprint .grid-line { background-color: var(--border-light); }
.map-blueprint .grid-line.h { width: 100%; height: 1px; margin-top: 60px; }
.map-blueprint .grid-line.v { height: 100%; width: 1px; margin-left: 80px; }

.blueprint-road {
    position: absolute;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.08em;
}

.blueprint-road.r1 { top: 40px; left: 100px; transform: rotate(-10deg); }
.blueprint-road.r2 { bottom: 50px; right: 40px; }

.blueprint-building {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent);
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.7rem;
    animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 0 rgba(204,0,0,0.1); }
    to { box-shadow: 0 0 14px rgba(204,0,0,0.25); }
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-block:last-child { border-bottom: none; }

.info-block i {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
    background-color: var(--bg-cream);
}

.info-block h4 {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.info-block p {
    font-size: 0.8rem;
    color: var(--text-sub);
    margin-top: 3px;
    font-weight: 300;
    line-height: 1.6;
}

.info-block p a:hover { color: var(--accent); }

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.55);
    padding: 64px 0 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

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

.footer-logo .company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.footer-slogan {
    font-family: var(--font-title);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
}

.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.06);
    margin: 36px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright,
.footer-corp-info {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
    font-weight: 300;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.slider-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.slider-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0 8px;
    font-weight: 300;
}

/* ==========================================
   Responsive
========================================== */

@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-description { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-interactive-card { justify-content: center; }
    .spec-board { max-width: 100%; }
    .overview-grid { grid-template-columns: 1fr; }
    .org-container { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .container { padding: 0 16px; }
    .nav-menu { display: none; }
    .mobile-nav-toggle { display: block; }

    .hero-section {
        height: auto;
        min-height: 100svh;
        padding: 100px 0 60px;
    }
    .hero-content-wrapper { padding: 0 16px; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }
    .section-title { font-size: 1.65rem; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
    .business-grid { grid-template-columns: 1fr; }
    .business-img-box { height: 200px; }
    .client-grid { grid-template-columns: repeat(2, 1fr); }

    .timeline-line { left: 20px; }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        justify-content: flex-start;
    }
    .timeline-dot { left: 12px !important; }
    .timeline-date {
        position: relative;
        top: 0;
        left: 0 !important;
        display: block;
        margin-bottom: 8px;
        text-align: left !important;
    }

    .portfolio-controls {
        grid-template-columns: 1fr;
        padding: 14px 16px;
    }
    .filter-buttons { flex-wrap: wrap; width: 100%; }
    .filter-btn { flex-grow: 1; text-align: center; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .port-img-box { height: 220px; }
    .port-img {
        width: 100%; height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .form-row { grid-template-columns: 1fr; }
    .contact-info-wrapper { padding: 0; }
    .map-placeholder { height: 240px; }

    .footer-top { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; gap: 16px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .org-node { width: 100%; max-width: 260px; }
    .info-list li { grid-template-columns: 70px 1fr; }
}

/* Scroll Animation */
.card-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease,
                transform 0.7s ease;
}

.card-animation.visible,
.card-animation.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Dark Background Text Contrast Enhancements
   Ensures text remains readable on dark backgrounds
========================================== */
.dark-bg .section-intro-text {
    color: rgba(255, 255, 255, 0.85);
}

.dark-bg .info-block h4 {
    color: var(--text-light);
}

.dark-bg .info-block p {
    color: rgba(255, 255, 255, 0.85);
}

.dark-bg .info-block p a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.dark-bg .info-block p a:hover {
    color: var(--accent);
}

.dark-bg .org-guide-text {
    color: rgba(255, 255, 255, 0.7);
}

.dark-bg .block-desc {
    color: rgba(255, 255, 255, 0.7);
}

.dark-bg .timeline-line {
    background-color: rgba(255, 255, 255, 0.2);
}

.dark-bg .timeline-dot {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Footer elements contrast boost */
.footer-logo .company-name {
    color: #FFFFFF;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-copyright,
.footer-corp-info {
    color: rgba(255, 255, 255, 0.6);
}

