/* ===========================
   Global Theme Variables
   =========================== */
:root {
    /* Fluent-like brand mapping */
    --brand-primary: #115ea3;      /* primary */
    --brand-primary-light: #62a8f7;
    --brand-primary-dark: #0b3b73;

    --brand-secondary: #0f6cbd;    /* accent */
    --brand-accent: #13a10e;       /* success accent */
    --brand-dark: #111827;
    --brand-light: #f3f4f6;
    --brand-text: #111827;

    --brand-red: #ef4444;
    --brand-orange: #f97316;
    --brand-blue: #3b82f6;
    --brand-cyan: #06b6d4;
    --brand-purple: #a855f7;
    --brand-green: #22c55e;
    --brand-teal: #14b8a6;

    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2933;
    --neutral-900: #111827;

    --success: #13a10e;
    --warning: #f59e0b;
    --error: #d13438;

    --radius: 12px;
    --transition: .3s ease;
    --ease: cubic-bezier(.16, 1, .3, 1);
}


/* Global Reset */
body {
    margin: 0;
    background: var(--brand-light);
    color: var(--brand-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 20px 0;
}

.section.alt {
    background: #eef2ff;
}

/* ===========================
   GPU Isolation Patch
   =========================== */
.hero,
.hero::before,
.hero-inner,
circle-menu,
.breadcrumb-floating,
.glass-panel,
.about-hero,
.contact-hero,
.team-card,
.mission-block,
.value-card,
.hero-banner,
.hero-overlay,
.fade-in,
.form-step,
.success-check,
.progress-bar,
.accordion-item,
.info-card,
.contact-card {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===========================
   Header & Navigation
   =========================== */
   /*
.header {
    background: var(--brand-dark);
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

#topNav {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    margin-right: 1rem;
    flex-wrap: wrap;
}
*/
.header {
    background: var(--brand-dark);
    color: white;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
}

#topNav {
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.theme-toggle {
    margin-left: 1rem;
}
#topNav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
    position: static !important;
}

.nav-item {
    white-space: nowrap;
}


@media (max-width: 768px) {

    .header-inner {
        flex-wrap: wrap !important;
        justify-content: center;
        gap: 0.75rem;
    }

    #topNav {
        margin-left: 0;
        justify-content: center;
      
    }

    .theme-toggle {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-shrink: 0;
        position: static !important;
    }
}
@media (max-width: 900px) {

    .theme-toggle button span:last-child {
        display: none;
    }

    #topNav {
        padding-right: 60px;
    }

}

.logo {
    font-size: 22px;
    font-weight: 700;
}

.nav {
    display: none;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-item {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    color: orange !important;
    transition: background .25s ease, color .25s ease;
    position: relative;
    overflow: visible;
}

.nav-item.active {
    color: transparent !important;
    background-image: linear-gradient(90deg,#b85c00 0%,#ffa500 25%,#ffe4b5 50%,#ffa500 75%,#b85c00 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    animation: metallicOrange 3s linear infinite;
}

.nav-item:hover {
    color: orange !important;
    text-shadow: 0 0 6px rgba(255,165,0,0.55);
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: orange;
    transition: width .25s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* Light mode */
@media (prefers-color-scheme: light) {
    .nav-item {
        color: black !important;
    }
    .nav-item.active {
        color: black !important;
        background: rgba(0,0,0,0.08);
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .nav-item {
        color: orange !important;
    }
    .nav-item.active {
        color: orange !important;
        background: rgba(255,165,0,0.18);
        box-shadow: 0 0 8px rgba(255,165,0,0.45);
    }
}

/* Metallic animation */
@keyframes metallicOrange {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}


/* ===========================
   Hero
   =========================== */
.hero {
    position: relative;
    background-image: url("/images/corporateskyline.png");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 60px 0;
    color: #fff;
    /* Prevent image blur */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;

}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.20)
    );
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 70px;
    align-items: center;
}

@media (min-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===========================
   TEXT ANIMATION — NEW SYSTEM
   =========================== */
.hero-text {
    opacity: 1;
    transform: translateY(20px) translateZ(0);
    animation: heroFadeIn 0.9s var(--ease) forwards;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #f8fafc;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    animation: heroSlideUp 1.1s var(--ease) forwards;
    opacity: 0;
    transform: translateY(20px) translateZ(0);
}

.hero-text p {
    font-size: 1.35rem;
    color: whitesmoke;
    max-width: 600px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
    animation: heroSlideUp 1.3s var(--ease) forwards;
    opacity: 1;
    animation-fill-mode: forwards;
    transform: translateY(20px);
}

.hero-text h1,
.hero-text p {
    opacity: 1;
    animation-fill-mode: forwards;
}
/* ===========================
   MOBILE
   =========================== */
@media (max-width: 600px) {
    .hero {
        padding: 60px 0;
        background-position: center top;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}

@keyframes heroSlideUp {
    0% {
        opacity: 0;
        transform: translateY(25px) translateZ(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}
@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}
circle-menu {
    overflow: visible;
}

circle-menu svg path {
    stroke-linejoin: round;
    stroke-linecap: round;
    shape-rendering: geometricPrecision;
    vector-effect: non-scaling-stroke;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 1.5;
    shape-rendering: geometricPrecision;
}
circle-menu::part(slice) {
    filter: drop-shadow(0 0 6px var(--glow-color));
}
/* ============================================================
   CIRCLE MENU — FLUENT NEON GLOW
   ============================================================ */
circle-menu {
    --glow-color: rgba(90,140,255,0.55);
    --glow-color-strong: rgba(120,160,255,0.85);
    z-index: 3;
    display: block;
    margin: 40px auto 20px auto;
}

circle-menu::part(slice) {
    filter: drop-shadow(0 0 6px var(--glow-color));
}
circle-menu svg,
circle-menu svg path {
    pointer-events: auto;
    cursor: pointer;
}
circle-menu svg path {
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    shape-rendering: geometricPrecision;
}
circle-menu svg path {
    stroke: rgba(255,255,255,0.15);
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

/* ===========================
   Breadcrumb
   =========================== */
.breadcrumb-floating {
    position: sticky;
    top: 20px;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 12px;
    z-index: 900;
    backdrop-filter: blur(6px);
    background: rgba(15,23,42,0.4);
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
}
/* Breadcrumb accent */
#breadcrumb strong {
    color: var(--breadcrumb-accent, var(--brand-blue));
}

.bc-link:hover {
    color: var(--breadcrumb-accent);
}


/* ===========================
   Glass Panel
   =========================== */
.glass-panel {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    transition: opacity .4s ease, transform .4s ease;
}

/* Fade-in utility */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Grid & Cards
   =========================== */
.grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Info card shimmer */
.info-card {
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0, transparent 60%);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity .35s ease, transform .35s ease;
}

.info-card:hover::after {
    opacity: 0.4;
    transform: scale(1);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--brand-dark);
    color: white;
    padding: 40px 0;
    margin-top: 80px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* ===========================
   Accordion
   =========================== */
.accordion-item {
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}

.accordion-header {
    padding: 12px 16px;
    cursor: pointer;
    background: rgba(255,255,255,0.08);
    font-weight: 600;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(255,255,255,0.04);
}

/* Padding goes here instead */
.accordion-inner {
    padding: 12px 16px;
}


/* Shimmer utility */
.shimmer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    background-size: 200% 100%;
    animation: shimmerMove 1.2s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes shimmerMove {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Tabs */
.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tab {
    padding: 8px 14px;
    cursor: pointer;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    transition: all 0.25s ease;
}

.tab:hover {
    color: #f1f5f9;
}
.tab:hover {
    color: var(--breadcrumb-accent);
     border-bottom-color: var(--breadcrumb-accent);
    border-bottom-color: var(--breadcrumb-accent);
}


.tab.active {
    color: #fff;
    border-bottom: 2px solid orange;
    text-shadow: 0 0 6px rgba(255,165,0,0.6);
  
}
/* Tab highlight */
.tab.active {
    border-bottom: 3px solid var(--brand-blue);
    color: var(--brand-orange);
    transition: all 0.25s ease;
}
.tab-content {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tab-content.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Contact Page
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-top: 20px;
    animation: slideIn .6s cubic-bezier(.16,1,.3,1);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-card {
    background: rgba(255,255,255,0.08);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.contact-card p {
    margin-bottom: 14px;
    line-height: 1.4;
}

.contact-card strong {
    color: #000;
    font-weight: 700;
}

.contact-card p + p {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 12px;
}

/* Submit button */
.contact-submit {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: orange;
    color: white;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

/* Progress bar */
.progress-bar {
    width: 0%;
    height: 4px;
    background: orange;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: width .4s ease;
    opacity: 0;
}

.progress-bar.active {
    opacity: 1;
    width: 100%;
}

/* Success checkmark */
.success-check {
    margin-top: 14px;
    font-size: 1.4rem;
    color: #4ade80;
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
    transition: opacity .4s ease, transform .4s cubic-bezier(.16,1,.3,1);
}

.success-check.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Validation shake */
input:invalid,
textarea:invalid,
select:invalid {
    animation: shake .25s ease;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

/* Multi-step form */
.form-step {
    display: none;
    animation: fadeSlide .4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Static label layout */
.static-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.static-group label {
    font-weight: 700;
    margin-bottom: 6px;
    color: #000;
}

/* Base input style */
.static-group input,
.static-group textarea,
.static-group select {
    width: 100%;
    padding: 14px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.65);
    color: #0f172a;
    outline: none;
    transition: border .25s ease, box-shadow .25s ease, background .25s ease;
    appearance: none;
}

/* Focus glow */
.static-group input:focus,
.static-group textarea:focus,
.static-group select:focus {
    border-color: orange;
    box-shadow: 0 0 10px rgba(255,165,0,0.45);
    background: rgba(255,255,255,0.9);
}

/* Dropdown options */
.static-group select option {
    background: #ffffff;
    color: #0f172a;
}

/* Select arrow */
.static-group select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

/* ===========================
   About Page
   =========================== */
.about-content p {
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-hero {
    background: linear-gradient(135deg, rgba(255,165,0,0.25), rgba(255,255,255,0.05));
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 30px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #000;
}

.about-hero h1 {
    font-size: 2rem;
    font-weight: 800;
}

.about-hero p {
    font-size: 1.1rem;
    color: #333;
    margin-top: 10px;
}

/* Team section */
.team-title {
    margin-top: 40px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.team-card {
    background: rgba(255,255,255,0.65);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(6px);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 12px;
}

.team-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
}

.team-card p {
    font-size: 0.9rem;
    color: #475569;
}

/* Mission & Values */
.mission-title {
    margin-top: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
}

.mission-container {
    margin-top: 20px;
}

.mission-block {
    background: rgba(255,255,255,0.65);
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(6px);
    margin-bottom: 30px;
}

.mission-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.mission-block p {
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.value-card {
    background: rgba(255,255,255,0.65);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(6px);
    text-align: left;
}

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.95rem;
   color: #475569;
    line-height: 1.5;
}

.bc-link {
    cursor: pointer;
    color: orange;
    font-weight: 600;
}

.bc-link:hover {
    text-decoration: underline;
}

/* ===========================
   Home Menu Hero Banner
   =========================== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    /*background-image: url('/images/corporateskyline.png');*/
    background-image: var(--hero-bg-image);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-banner.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
}

.hero-content h1 {
    font-size: 2rem;
    margin: 0 0 10px 0;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}
/* High-performance mode overrides */
.glass-panel,
.about-hero,
.team-card,
.mission-block,
.value-card {
    backdrop-filter: none;
}

.shimmer,
.hero-text,
.hero-banner,
.contact-grid {
    animation: none;
}
/*===========================
Transition fade
=============================*/
#menuOutputPanel {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease-out, transform 220ms ease-out;
}

#menuOutputPanel.transition-out {
    opacity: 0;
    transform: translateY(8px);
}

#menuOutputPanel.transition-in {
    opacity: 1;
    transform: translateY(0);
}
#menuOutputPanel {
    background: var(--panel-bg, var(--panel-bg-default));
}
/* ========== PANEL CONTAINER ========== */

#menuOutputPanel {
    padding: 24px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 55%)
                rgba(15,23,42,0.92);
    border: 1px solid rgba(148,163,184,0.35);
    backdrop-filter: blur(18px);
    color: #e5e7eb;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 24px 60px rgba(15,23,42,0.7);
    transition: transform 0.35s ease, opacity 0.35s ease;
    opacity: 0;
    transform: translateY(12px);
}

#menuOutputPanel.panel-visible {
    opacity: 1;
    transform: translateY(0);
}

#menuOutputPanel {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

#menuOutputPanel.panel-transitioning {
    opacity: 0;
    transform: translateY(10px);
}

#menuOutputPanel.panel-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ========== HEADER ========== */

.panel-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.service-wrapper {
    background: #f8f9fb;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
/*
.panel-header {
    text-align: left;
    margin-bottom: 25px;
}
*/
.panel-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.panel-title {
    margin: 0;
    font-size: 2rem;
}

.panel-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
}

.mission-block {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.panel-section {
    margin-top: 30px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.cap-item {
    display: flex;
    gap: 12px;
    background: white;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cap-item span {
    font-size: 1.8rem;
}

.benefits-list li {
    margin-bottom: 8px;
}

.usecase-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.usecase-card {
    background: white;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tech-list li {
    margin-bottom: 6px;
}

/* ========== SECTIONS ========== */

.panel-section {
    margin: 30px 0;
}

.panel-section h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.panel-section p {
    margin: 0;
    line-height: 1.6;
    font-size: 0.96rem;
    color: black;
}

/* ========== METRIC ROW ========== */

.metric-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 8px;
}

.metric-card {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.5);
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

/* ========== CAPABILITIES GRID ========== */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.cap-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(51,65,85,0.9);
}

.cap-item span {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cap-item h4 {
    margin: 0 0 4px;
    font-size: 0.98rem;
    font-weight: 600;
}

.cap-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* ========== BENEFITS LIST ========== */

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.benefits-list li {
    margin-bottom: 6px;
    font-size: 0.94rem;
    color: #d1d5db;
}

/* ========== USE CASES ========== */

.usecase-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.usecase-card {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(55,65,81,0.9);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ========== TECH LIST ========== */

.tech-list {
    columns: 2;
    column-gap: 24px;
    padding-left: 16px;
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: #d1d5db;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
    #menuOutputPanel {
        padding: 18px;
        border-radius: 16px;
    }

    .panel-header {
        flex-direction: row;
        align-items: center;
    }

    .panel-title {
        font-size: 1.5rem;
    }

    .tech-list {
        columns: 1;
    }
}

@media (max-width: 640px) {
    #menuOutputPanel {
        padding: 16px;
        margin: 0 10px 24px;
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .metric-row {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .metric-card {
        white-space: nowrap;
    }

    .usecase-row {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .usecase-card {
        white-space: nowrap;
    }
}

/* ===========================
   BASE STYLE
   =========================== */
.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-weight: 600;
    color: var(--brand-blue);
    cursor: pointer;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}

/* Hover motion */
.learn-more:hover {
    color: var(--brand-blue-hover);
    transform: translateX(3px);
}

/* Optional icon */
.learn-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* ===========================
   UNDERLINE VARIANT
   =========================== */
.learn-more.underline {
    position: relative;
    padding-bottom: 2px;
}

.learn-more.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: currentColor;
    transition: width .25s ease;
}

.learn-more.underline:hover::after {
    width: 100%;
}

/* ===========================
   GLOW VARIANT
   =========================== */
.learn-more.glow {
    gap: 8px;
}

.learn-more.glow:hover .glow-icon {
    filter: drop-shadow(0 0 6px var(--brand-blue));
    transform: scale(1.08);
    transition: filter .25s ease, transform .25s ease;
}

.value-card * {
    pointer-events: auto;
}
.value-card {
    cursor: pointer;
}

.value-card .learn-more {
    pointer-events:auto;
}
.value-card .learn-more {
    pointer-events: auto;
    cursor: pointer;
}

/*
.learn-more.underline {
    position: relative;
    font-weight: 600;
    color: var(--brand-blue);
    text-decoration: none;
    cursor: pointer;
    padding-bottom: 2px;
}

.learn-more.underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: var(--brand-blue);
    transition: width .25s ease;
}

.learn-more.underline:hover::after {
    width: 100%;
}


.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-weight: 600;
    color: var(--brand-blue);
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
}
.learn-more {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--brand-blue);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .25s ease;
}

.learn-more:hover {
    color: var(--brand-blue-hover);
    transform: translateX(3px);
}

.learn-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.learn-more.glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: var(--brand-blue);
}

.learn-more:hover {
    color: var(--brand-blue-hover);
}

.learn-more.glow:hover .glow-icon {
    filter: drop-shadow(0 0 6px var(--brand-blue));
    transform: scale(1.08);
}*/


/*==================info modal=================*/
.modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.show {
    display: flex;
}

/* Backdrop behind panel */
.modal-backdrop {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.35);
    z-index: 1;
    animation: fadeIn .3s ease;
}

/* Panel above backdrop */
.modal-panel {
    position: relative;
    z-index: 2;
    width: 520px;
    max-width: 90%;
    padding: 24px;
    border-radius: 18px;
    animation: panelIn .35s cubic-bezier(.4,0,.2,1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--fg-muted);
}

@keyframes panelIn {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/*================================================
// SERVICE CARD
//==============================================*/
.service-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-icon {
    font-size: 42px;
}

.service-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.service-subtitle {
    margin: 0;
    font-size: 1rem;
    opacity: 0.8;
}

.service-intro {
    font-size: 1rem;
    opacity: 0.9;
}

.service-section-title {
    margin-top: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.service-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-outcome {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}
.service-header {
    text-align: left;
    margin-bottom: 30px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
}

.service-section {
    margin-top: 20px;
}

.deliver-list {
    padding-left: 20px;
    line-height: 1.6;
}

.deliver-list li {
    margin-bottom: 8px;
}
/* LIGHT / DARK MODE */
body {
    background: #f3f4f8;
    color: #111827;
}

body.dark {
    background: #050816;
    color: #e5e7eb;
}

/* WRAPPER */
.service-wrapper {
    background: #f8f9fb;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

body.dark .service-wrapper {
    background: #0b1020;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

/* HERO */
.panel-hero {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(16,185,129,0.08));
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 22px;
    border: 1px solid rgba(148,163,184,0.4);
}

body.dark .panel-hero {
    background: radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 55%),
                radial-gradient(circle at bottom right, rgba(16,185,129,0.25), transparent 55%);
    border-color: rgba(148,163,184,0.35);
}

.panel-hero-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.panel-icon {
    font-size: 3rem;
}

.panel-title {
    margin: 0;
    font-size: 2rem;
}

.panel-subtitle {
    margin: 4px 0 0;
    color: #4b5563;
}

body.dark .panel-subtitle {
    color: #9ca3af;
}

/* MISSION */
.mission-block {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.dark .mission-block {
    background: #020617;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

/* SECTIONS */
.panel-section {
    margin-top: 30px;
}

/* CAPABILITIES */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.cap-item {
    display: flex;
    gap: 12px;
    background: #ffffff;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.dark .cap-item {
    background: #020617;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.cap-item span {
    font-size: 1.8rem;
}

/* BENEFITS */
.benefits-list li {
    margin-bottom: 8px;
}

/* USE CASES */
.usecase-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.usecase-card {
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.dark .usecase-card {
    background: #020617;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

/* TECH LIST */
.tech-list li {
    margin-bottom: 6px;
}

/* RELATED SERVICES */
.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.related-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    background: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

body.dark .related-card {
    background: #020617;
    border-color: rgba(148,163,184,0.5);
}

.related-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.reveal-in {
    opacity: 1;
    transform: translateY(0);
}
body.dark .theme-toggle button span:last-child {
    color: #ffffff;
}
body.dark .static-group label,
body.dark .panel-section p {
    color: #ffffff;
}
body.dark .contact-card strong,
body.dark .hero-text p,
body.dark .contact-card p a {
    color: orange;
}
/* Dynamic contents */
body.dark .mission-block h3,
body.dark .mission-block p,
body.dark .related-label{
    color: #ffffff;
}
.reveal-root .reveal:nth-child(1) { transition-delay: 0.02s; }
.reveal-root .reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal-root .reveal:nth-child(3) { transition-delay: 0.10s; }
.reveal-root .reveal:nth-child(4) { transition-delay: 0.14s; }
.reveal-root .reveal:nth-child(5) { transition-delay: 0.18s; }
.reveal-root .reveal:nth-child(6) { transition-delay: 0.22s; }
.reveal-root .reveal:nth-child(7) { transition-delay: 0.26s; }
.reveal-root .reveal:nth-child(8) { transition-delay: 0.30s; }
