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

body {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    color: #333;
    background-color: #f4f7f6;
    line-height: 1.65;
    letter-spacing: 0.03em;
    font-weight: 400;
}

/* =========================================
   Fullscreen Main Page Layout
========================================= */
.main-page-fullscreen {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #050505;
    position: relative;
}

.spline-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.spline-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Corner Navigation */
.corner-nav {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: opacity 0.4s ease;
    opacity: 0.85;
}

.corner-nav:hover {
    opacity: 1;
}

.corner-nav span {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 15px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

.icon-wrapper {
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: filter 0.4s ease;
}

.corner-nav:hover .icon-wrapper {
    filter: brightness(2) drop-shadow(0 0 25px rgba(0, 240, 255, 0.8));
}

.corner-nav.collision-pulse .icon-wrapper {
    animation: iconCollisionPulse 0.52s ease-out;
}

.icon-wrapper::before,
.icon-wrapper::after {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.icon-wrapper::before {
    border: 1px solid rgba(0, 240, 255, 0.42);
    box-shadow:
        0 0 22px rgba(0, 240, 255, 0.34),
        inset 0 0 24px rgba(0, 240, 255, 0.16);
}

.icon-wrapper::after {
    inset: 0;
    background:
        radial-gradient(circle at 20% 48%, rgba(255,255,255,0.95) 0 2px, transparent 3px),
        radial-gradient(circle at 76% 34%, rgba(0,240,255,0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 64% 78%, rgba(255,255,255,0.75) 0 1px, transparent 3px),
        radial-gradient(circle at 35% 70%, rgba(0,240,255,0.8) 0 1px, transparent 3px);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.75));
}

.corner-nav.collision-pulse .icon-wrapper::before {
    animation: collisionGlowRing 0.62s ease-out;
}

.corner-nav.collision-pulse .icon-wrapper::after {
    animation: collisionSparks 0.42s ease-out;
}

@keyframes iconCollisionPulse {
    0% {
        filter: brightness(1.15) drop-shadow(0 0 0 rgba(0, 240, 255, 0));
    }
    28% {
        filter:
            brightness(1.75)
            drop-shadow(0 0 18px rgba(0, 240, 255, 0.58))
            drop-shadow(0 0 42px rgba(0, 240, 255, 0.28));
    }
    100% {
        filter: brightness(1) drop-shadow(0 0 0 rgba(0, 240, 255, 0));
    }
}

@keyframes collisionGlowRing {
    0% {
        opacity: 0;
        transform: scale(0.72);
    }
    32% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.28);
    }
}

@keyframes collisionSparks {
    0% {
        opacity: 0;
        transform: scale(0.82) rotate(0deg);
    }
    24% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.18) rotate(14deg);
    }
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 1025px) {
    .top-left .icon-wrapper {
        width: 360px;
        height: 360px;
    }

    .top-right .icon-wrapper,
    .bottom-left .icon-wrapper,
    .bottom-right .icon-wrapper {
        width: 270px;
        height: 270px;
    }
}

/* Positions with responsive margins */
.top-left { top: 12vh; left: 8vw; }
.bottom-left { bottom: 12vh; left: 8vw; }
.top-right { top: 12vh; right: 8vw; }
.bottom-right { bottom: 12vh; right: 8vw; }

@media (max-width: 1024px) {
    .icon-wrapper { width: 120px; height: 120px; }
    .top-left { top: 8vh; left: 5vw; }
    .bottom-left { bottom: 8vh; left: 5vw; }
    .top-right { top: 8vh; right: 5vw; }
    .bottom-right { bottom: 8vh; right: 5vw; }
}

@media (max-width: 768px) {
    .top-left .icon-wrapper { width: 104px; height: 104px; }
    .top-right .icon-wrapper,
    .bottom-left .icon-wrapper,
    .bottom-right .icon-wrapper { width: 96px; height: 96px; }
    .top-left { top: 5vh; left: 5vw; }
    .bottom-left { bottom: 5vh; left: 5vw; }
    .top-right { top: 5vh; right: 5vw; }
    .bottom-right { bottom: 5vh; right: 5vw; }
    .corner-nav span { font-size: 0.8rem; margin-top: 10px; }
    .company-logo-overlay img { height: 48px; }
}

/* =========================================
   Sub Page Layout (Sidebar + Content)
========================================= */
.sub-page {
    display: flex;
    min-height: 100vh;
    background-color: #0d0d0d;
    color: #e0e0e0;
}

.sidebar {
    width: 280px;
    background-color: #111111;
    border-right: 1px solid #222;
    color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.sidebar .logo {
    display: block;
    margin-bottom: 60px;
}

.sidebar .logo img {
    max-width: 100%;
    height: auto;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav ul li {
    margin-bottom: 12px;
}

.sidebar-nav ul li a {
    display: block;
    color: #888;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    background-color: #1a1a1a;
    color: #ffffff;
    border-left: 4px solid #00f0ff;
    padding-left: 16px;
}

.content-area {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 80px 10%;
    background-color: #0d0d0d;
    min-height: 100vh;
    overflow-y: auto;
}

.satellite-content {
    overflow: visible;
}

.content-header {
    margin-bottom: 50px;
}

.content-header h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-description {
    font-size: 1.15rem;
    color: #a0aab2;
    max-width: 800px;
    line-height: 1.8;
}

/* Tabs UI */
.tabs-container {
    margin-bottom: 60px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: #ccc;
}

.tab-btn.active {
    color: #00f0ff;
    border-bottom: 3px solid #00f0ff;
}

.tab-content {
    background-color: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 50px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

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

.pane-content h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
}

.content-block {
    margin-bottom: 35px;
}

.content-block h3 {
    font-size: 1.2rem;
    color: #00f0ff;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-block p {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-block ul {
    list-style-type: none;
}

.content-block ul li {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.content-block ul li::before {
    content: "•";
    color: #00f0ff;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.cta-btn {
    display: inline-block;
    background-color: #00f0ff;
    color: #000;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #00c0cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

/* Why Hun's Section */
.why-huns-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #141414;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
}

.card p {
    color: #a0aab2;
    line-height: 1.7;
}

/* Simulation Section */
.simulation-section {
    margin-bottom: 80px;
}

.simulation-placeholder {
    background-color: #141414;
    border: 1px dashed #444;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
}

.simulation-placeholder p {
    color: #777;
    font-size: 1.1rem;
}

.pricing-simulator {
    background:
        radial-gradient(circle at 16% 12%, rgba(0, 240, 255, 0.1), transparent 28%),
        linear-gradient(145deg, #111418 0%, #07090b 100%);
    border: 1px solid #24313b;
    border-radius: 12px;
    padding: 36px;
}

.simulator-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.simulator-panel {
    min-width: 0;
}

.simulator-intro {
    margin-bottom: 30px;
}

.simulator-intro h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.simulator-intro p {
    color: #a0aab2;
    line-height: 1.8;
}

.simulator-step {
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.simulator-step:first-of-type {
    border-top: none;
    padding-top: 0;
}

.step-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.step-heading span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #050505;
    background-color: #00f0ff;
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 900;
}

.step-heading h4 {
    color: #fff;
    font-size: 1.2rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}

.choice-stack {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.choice-group h5 {
    color: #00f0ff;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.choice-card {
    min-height: 92px;
    width: 100%;
    text-align: left;
    color: #dbe6ef;
    background: linear-gradient(145deg, rgba(19, 23, 28, 0.94), rgba(8, 10, 12, 0.94));
    border: 1px solid #27333f;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.choice-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.55);
}

.choice-card.active {
    border-color: #00f0ff;
    box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.18), 0 14px 30px rgba(0, 0, 0, 0.32);
}

.choice-card strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}

.choice-card span {
    display: block;
    color: #8fa0af;
    font-size: 0.86rem;
    line-height: 1.55;
}

.choice-card .price-line {
    color: #00f0ff;
    font-weight: 800;
    margin-top: 10px;
}

.estimate-summary-card {
    position: relative;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    will-change: transform;
    background:
        linear-gradient(145deg, rgba(8, 11, 14, 0.98), rgba(4, 5, 7, 0.98)),
        radial-gradient(circle at 70% 0%, rgba(0, 240, 255, 0.13), transparent 28%);
    border: 1px solid #263744;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.summary-kicker {
    color: #00f0ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.summary-total {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 12px 0 8px;
}

.summary-initial {
    color: #9aa8b5;
    margin-bottom: 24px;
}

.summary-initial strong {
    color: #fff;
}

.summary-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.summary-list div {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-list dt {
    color: #748491;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.summary-list dd {
    color: #dbe6ef;
    font-size: 0.94rem;
    line-height: 1.6;
}

.summary-note {
    color: #95a7b7;
    background-color: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.16);
    border-radius: 8px;
    padding: 14px;
    font-size: 0.82rem;
    line-height: 1.7;
}

/* Company Logo Overlay */
.company-logo-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    background-color: #050505;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.company-logo-overlay:hover {
    box-shadow: 0 0 22px rgba(0, 240, 255, 0.28), 0 4px 15px rgba(0,0,0,0.5);
}

.company-logo-overlay img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* =========================================
   Waste Management Page Specific Styles
========================================= */
.hero-section {
    background: linear-gradient(135deg, #0f1b29 0%, #1a365d 100%);
    padding: 80px 50px;
    border-radius: 12px;
    margin-bottom: 60px;
    text-align: center;
    border: 1px solid #2a4365;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #90cdf4;
}

.waste-section {
    margin-bottom: 80px;
}

.highlight-section {
    background-color: #111;
    border: 1px solid #333;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
}

.big-message {
    margin-bottom: 20px;
}

.price-tag {
    font-size: 5rem;
    font-weight: 900;
    color: #48bb78;
    text-shadow: 0 0 30px rgba(72, 187, 120, 0.2);
}

.sub-message {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.solution-desc {
    font-size: 1.15rem;
    color: #a0aab2;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Map Section */
.map-container {
    display: flex;
    gap: 40px;
    background-color: #141414;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 12px;
}

.map-info {
    flex: 1;
}

.map-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-step {
    border-left: 3px solid #333;
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #333;
}

.timeline-step.active {
    border-left-color: #00f0ff;
}

.timeline-step.active::before {
    background-color: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

.timeline-step h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-step p {
    color: #a0aab2;
}

.infographic-map {
    width: 100%;
    height: 350px;
    background-color: #0a0a0a;
    border-radius: 12px;
    border: 1px solid #222;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.map-legend {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.legend-item:last-child { margin-bottom: 0; }

.color-box {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 10px;
}
.color-box.active { background-color: #00f0ff; box-shadow: 0 0 8px #00f0ff; }
.color-box.pending { background-color: #555; }

.network-nodes {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.network-lines {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
}

.node span {
    position: absolute;
    top: 20px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
}

.node.active {
    background-color: #00f0ff;
    box-shadow: 0 0 15px #00f0ff;
}
.node.active span { color: #00f0ff; }

.node.pending {
    background-color: #555;
}
.node.pending span { color: #888; }

/* Process Section */
.process-banner {
    text-align: center;
    margin-bottom: 40px;
}

.highlight-text {
    display: inline-block;
    background-color: #2c5282;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 30px;
    border: 1px solid #4299e1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.step {
    background-color: #141414;
    border: 1px solid #222;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.step-num {
    width: 50px;
    height: 50px;
    background-color: #00f0ff;
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.step h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.step p {
    color: #a0aab2;
    font-size: 0.95rem;
}

/* Eco Section */
.eco-section {
    background: linear-gradient(135deg, #0a1f18 0%, #133a2d 100%);
    padding: 60px;
    border-radius: 12px;
    border: 1px solid #1f5c48;
}

.eco-title {
    font-size: 2.8rem;
    color: #48bb78;
    margin-bottom: 10px;
    font-weight: 800;
}

.eco-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

/* Gallery Styles Updated */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    background-color: #111;
    border: 1px solid #222;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #333;
}

.img-wrapper {
    height: 220px;
    width: 100%;
    background-color: #1a1a1a;
    position: relative;
}

/* Beautiful Abstract Industrial Backgrounds as Placeholders */
.dark-industrial-1 { background: linear-gradient(145deg, #1a2a3a 0%, #0d151d 100%); }
.dark-industrial-2 { background: linear-gradient(145deg, #1e2022 0%, #0b0c0d 100%); }
.dark-industrial-3 { background: linear-gradient(145deg, #152828 0%, #0a1414 100%); }
.dark-industrial-4 { background: linear-gradient(145deg, #2a203a 0%, #15101d 100%); }
.dark-industrial-5 { background: linear-gradient(145deg, #2a2a1a 0%, #15150d 100%); }
.dark-industrial-6 { background: linear-gradient(145deg, #202a3a 0%, #10151d 100%); }

/* Add subtle icons or overlay to the abstract backgrounds to make them look nice */
.img-wrapper::after {
    content: '📷 Image Pending';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.15);
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-caption {
    padding: 15px 20px;
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid #222;
    background-color: #0a0a0a;
}

.gallery-item:hover .gallery-caption {
    color: #00f0ff;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background-color: #111;
    padding: 60px;
    border-radius: 12px;
    border: 1px dashed #333;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: #a0aab2;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-btn.secondary {
    background-color: transparent;
    border: 2px solid #00f0ff;
    color: #00f0ff;
}

.cta-btn.secondary:hover {
    background-color: rgba(0, 240, 255, 0.1);
    box-shadow: none;
}

.big-statement {
    text-align: center;
    margin-bottom: 40px;
}

.big-statement h2 {
    font-size: 2.5rem;
    color: #00f0ff;
    margin-bottom: 10px;
}

/* =========================================
   CCTV Page Specific Styles
========================================= */
.cctv-section {
    margin-bottom: 80px;
}

.overview-content {
    background-color: #111;
    border: 1px solid #222;
    padding: 40px;
    border-radius: 12px;
}

.overview-content p {
    font-size: 1.15rem;
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 30px;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tag {
    background-color: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.usecase-banner {
    text-align: left;
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.usecase-item {
    background: linear-gradient(145deg, #16181a 0%, #0d0f12 100%);
    border: 1px solid #2a2d33;
    padding: 30px 25px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.usecase-item:hover {
    transform: translateY(-5px);
    border-color: #4a4d53;
}

.usecase-item h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.usecase-item p {
    color: #a0aab2;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CCTV Gallery Abstract Backgrounds */
.dark-cctv-1 { background: linear-gradient(145deg, #1a2a3a 0%, #050a10 100%); }
.dark-cctv-2 { background: linear-gradient(145deg, #0d1a26 0%, #000000 100%); }
.dark-cctv-3 { background: linear-gradient(145deg, #142823 0%, #05100d 100%); }
.dark-cctv-4 { background: linear-gradient(145deg, #2b1f1f 0%, #100a0a 100%); }

/* =========================================
   AI Page Specific Styles
========================================= */
.ai-section {
    margin-bottom: 80px;
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ai-service-card {
    background: linear-gradient(145deg, #12141a 0%, #0a0b0d 100%);
    border: 1px solid #222633;
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ai-service-card:hover {
    transform: translateY(-5px);
    border-color: #3b4259;
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background-color: rgba(0, 240, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.ai-service-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.ai-service-card p {
    color: #a0aab2;
    line-height: 1.7;
    margin-bottom: 20px;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    color: #d1d5db;
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00f0ff;
    font-weight: bold;
}

/* Internal AI / Knowledge Section */
.ai-section.highlight-section {
    background: linear-gradient(135deg, #0a0e17 0%, #0d1a2b 100%);
    border: 1px solid #1a2f4c;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
}

.big-statement .subtitle {
    font-size: 1.5rem;
    color: #90cdf4;
    font-weight: 500;
    margin-top: 10px;
}

.knowledge-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.knowledge-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.catchphrase {
    font-size: 1.3rem;
    color: #00f0ff;
    margin-bottom: 25px;
    font-weight: 600;
}

.knowledge-content p {
    font-size: 1.1rem;
    color: #b0c4de;
    line-height: 1.8;
    margin-bottom: 30px;
}

.highlight-box {
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #00f0ff;
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
}

.highlight-box ul {
    list-style: none;
}

.highlight-box ul li {
    color: #e2e8f0;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.05rem;
}
.highlight-box ul li:last-child { margin-bottom: 0; }
.highlight-box ul li strong {
    color: #00f0ff;
    margin-right: 10px;
}

/* Security & Tech */
.ts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.ts-card {
    background-color: #111;
    border: 1px dashed #333;
    padding: 40px;
    border-radius: 12px;
}

.ts-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.ts-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.ts-card p {
    color: #a0aab2;
    margin-bottom: 25px;
    line-height: 1.6;
}

.ts-card ul {
    list-style: none;
}

.ts-card ul li {
    color: #cbd5e1;
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}

.ts-card ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 2px;
    color: #4a5568;
    font-size: 0.8rem;
}

/* =========================================
   About Page Specific Styles
========================================= */
.about-section {
    margin-bottom: 90px;
}

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

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.intro-card {
    background-color: #111;
    border: 1px solid #222;
    padding: 40px 30px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    border-color: #333;
}

.intro-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.intro-card p {
    color: #a0aab2;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Message Section */
.message-section {
    background: linear-gradient(145deg, #0f1520 0%, #050a10 100%);
    border: 1px solid #1a2538;
    border-radius: 12px;
    padding: 60px;
    position: relative;
}

.message-title {
    font-size: 2.2rem;
    color: #00f0ff;
    margin-bottom: 40px;
}

.quote {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.message-body p {
    color: #b0c4de;
    font-size: 1.1rem;
    line-height: 1.9;
}

.ceo-signature {
    margin-top: 40px;
    font-size: 1.2rem;
    color: #fff !important;
    font-weight: 600;
    text-align: right;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* Philosophy Section (3H) */
.h-card {
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #0d0d0d;
}

.big-letter {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    user-select: none;
}

.h-card h3 {
    color: #00f0ff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

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

/* Strengths Section (3S) */
.strengths-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strength-item {
    display: flex;
    align-items: flex-start;
    background-color: #111;
    border: 1px solid #222;
    padding: 35px 40px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.strength-item:hover {
    background-color: #151515;
    border-color: #333;
}

.s-icon {
    font-size: 3rem;
    margin-right: 30px;
    background-color: rgba(0, 240, 255, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.s-text h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.s-text p {
    color: #a0aab2;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Company Access Section */
.company-access-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 240, 255, 0.12), transparent 28%),
        linear-gradient(145deg, #10151b 0%, #080a0d 100%);
    border: 1px solid #1f2b34;
    border-radius: 12px;
    padding: 56px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.access-heading {
    max-width: 860px;
    margin-bottom: 36px;
}

.section-kicker {
    display: inline-block;
    color: #00f0ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.access-heading .section-title {
    margin-bottom: 18px;
}

.access-heading p {
    color: #a0aab2;
    font-size: 1.08rem;
    line-height: 1.8;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.office-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: rgba(7, 9, 12, 0.86);
    border: 1px solid #24313b;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.office-map {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 260px;
    background-color: #050608;
    overflow: hidden;
}

.office-map::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 8, 11, 0.18), rgba(5, 8, 11, 0.42)),
        radial-gradient(circle at 76% 22%, rgba(0, 240, 255, 0.18), transparent 26%);
    mix-blend-mode: screen;
}

.office-map::after {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
}

.office-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.9) contrast(1.05) saturate(0.75) brightness(0.82);
}

.office-content {
    padding: 30px;
}

.office-label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    color: #00f0ff;
    background-color: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.office-content h3 {
    color: #fff;
    font-size: 1.55rem;
    margin-bottom: 22px;
}

.office-details {
    display: grid;
    gap: 16px;
}

.office-details div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.office-details dt {
    color: #77838e;
    font-size: 0.86rem;
    font-weight: 700;
}

.office-details dd {
    min-width: 0;
    color: #cbd5df;
    font-size: 0.98rem;
    line-height: 1.7;
}

.office-details a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.office-details a:hover {
    color: #00f0ff;
}

/* Contact Form */
.contact-form-section {
    background:
        linear-gradient(145deg, rgba(17, 20, 24, 0.98), rgba(7, 8, 10, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.12), transparent 32%);
    border: 1px dashed #333;
    border-radius: 12px;
    padding: 56px;
}

.contact-form-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 38px;
}

.contact-form-header h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.contact-form-header p {
    color: #a0aab2;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-form {
    max-width: 980px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-field {
    min-width: 0;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e8edf2;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-field label span {
    color: #050505;
    background-color: #00f0ff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 800;
}

.form-field input,
.form-field textarea {
    width: 100%;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.28);
    border: 1px solid #26323d;
    border-radius: 8px;
    padding: 15px 16px;
    font: inherit;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
}

.form-field input:focus,
.form-field textarea:focus {
    background-color: rgba(0, 0, 0, 0.42);
    border-color: #00f0ff;
    box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.1);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-actions p {
    color: #8f9aa4;
    font-size: 0.92rem;
    line-height: 1.7;
}

.form-submit-btn {
    flex-shrink: 0;
    min-width: 180px;
    border: none;
    border-radius: 8px;
    background-color: #00f0ff;
    color: #000;
    padding: 15px 34px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-submit-btn:hover {
    background-color: #00c0cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 240, 255, 0.22);
}

.form-result-page {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.form-result-section {
    margin-top: 8vh;
}

.contact-form-header h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.form-error-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 22px 24px;
    color: #ffd9d9;
    background-color: rgba(255, 78, 78, 0.08);
    border: 1px solid rgba(255, 78, 78, 0.28);
    border-radius: 8px;
}

.form-error-box p {
    margin-bottom: 8px;
}

.form-error-box p:last-child {
    margin-bottom: 0;
}

.form-result-actions {
    justify-content: center;
}

.form-back-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 768px) {
    .strength-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .s-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* =========================================
   Responsive Layout Additions
========================================= */

html, body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .section-title {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Adjust heading size dynamically */
.content-header h1 {
    font-size: clamp(28px, 8vw, 48px);
}

.pane-content h2, .section-title {
    font-size: clamp(24px, 6vw, 36px);
}

/* Mobile Header base styling (hidden on PC) */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 10px;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    margin: 5px auto;
    transition: all 0.3s ease;
}

/* 1200px: Small Laptops / Large Tablets */
@media (max-width: 1200px) {
    .content-area {
        padding: 60px 5%;
    }
}

/* 1024px: Tablets / Foldables Unfolded */
@media (max-width: 1024px) {
    .sub-page {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        padding: 20px 5%;
        border-right: none;
        border-bottom: 1px solid #222;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .sidebar .logo {
        margin-bottom: 0;
        width: 180px;
    }

    /* Change sidebar nav to horizontal on tablet */
    .sidebar-nav {
        display: block;
    }
    
    .sidebar-nav ul {
        display: flex;
        gap: 15px;
    }
    
    .sidebar-nav ul li {
        margin-bottom: 0;
    }
    
    .sidebar-nav ul li a {
        padding: 10px 15px;
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        font-size: 0.95rem;
    }
    
    .sidebar-nav ul li a:hover,
    .sidebar-nav ul li a.active {
        background-color: transparent;
        border-left: none;
        border-bottom: 2px solid #00f0ff;
        padding-left: 15px;
    }
    
    .content-area {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding: 40px 5%;
    }

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

    /* Tabs adjustment for tablet */
    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
}

/* 900px: Small Tablets / Foldable Inner Screen */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .price-tag {
        font-size: 3.5rem;
    }
    
    /* Photo gallery fallback */
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* 768px: Mobile Layout */
@media (max-width: 768px) {
    .sidebar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        position: relative;
    }

    .sidebar-header {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .sidebar-nav {
        display: none; /* Hidden by default on mobile */
        width: 100%;
        margin-top: 20px;
        animation: fadeIn 0.3s ease;
    }
    
    .sidebar-nav.active {
        display: block;
    }

    .sidebar-nav ul {
        flex-direction: column;
        gap: 5px;
    }

    .sidebar-nav ul li a {
        padding: 12px 15px;
        border-bottom: none;
        border-left: 2px solid transparent;
        background-color: #1a1a1a;
        border-radius: 8px;
    }

    .sidebar-nav ul li a:hover,
    .sidebar-nav ul li a.active {
        background-color: #222;
        border-left: 2px solid #00f0ff;
        padding-left: 15px;
    }
    
    /* Make mobile menu button an 'X' when active */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .content-area {
        padding: 30px 20px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .map-container {
        flex-direction: column;
    }

    .infographic-map {
        height: 250px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .tab-content {
        padding: 30px 20px;
    }

    .company-access-section {
        padding: 36px 22px;
    }

    .contact-form-section {
        padding: 36px 22px;
    }

    .contact-form-header h2 {
        font-size: 1.85rem;
    }

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

    .pricing-simulator {
        padding: 24px 18px;
    }

    .simulator-workspace {
        grid-template-columns: 1fr;
    }

    .estimate-summary-card {
        position: static;
    }

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

    .office-map {
        min-height: 230px;
    }

    .office-content {
        padding: 24px 20px;
    }

    .office-details div {
        grid-template-columns: 82px 1fr;
        gap: 12px;
    }
}

/* 600px: Foldable Outer Screen / Large Mobile */
@media (max-width: 600px) {
    .highlight-section, .eco-section {
        padding: 30px 20px;
    }
    
    .price-tag {
        font-size: 2.8rem;
    }
    
    .sub-message {
        font-size: 1.5rem;
    }
}

/* 480px: Standard Mobile */
@media (max-width: 480px) {
    .content-header h1 {
        margin-bottom: 15px;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .office-details div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .office-map {
        min-height: 210px;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-submit-btn {
        width: 100%;
    }
}

/* 390px / 360px: Small Mobile */
@media (max-width: 390px) {
    .sidebar .logo {
        width: 140px;
    }
    .content-area {
        padding: 20px 15px;
    }
}
