:root {
  --brand: #2563eb;
  --brand-2: #0ea5e9;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f8fafc;
  --dark: #0b1220;
  --chip: #eef2ff;
  /* Surfaces */
  --bg: #f7f9fc;
  --card: #ffffff;
  /* State + focus */
  --focus: ring:0 0 0 3px rgba(37, 99, 235, .25);
  --shadow: 0 10px 20px rgba(0, 0, 0, .05);
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Ysabeau Infant", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

/* -------------------------------- Navbar + Toggler visibility -------------------------------- */
.navbar {
  transition: all .25s ease;
  padding-top: .6rem;
  padding-bottom: .6rem;
  background: #ffffffee;
  background-color: #fff !important;
  /* backdrop-filter: saturate(120%) blur(6px); */
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
  color: black !important;
}


.navbar .navbar-brand img {
  height: 42px;
  width: auto;
}

.brand-title {
  font-weight: 700;
  letter-spacing: .5px;
}

.brand-tagline {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1;
}

/* Glassy background after scroll for contrast */
.navbar-scrolled {
  background: #ffffffee;
  background-color: #fff !important;
  /* backdrop-filter: saturate(120%) blur(6px); */
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

/* Make links readable on transparent hero */


/* When scrolled, switch to dark ink */

/* Toggler icon: force visible on transparent backgrounds */
.navbar-toggler {
  border-color: rgba(255, 255, 255, .6);
  padding: .35rem .55rem;
}


/* Use white bars by default for transparency over video */
.navbar.bg-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* When scrolled (light surface), use dark bars for contrast */
.navbar-scrolled .navbar-toggler {
  border-color: rgba(0, 0, 0, .25);
}

.navbar-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Improve toggler hit area and focus visibility */
.navbar-toggler:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}




.nav-link.active {
  font-weight: 600;
  color: #0d6efd !important;
  /* Bootstrap primary color */
  border-bottom: 2px solid #0d6efd;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* -------------------------------- Buttons + CTA states -------------------------------- */
.btn-schedule {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  color: #fff;
  border: 0;
  padding: .5rem 1rem;
  border-radius: .5rem;
  transition: filter .2s ease, transform .15s ease;
}

.btn-schedule:hover {
  filter: brightness(.95);
  color: #fff;
  transform: translateY(-1px);
}

.btn-schedule:active {
  transform: translateY(0);
}

.btn-schedule:focus {
  box-shadow: var(--focus:ring);
}

.hero .cta .btn {
  padding: .7rem 1.2rem;
  border-radius: .6rem;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.cf-btn {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  color: #fff;
  border: 0;
  transition: filter .2s ease, transform .15s ease;
}

.cf-btn:hover {
  filter: brightness(.95);
  color: #fff;
  transform: translateY(-1px);
}

.cf-btn:focus {
  box-shadow: var(--focus:ring);
}

/* -------------------------------- Stats + cards -------------------------------- */
.stats {
  background: var(--bg);
}

.stat-card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: .85rem;
  padding: 1.25rem;
  transition: box-shadow .2s ease, transform .15s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
}

.stat-title {
  color: var(--muted);
  font-size: .95rem;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.section-head p {
  color: var(--muted);
}

/* -------------------------------- Services -------------------------------- */
.service-card {
  height: 100%;
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: .9rem;
  padding: 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d9dde5;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: .6rem;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  font-size: 1.1rem;
}

/* -------------------------------- Process -------------------------------- */
.process-step {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: .9rem;
  padding: 1.25rem;
  height: 100%;
  transition: box-shadow .2s ease, transform .15s ease, border-color .2s ease;
}

.process-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  border-color: #d9dde5;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: .6rem;
  background: #eff6ff;
  color: var(--brand);
  font-weight: 700;
  margin-right: .5rem;
}

.step-icon {
  color: var(--brand);
}

/* -------------------------------- Testimonials -------------------------------- */
.testimonials {
  background: linear-gradient(180deg, var(--brand), #1e40af);
  color: #fff;
}

.t-card {
  background: #fff;
  border-radius: .9rem;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  transition: transform .15s ease, box-shadow .2s ease;
}

.t-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.t-card p {
  color: #374151;
  margin-bottom: 1rem;
}

.t-client {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.t-client img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.t-client h6 {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.t-client small {
  color: #6b7280;
}

/* -------------------------------- Featured logos -------------------------------- */
/* Featured In */
.featured-in {
  background: var(--soft);
}

.fi-logo-hero {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 1.25rem;
  text-align: center;
  transition: transform .2s ease;
}

.fi-logo-hero:hover {
  transform: translateY(-3px);
}

.fi-logo-hero img {
  max-height: 46px;
  width: auto;
}

.fi-marquee {
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.fi-track {
  display: flex;
  gap: 36px;
  align-items: center;
  padding: 12px 18px;
  animation: marquee 22s linear infinite;
}

.fi-track img {
  max-height: 30px;
  width: auto;
  filter: grayscale(20%);
  opacity: .9;
  transition: opacity .2s;
}

.fi-track img:hover {
  opacity: 1;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------- Blog -------------------------------- */
.blog-card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: .9rem;
  overflow: hidden;
  height: 100%;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d9dde5;
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-meta {
  font-size: .85rem;
  color: var(--muted);
}

.chip {
  display: inline-block;
  font-size: .75rem;
  background: #eef2ff;
  color: #3730a3;
  padding: .15rem .5rem;
  border-radius: .5rem;
}

/* -------------------------------- Hero split + contact form -------------------------------- */
.hs {
  background: var(--bg);
}

.cf-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
}

.form-control,
.form-select {
  border-color: #e5e7eb;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .15);
}

.form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .15);
}

/* -------------------------------- Footer -------------------------------- */
.footer {
  background: var(--dark);
  color: #cbd5e1;
}

.footer a {
  text-decoration: none;
  color: #cbd5e1;
  transition: color .2s ease, opacity .2s ease;
}

.footer a:hover {
  color: #fff;
}

.footer a:hover {
  color: var(--dark);
}

.tag-cloud .tag {
  display: inline-block;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #e2e8f0;
  border-radius: 999px;
  padding: .35rem .75rem;
  margin: .25rem;
  font-size: .875rem;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}

.tag-cloud .tag:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* -------------------------------- Accessibility helpers -------------------------------- */
a:focus,
button:focus {
  outline: none;
  box-shadow: var(--focus:ring);
}

.btn:focus-visible {
  box-shadow: var(--focus:ring);
}

/* -------------------------------- Responsive tweaks -------------------------------- */
@media (max-width:991.98px) {
  .brand-tagline {
    display: none;
  }

  /* Ensure collapsed menu contrasts over video */
  .navbar.bg-transparent .navbar-collapse {
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    border-radius: .5rem;
    padding: .5rem;
    margin-top: .5rem;
  }

  .navbar.bg-transparent .navbar-nav .nav-link {
    color: #fff;
  }

  .navbar.bg-transparent .navbar-nav .nav-link:hover {
    color: #e5e7eb;
  }
}

/* Section frame */
.hero-section {
  position: relative;
  min-height: 100dvh;
  background: #0D1B2A;
  overflow: clip;
}

/* Carousel full-bleed */
#heroCarousel {
  height: 100%;
}

.carousel-inner,
.carousel-item {
  height: 100dvh;
}

.carousel-item {
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: grid;
  align-items: center;
}

.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.65);
  z-index: 1;
}

/* Vertical centering rail */
.hero-rail {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding-block: clamp(24px, 4vh, 48px);
}

/* Inner container */
.hero-container {
  width: 100%;
  padding-left: clamp(10px, 2.2vw, 40px);
  padding-right: clamp(10px, 2.2vw, 40px);
  box-sizing: border-box;
  max-width: 1200px;
  margin-inline: auto;
}

/* Two-column row */
.hero-row {
  display: flex;
  align-items: center;
  /* top-align both blocks */
  justify-content: space-between;
  gap: clamp(6px, 0.8vw, 14px);
  width: 100%;
}

/* Left column */
.caption-wrap {
  flex: 1 1 auto;
  max-width: 560px;
  color: #fff;
}

.caption-wrap h6 {
  color: #4B9CFF;
  font-weight: 600;
  margin: 0 0 10px 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  letter-spacing: .04em;
}

.caption-wrap h2 {
  color: #fff;
  font-weight: 750;
  margin: 0 0 16px 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.2;
  text-wrap: balance;
}

.caption-wrap h2 em {
  color: #1C75FF;
  font-style: normal;
}

.caption-wrap span {
  color: #1C75FF;
}

.caption-wrap p {
  color: #E0E0E0;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  margin: 0 0 22px 0;
  max-width: 60ch;
  text-wrap: pretty;
}

.caption-wrap .btn {
  border-radius: 10px;
  padding: 12px 24px;
}

.caption-wrap .btn-primary {
  background-color: #1C75FF;
  border-color: #1C75FF;
  color: #fff;
}

.caption-wrap .btn-primary:hover {
  background-color: #1562CC;
  border-color: #1562CC;
}

.caption-wrap .btn-outline-light {
  color: #fff;
  border-color: #fff;
}

.caption-wrap .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, .12);
}

/* Right card (wider) */
.static-text {
  position: relative;
  isolation: isolate;
  /* increased width window */
  flex: 0 0 clamp(260px, 22vw, 360px);
  max-width: clamp(260px, 22vw, 360px);
  color: #fff;
  border-radius: 18px;
  padding: clamp(14px, 1.4vw, 18px);
  margin-top: 2px;
  /* aligns with left heading visually */
  background:
    radial-gradient(120% 140% at 10% 10%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(100% 140% at 80% 0%, rgba(28, 117, 255, 0.20) 0%, rgba(28, 117, 255, 0) 55%),
    rgba(13, 27, 42, 0.32);
  backdrop-filter: blur(14px) saturate(120%) contrast(105%);
  -webkit-backdrop-filter: blur(14px) saturate(120%) contrast(105%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 10px 30px rgba(0, 0, 0, 0.35);
}

.static-text::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0.04) 40%,
      rgba(255, 255, 255, 0.12) 70%,
      rgba(255, 255, 255, 0.02) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

.static-text::after {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 30px;
  background:
    radial-gradient(60% 40% at 30% 30%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 60%),
    radial-gradient(45% 35% at 70% 60%, rgba(75, 156, 255, 0.18), rgba(75, 156, 255, 0) 65%),
    radial-gradient(35% 30% at 60% 25%, rgba(28, 117, 255, 0.14), rgba(28, 117, 255, 0) 70%);
  filter: blur(14px);
  transform: translate3d(0, 0, 0);
  animation: glassFlow 12s ease-in-out infinite alternate;
  opacity: .85;
  z-index: -1;
}

.static-text h4 {
  font-weight: 750;
  margin: 0 0 12px 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  text-wrap: balance;
}

.trust-items {
  display: grid;
  gap: 10px;
}

.trust-card {
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: start;
  gap: 10px;
  color: #E0E0E0;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.trust-card i {
  color: #4B9CFF;
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}

/* Indicators */
.carousel-indicators [data-bs-target] {
  background-color: #4B9CFF;
  opacity: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators {
  z-index: 3;
  margin-bottom: 18px;
}

/* Motion */
@keyframes glassFlow {
  0% {
    transform: translate3d(-6%, -4%, 0) rotate(0.5deg) scale(1.02);
  }

  50% {
    transform: translate3d(6%, 4%, 0) rotate(-0.5deg) scale(1.04);
  }

  100% {
    transform: translate3d(-3%, 6%, 0) rotate(0.25deg) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-text::after {
    animation: none;
  }

  .carousel-fade .carousel-item {
    transition: opacity .15s linear;
  }
}

/* Desktop: small inward nudge */
@media (min-width: 1200px) {
  .static-text {
    transform: translateX(-6px);
    flex-basis: clamp(300px, 24vw, 400px);
    max-width: clamp(300px, 24vw, 400px);
  }
}

@media (min-width: 1400px) {
  .static-text {
    transform: translateX(-8px);
  }
}

/* Tablet/phone: center stack and center the card text */
@media (max-width: 991.98px) {
  .static-text h4 {
    text-align: center;
  }

  .hero-container {
    padding-left: clamp(8px, 3vw, 18px);
    padding-right: clamp(8px, 3vw, 18px);
  }

  .hero-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .caption-wrap {
    max-width: min(92vw, 680px);
    text-align: center;
  }

  .caption-wrap .d-flex {
    justify-content: center !important;
  }

  /* Center the card and its text */
  .static-text {
    flex: 0 1 auto;
    width: min(92%, 560px);
    max-width: 560px;
    margin-top: 0;
    transform: none;
    text-align: center;
    /* center text in mobile */
  }

  .trust-items {
    justify-items: center;
    /* center grid items */
  }

  .trust-card {
    grid-auto-flow: column;
    justify-content: center;
    /* center icon + text group */
    white-space: normal;
    /* allow wrap if needed */

  }

}

/* Hide carousel arrows in specific width bands */

/* Example: hide at md/lg boundary band around 992px–1199.98px */
@media (min-width: 992px) and (max-width: 1199.98px) {

  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none !important;
  }
}

/* Example: hide around 1400px–1500px as per screenshot */
@media (min-width: 1200px) and (max-width: 1500px) {

  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none !important;
  }
}

/* Optional: hide on small phones, keep swipe/auto-ride */
@media (max-width: 575.98px) {

  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none !important;
  }
}


/* Default for all screens */
.tag-cloud img {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Small devices (mobile) */
@media (max-width: 576px) {
  .tag-cloud img {
    width: 60%;
    /* reduce size on small screens */
  }
}

/* Medium devices (tablets) */
@media (min-width: 577px) and (max-width: 768px) {
  .tag-cloud img {
    width: 40%;
  }
}

/* Large devices (desktop) */
@media (min-width: 769px) {
  .tag-cloud img {
    width: 25%;
  }
}


.about-hero {
  background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
  position: relative;
  min-height: 320px;
  color: #fff;
  display: flex;
  align-items: center;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;

}

.about-hero .inner {
  position: relative;
  z-index: 2;
  /* padding: 80px 0; */
}

.about-hero .icon-pill {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.team-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  /* shows the full image without cropping */
  border-radius: 50%;
  /* perfect circle */
  background-color: #fff;
  /* fills background if image has transparent/blank area */
  border: 4px solid #f5f5f5;
  /* optional border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* subtle shadow */
}


/* Page Header (Hero) */
.page-header {
  background: linear-gradient(180deg, #004085 0%, #00376f 100%);
  color: #fff;
  padding: 96px 0 88px;
}

.page-header h1 {
  font-weight: 800;
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.6px;
}

.page-header .subtext {
  max-width: 880px;
  margin: 14px auto 0;
  color: #e8f1ff;
  font-size: 1.1rem;
}

/* Generic section */
.section {
  padding: 30px 0;
}

.section-title {
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 880px;
  margin: 0 auto 24px;
  color: #6c757d;
}

/* Cards / service items */
.card-clean {
  background: #ffffff;
  border: 1px solid #eaeef3;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card-clean:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 64, 133, 0.18);
}

.service-item {
  background: #ffffff;
  border: 1px solid #eaeef3;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 64, 133, 0.22);
}

.service-item i {
  font-size: 20px;
}

/* Icons */
.icon-primary {
  color: #fff;
  background-color: #1c66ff;
  padding: 10px;
  border-radius: 5px;
}

.icon-success {
  color: #1c66ff;
}

.icon-wrap {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6f0ff;
  color: #004085;
  margin-bottom: 16px;
  font-size: 26px;
}

/* Check list */
.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
}



.btn {
  /* border-radius: 10px; */
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Form container card */
.form-shell {
  background: #ffffff;
  border: 1px solid #eaeef3;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

/* Grid spacing tweaks */
.row-gap {
  row-gap: 24px;
}

/* Utility max width */
.maxw-720 {
  max-width: 720px;
}

.maxw-880 {
  max-width: 880px;
}

.maxw-1100 {
  max-width: 1100px;
}


.contact-hero {
  position: relative;
  background: url('../images/hero/f58c4d79-7e0d-4aae-8667-051375ba810c.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .45));
}

.contact-hero .inner {
  position: relative;
  z-index: 2;
}

.contact-hero .icon-pill {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .2);
}

.contact-card .icon-box {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background: #00bcd4;
  color: #fff;
}

.contact-form .form-text {
  font-size: .8rem;
}

.required::after {
  content: " *";
  color: #dc3545;
}


.blog-hero {
  background: url('../images/hero/sept_lock_gift_box_2.jpg') center/cover no-repeat;
  min-height: 320px;
  position: relative;
  color: #fff;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .45));
}

.blog-hero .inner {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.post-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.post-card .chip {
  display: inline-block;
  font-size: .75rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: var(--bs-primary-bg-subtle, #e7f1ff);
  color: var(--bs-primary, #0d6efd);
}

.category-nav .btn {
  border-radius: 999px;
}

.sidebar .list-group-item {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.pagination .page-link {
  border-radius: .5rem;
}



.blog-article-card {
  background: #fff;
  border-radius: .7rem;
  box-shadow: 0 6px 32px rgba(27, 50, 107, .07);
  overflow: hidden;
  border: 1px solid #e5eaf3;
  margin-bottom: 36px;
}

.blog-article-img {
  width: 100%;
  aspect-ratio: 16/7.2;
  object-fit: cover;
  border-radius: .7rem .7rem 0 0;
}

.post-meta-row {
  margin-bottom: 10px;
}

.chip {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  padding: .22rem .7rem;
  border-radius: 999px;
  background: #e9f2fd;
  color: #1366d6;
  margin-right: .5rem;
  letter-spacing: .5px;
}

.chip-author,
.chip-date,
.chip-tags {
  background: #f3f6fa;
  color: #5078a0;
  padding: .19rem .7rem;
  font-size: .77rem;
  border-radius: 999px;
  margin-right: .3rem;
}

.blog-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.03rem;
  margin-bottom: .8rem;
}

.lead {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1.44rem;
}

.post-content {
  font-size: 1.08rem;
  color: #35405a;
  line-height: 1.75;
}

.back-link {
  font-size: .97rem;
  color: #0d6efd;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e5eaf3;
  padding: 36px 0 12px;
  color: #718aab;
  font-size: .98rem;
  margin-top: 42px;
}

@media (max-width:768px) {
  .blog-title {
    font-size: 1.35rem;
  }
}



.hero-section-careers-page {
  background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
  position: relative;
  min-height: 320px;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-section-careers-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* dark overlay */
}

.hero-section-careers-page .container {
  position: relative;
  /* keep content above overlay */
  z-index: 1;
}


.search-filters {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.job-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.job-card-header {
  flex-shrink: 0;
}

.job-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.job-card-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.5rem;
}

.job-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.job-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #718096;
  font-size: 0.9rem;
}

.job-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-type-full-time {
  background: #e6f3ff;
  color: #0066cc;
}

.job-type-part-time {
  background: #f0f9ff;
  color: #0891b2;
}

.job-type-contract {
  background: #fef3c7;
  color: #d97706;
}

.job-type-internship {
  background: #dedefaff;
  color: #0066cc;
}

.job-type-temporary {
  background: #fee2e2;
  color: #dc2626;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-outline-primary {
  border: 2px solid #667eea;
  color: #667eea;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background: #667eea;
  transform: translateY(-2px);
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  /* padding: 12px 16px; */
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.benefits-section {
  background: #f7fafc;
  padding: 4rem 0;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.5rem;
}

.faq-section {
  padding: 4rem 0;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #718096;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }

  .search-filters {
    margin-top: -2rem;
    padding: 1.5rem;
  }

  .job-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .job-card {
    margin-bottom: 1.5rem;
  }
}



.hero-section-career {
  background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
  position: relative;
  min-height: 320px;
  color: #fff;
  display: flex;
  align-items: center;
  margin-top: 5rem;
  /* keeps your mt-5 */
}

.hero-section-career::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* dark overlay */
}

.hero-section-career .container {
  position: relative;
  /* keeps content above overlay */
  z-index: 1;
}

.hero-section-career .back-link {
  color: #fff;
  text-decoration: none;
  margin-bottom: 1rem;
  display: inline-block;
  font-weight: 500;
}

.hero-section-career .back-link i {
  margin-right: 0.5rem;
}


.application-form {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.job-details {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.job-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.job-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffffff;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  /* padding: 12px 16px; */
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.alert {
  border-radius: 15px;
  border: none;
  padding: 1rem 1.5rem;
}

.alert-success {
  background: linear-gradient(135deg, #48bb78, #68d391);
  color: white;
}

.alert-danger {
  background: linear-gradient(135deg, #f56565, #fc8181);
  color: white;
}

.job-section {
  margin-bottom: 2rem;
}

.job-section h6 {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.back-link {
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.back-link:hover {
  color: white;
  transform: translateX(-5px);
}

.file-upload-info {
  font-size: 0.9rem;
  color: #718096;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }

  .job-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .application-form {
    margin-top: -2rem;
    padding: 1.5rem;
  }
}

.back-link {
  position: relative;
  z-index: 20;
}



.newsletter-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 0;
  border-radius: 15px;
  margin-bottom: 30px;
}

.newsletter-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.newsletter-meta {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.recent-newsletter {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.recent-newsletter:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.subscribe-cta {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin: 30px 0;
}


.newsletter-hero {
  background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
  min-height: 320px;
  position: relative;
  color: #fff;
}

.newsletter-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .5));
}

.newsletter-hero .inner {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.newsletter-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.newsletter-card .chip {
  display: inline-block;
  font-size: .75rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: var(--bs-primary-bg-subtle, #e7f1ff);
  color: var(--bs-primary, #0d6efd);
}

.pagination .page-link {
  border-radius: .5rem;
}

.sidebar .list-group-item {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.subscribe-form input {
  border-radius: 999px 0 0 999px;
}

.subscribe-form button {
  border-radius: 0 999px 999px 0;
}


.download-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin: 30px 0;
}

.download-btn {
  background: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  color: #667eea;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.whitepaper-meta {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.related-whitepaper {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.related-whitepaper:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}



.whitepaper-hero {
  background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
  position: relative;
  color: #fff;
  min-height: 320px;
}

.whitepaper-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.whitepaper-hero .inner {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.whitepaper-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.chip {
  display: inline-block;
  font-size: .75rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--bs-primary-bg-subtle, #e7f1ff);
  color: var(--bs-primary, #0d6efd);
}

.sidebar .list-group-item {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.pagination .page-link {
  border-radius: .5rem;
}




.privacy-hero {
  background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
  position: relative;
  min-height: 280px;
  color: #fff;
  display: flex;
  align-items: center;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.privacy-hero .inner {
  position: relative;
  z-index: 2;
}

.privacy-hero .icon-pill {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.privacy-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.privacy-content h2 {
  color: #2c3e50;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.privacy-content h3 {
  color: #34495e;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content h4 {
  color: #5a6c7d;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.privacy-table {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.privacy-table th {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  color: white;
  font-weight: 600;
  padding: 12px 15px;
  border: none;
}

.privacy-table td {
  padding: 12px 15px;
  vertical-align: top;
}

.contact-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid var(--brand);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .privacy-content {
    padding: 1.5rem 1rem;
  }
}



.cookie-hero {
  background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
  position: relative;
  min-height: 280px;
  color: #fff;
  display: flex;
  align-items: center;
}

.cookie-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.cookie-hero .inner {
  position: relative;
  z-index: 2;
}

.cookie-hero .icon-pill {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.cookie-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.cookie-content h2 {
  color: #2c3e50;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.cookie-content h3 {
  color: #34495e;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.cookie-content h4 {
  color: #5a6c7d;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.cookie-table {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.cookie-table th {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  color: white;
  font-weight: 600;
  padding: 12px 15px;
  border: none;
}

.cookie-table td {
  padding: 12px 15px;
  vertical-align: top;
}

.contact-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid var(--brand);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.cookie-category {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid var(--brand);
}

@media (max-width: 768px) {
  .cookie-content {
    padding: 1.5rem 1rem;
  }
}



        .terms-hero {
            background: url('../images/hero/wwang_040522_49.jpg') center/cover no-repeat;
            position: relative;
            min-height: 280px;
            color: #fff;
            display: flex;
            align-items: center;
        }

        .terms-hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, .5);
        }

        .terms-hero .inner {
            position: relative;
            z-index: 2;
        }

        .terms-hero .icon-pill {
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: .5rem;
            background: rgba(255, 255, 255, .2);
            color: #fff;
        }

        .terms-content {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            padding: 2.5rem;
            margin-bottom: 2rem;
        }

        .terms-content h2 {
            color: #2c3e50;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .terms-content h3 {
            color: #34495e;
            margin-top: 2rem;
            margin-bottom: 1rem;
        }

        .terms-content h4 {
            color: #5a6c7d;
            margin-top: 1.5rem;
            margin-bottom: 0.8rem;
        }

        .highlight-box {
            background: linear-gradient(135deg, #e8f5e8 0%, #f0f9ff 100%);
            border-left: 4px solid var(--brand);
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1.5rem 0;
        }

        .warning-box {
            background: linear-gradient(135deg, #fef3cd 0%, #fff3cd 100%);
            border-left: 4px solid #ffc107;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1.5rem 0;
        }

        .contact-info {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-left: 4px solid var(--brand);
            padding: 1.5rem;
            border-radius: 8px;
            margin-top: 2rem;
        }

        .terms-section {
            border-left: 3px solid #e9ecef;
            padding-left: 1.5rem;
            margin: 2rem 0;
        }

        @media (max-width: 768px) {
            .terms-content {
                padding: 1.5rem 1rem;
            }

            .terms-section {
                padding-left: 1rem;
            }
        }