
:root {
  --ink: #1b1f24;
  --bg: #0b1020;
  --card: #11162a;
  --text: #e9eefc;
  --muted: #b9c3e6;
  --brand: #5ea1ff;
  --brand-dark: #3c78e0;
  --accent: #67e8f9;
  --success: #22c55e;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 14px;
  --speed: 240ms;

  --surface: #0e1530;
  --surface-2: #121a3b;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-2: 16px;
  --shadow-2: 0 14px 40px rgba(0,0,0,.35);
  --shadow-2-strong: 0 20px 60px rgba(0,0,0,.55);

  --navbar-item-color: #cdd992;
  --navbar-ai-color: #8d74f0;
}

body::before {
  display: block;
  content: "";
  height: 60px;
}

body {
  background-color:#0b1020;
}

/* simplified chinese */
.simplified {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* traditional chinese */
.traditional {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body.simplified .accordion-button {
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif !important;
}

body.simplified .accordion-button * {
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif !important;
}

/* use custom back color for background instead of bg-dark offered by Bootstrap */
.bg-custom {
  background-color: #0b1020;
}

.blacktitle {
  color: #1D1D1F;
}

.metallicblue {
border-radius: var(--radius);
background: radial-gradient(600px 240px at 30% 20%, #1e2750, #0e1530);
border: 1px dashed rgba(255,255,255,.2);
color: var(--muted);
}

/* Benefit and Social Proof */
.list {
display: grid; gap: 10px; margin-top: 10px;
}

.list li {
list-style: none; padding-left: 28px; position: relative; color: var(--muted);
}

.list li::before {
content: "✓"; color: #7ee787; position: absolute; left: 0; top: 0;
}

.problem-list li::before{ content:"⚠"; color: var(--warning); }

ul {
  margin: 18px 0;
}


.navbar-brand,
.nav-link,
.dropdown-item {
  color: var(--navbar-item-color) !important;
}

.nav-ai-link {
  color: var(--navbar-ai-color) !important;
}

.navbar-brand:hover,
.nav-link:hover {
  transform: scale(1.1);
  color: var(--navbar-item-color) !important;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-ai-link:hover {
  transform: scale(1.1);
  color: var(--navbar-ai-color) !important;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-menu {
  background-color: rgb(11, 16, 32);
  border: none;
}

.dropdown-item:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--navbar-item-color) !important;
}

.nav-link:focus,
.nav-ai-link:focus,
.nav-link.dropdown-toggle:focus {
  outline: none !important;
  box-shadow: none !important;
}

#hamburgerDropdownSm::after {
  display: none !important;
}

/* Normalize vertical alignment for all navbar items */
.navbar .row > [class*="col"] {
  display: flex;
  align-items: center;
}

.navbar-brand,
.nav-link,
.nav-ai-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.5rem;
  font-weight: 700; /* or bold */

}


/* Optional: make dropdown toggles match inline links */
.nav-link.dropdown-toggle {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}




.grid {
display: grid;
gap: 24px;
}

@media (min-width: 900px) {
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
}



.card {
background: linear-gradient(180deg, #121836, #0e1530);
border: 1px solid rgba(255,255,255,.06);
border-radius: var(--radius);
padding: 22px;
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
}

.card h3 { margin: 6px 0 6px; font-size: 20px; }
.card p { color: var(--muted); margin: 10px 0 16px; }
.badge {
display: inline-block;
font-size: 12px; letter-spacing: .4px;
padding: 6px 10px; border-radius: 999px;
background: rgba(103, 232, 249, .12); color: #8be9ff;
border: 1px solid rgba(139,233,255,.25);
}
.card .cta-inline { margin-top: 4px; display: inline-flex; gap: 8px; align-items: center; }
.card .cta-inline a { color: #9bc3ff; font-weight: 600; }
.card .cta-inline a:hover { text-decoration: underline; }

.mini{ font-size: 14px; color: var(--muted); }


.navbar {
  height: 60px;
  min-height: 60px;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-nav .nav-link,
.navbar-nav .nav-ai-link {
  padding-top: 0;   /* optional fine-tuning */
  padding-bottom: 2;
}

.nav-link.btn,
.nav-ai-link.btn {
  border:none;
}

/* Mobile tweak: Media query for smaller screens */
@media (max-width: 991px) { /* Below lg breakpoint */
  .navbar {
    height: 55px; /* Slightly shorter on mobile if desired */
  }

  .servicebar-toggler {
    padding: 0.25rem; /* Compact toggler */
  }
  .languagebar-toggler {
    padding: 0.25rem; /* Compact toggler */
  }
}

.navbar-brand {
  font-size: 0.8rem; /* adjust as needed */
}

.navbar-brand strong {
  letter-spacing: 0.3px;
}


.navbar-brand:visited {
  color: #ffffff; /* or pick a color, e.g. #fff */
}

.nav-link {
  font-size: 0.8rem; /* adjust as needed */
}

.nav-ai-link {
  font-size: 0.8rem; /* adjust as needed */
}

.nav-link:visited {
  color: #ffffff; /* or pick a color, e.g. #fff */
}

.nav-ai-link a:visited {
  color: var(--navbar-ai-color) !important;
}


.readmore:visited {
  color: #ffffff; /* or pick a color, e.g. #fff */
}

a.btn.btn-primary:visited {
  color: white; /* or whatever color you want */
}

.nav-pills .nav-link {
  border-radius: 999px;
}


#servicemenu {
  background-color: rgba(11, 16, 32, 0.9); /* dark grey with slight transparency */

  border-radius: 0.25rem; /* optional: soft corners */


}

#languagemenu {
  background-color: rgba(11, 16, 32, 0.9); /* dark grey with slight transparency */

  border-radius: 0.25rem; /* optional: soft corners */


}

/*
.hero-section {
  height: 250vh;  Controls scroll distance for full shrink (adjust higher for slower shrink) 
}
*/


.hero{
  padding: 72px 0 40px;
  display:grid; gap:28px; align-items:center;
}
@media (min-width: 960px){ .hero{ grid-template-columns: 1.1fr .9fr; } }

.hero h1 {
  font-weight: 700;
}

.subhero h1 {
  font-weight: 700;
}

.hero-section {
  margin: 0;
  padding: 0;
}

.hero-sticky {
  position: sticky;
  top: 60px; /* Stick below navbar */
  height: calc(100vh - 60px); /* Fit remaining viewport */
  /* top: 0; */
  /* height: 100vh; */
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  /* background: #d8e2e7; Fallback if image doesn't cover */
}

.hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* Shows whole image when small; use 'cover' if you want initial crop */
  transform-origin: top center; /* Shrink from center */
  will-change: transform; /* Performance hint */
  display: block;
  transition: transform 0.05s linear; /* Optional smoothing */
}





.headline{ font-size: clamp(28px, 4vw, 48px); line-height: 1.12; font-weight: 800; }

.subheadline{ color: var(--muted); font-size: 30px; margin-top: 2px; }

.subhead{ color: var(--muted); font-size: 18px; margin-top: 10px; }



.section-title{ font-size: clamp(22px, 2.4vw, 32px); margin:0 0 8px; font-weight: 800; }

.section-subtitle{ color: var(--text); margin: 0 0 22px; }


.section-pad {
  padding: 4rem 0;
}


/* website development subpage */
/* ------------------------------------------------------------------------------------------------------------------- */


*{ box-sizing: border-box; }

a{ color: inherit; text-decoration: none; }

img{ max-width: 100%; display: block; }

/* .container{ width: min(1180px, 92%); margin: 0 auto; } */


.topbar{

  display:flex; align-items:center; justify-content:space-between; padding:16px 0;

}

.breadcrumbs{ color: var(--muted); font-size: 14px; }

.breadcrumbs a{ color: #9bc3ff; }

.logo{ font-weight: 800; letter-spacing: .2px; }







.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 18px;}



.btn{

  display:inline-flex; align-items:center; gap:10px; padding:12px 18px;

  border-radius:12px; font-weight:600; border:1px solid transparent; cursor:pointer;

  transition: transform var(--speed) ease, box-shadow var(--speed) ease, background var(--speed) ease;

}

.btn-primary{ background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color:white; box-shadow: var(--shadow); }

.btn-primary:hover{ transform: translateY(-1px); }

.btn-secondary{ background: #0f1736; color: var(--text); border-color: rgba(255,255,255,.1); }

/* .section-title{ font-size: clamp(22px, 2.4vw, 32px); margin:0 0 8px; font-weight: 800; } */

/* .section-subtitle{ color: var(--muted); margin: 0 0 22px; } */





/* --- Before / After slider --- */

.ba-wrap{

  position: relative; border-radius: var(--radius); overflow: hidden;

  border: 1px solid rgba(255,255,255,.1);

  background: #0c1433;

  box-shadow: var(--shadow);

}

.ba-stage{ position:relative; }

.ba-img{ width:100%; height:auto; display:block; }

.ba-after{ position:absolute; inset:0; width:50%; overflow:hidden; }

.ba-after img{ width:200%; height:100%; object-fit: cover; object-position:left top; transform: translateX(-25%); }

.ba-handle{

  position:absolute; top:0; bottom:0; left:50%;

  width:2px; background: rgba(255,255,255,.7);

  box-shadow: 0 0 0 1px rgba(0,0,0,.5);

}

.ba-grip{

  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);

  background: linear-gradient(135deg, #dbe7ff, #8fb2ff);

  color:#0b1020; font-weight:700;

  width:44px; height:44px; border-radius:50%;

  display:grid; place-items:center; box-shadow: var(--shadow);

  border:1px solid rgba(255,255,255,.6);

}

.ba-range{

  -webkit-appearance: none; appearance: none; position:absolute; inset:0; width:100%; height:100%;

  background: transparent; cursor: col-resize;

}

.ba-range::-webkit-slider-thumb{ -webkit-appearance:none; width:0; height:0; }

.ba-range::-moz-range-thumb{ width:0; height:0; border:none; }



.ba-legend{
  display:flex; justify-content:space-between; gap:10px; margin-top:10px; color: var(--muted);
  font-size: 14px;
}

.badge{
  display:inline-block; font-size:12px; letter-spacing:.3px; padding:6px 10px; border-radius:999px;
  background: rgba(103,232,249,.10); color:#9bd0ff; border:1px solid rgba(139,233,255,.25);
}

.badge-soft {
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand);
  border: 1px solid rgba(13, 110, 253, 0.2);
}





/* --- Why choose us --- */

.icon{
  width:28px; height:28px; border-radius:8px; display:grid; place-items:center;
  background: linear-gradient(135deg, #1b2550, #2a3780);
  border:1px solid rgba(255,255,255,.12);
  color:#9bd0ff; font-weight:700;
}

.icon-circle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand);
}


/* --- Pricing --- */

.pricing{ margin-top: 8px; }

.price-card{
  position:relative; overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 18%) border-box,
    linear-gradient(160deg, #121a3a, #0f1634 40%, #1b2a6a 120%);
  border:1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform var(--speed) ease, box-shadow var(--speed) ease, border-color var(--speed) ease;
}

/* .price-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-strong); border-color: rgba(255,255,255,.2); } */

.price{

  font-size: 28px; font-weight: 800; margin: 8px 0 4px;

}

.price small{ color: var(--muted); font-weight:600; font-size:14px; }

.feature-list li::before{ content:"✓"; color:#7ee787; }

.popular{
  border-color: rgba(94,161,255,.4);
  box-shadow: 0 0 0 1px rgba(94,161,255,.3) inset, var(--shadow);
}

.ribbon{
  position:absolute; top:14px; right:-36px; transform: rotate(35deg);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color:white; font-size:12px; font-weight:800; padding:8px 48px;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  letter-spacing:.3px;
}





/* FAQ */

details{ background: linear-gradient(180deg, #121836, #0e1530); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding: 14px 16px; }

details + details{ margin-top: 10px; }

summary{ cursor:pointer; font-weight:700; }

summary::-webkit-details-marker{ display:none; }

details[open]{ box-shadow: var(--shadow); }



/* Footer CTA */

.cta-band{
  background: linear-gradient(135deg, #0e1530, #121a3b);
  border:1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
  display:grid; gap:12px;
}
@media (min-width: 900px){ .cta-band{ grid-template-columns: 1.3fr .7fr; align-items:center; } }









/* AI Solutions subpage */
/* ------------------------------------------------------------------------------------------------------------------------- */



/* ROI Estimator */

.roi-grid{ display:grid; gap: 16px; }

.roi-grid .card{ padding: 16px; }

@media (min-width: 900px){

  .roi-grid{ grid-template-columns: 1.2fr .8fr; }

}

.field{ display:grid; gap:6px; margin-bottom: 10px; }

.field label{ font-weight:600; font-size: 14px; }

.field input, .field select{
  background:#0f1736; color: var(--text);
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px; padding:10px 12px; font-size: 14px;
}

.stat{
  background: linear-gradient(180deg, #121836, #0e1530);
  border: 1px solid rgba(255,255,255,.08);
  border-radius:12px; padding: 12px 14px;
}
.stat .value{ font-size: 22px; font-weight: 800; }
.stat .label{ font-size: 12px; color: var(--muted); }



/* Integrations */

.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px; font-size: 13px;
  border:1px solid rgba(255,255,255,.1); color:#cfe0ff;
  background: #0f1736;
}


.process-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-box {
  background: #0d1b3d; /* dark blue similar to your cards */
  padding: 2rem;
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  text-align: center;
}

.process-arrow {
  font-size: 5rem;
  color: var(--muted);
  font-weight: bold;
}



/* From 414 Copilot about Data analytics page 
body {
  color: var(--ink);
  / background: #0b1020; /
}


.kpi-card {
  border: 1px solid #eef1f5;
}

.placeholder-img {
  width: 100%;
  aspect-ratio: 16/9;
  / border: 1px dashed #cbd3df; /
  display: grid;
  place-items: center;
  color: #74809a;
  / background: #fff;
  border-radius: 0.5rem; /
  font-size: 0.95rem;
}


.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
}

/ Smooth anchor scroll (native CSS) /

html {
  scroll-behavior: smooth;
}

/ Pricing package /
.pricing-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.package {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex: 1;
  padding: 20px;
  border-top: 6px solid;
}
.package h2 {
  margin-top: 0;
}
.price {
  font-size: 1.2em;
  font-weight: bold;
  margin: 10px 0;
}
.package ul {
  padding-left: 20px;
}
.package ul li {
  margin-bottom: 6px;
}
.package .value {
  font-style: italic;
  margin-top: 10px;
  color: #555;
}
/ Color accents /
.starter { border-color: #0078d7; }
.growth { border-color: #2ecc71; }
.premium { border-color: #e67e22; }

*/