﻿*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

.hero-caption-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
  padding-left: 72px;
  padding-top: 120px;
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(3, 8, 15, 0.22);
}

.hero-content h1 {
  max-width: 730px;
  margin-bottom: 18px;
  color: inherit;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.08;
}

.hero-content p {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.85;
}

body[data-page="home"] .home-hero {
  position: relative;
}

body[data-page="home"] .hero-caption-wrap {
  align-items: flex-start;
}

body[data-page="home"] .hero-caption-middle {
  align-items: center;
}

body[data-page="home"] .hero-content {
  position: relative;
  z-index: 2;
  width: min(72vw, 1100px);
  max-width: none;
  padding-top: 200px;
}

body[data-page="home"] .hero-content h1 {
  max-width: 980px;
}

body[data-page="home"] .hero-content p {
  max-width: 820px;
}

body[data-page="home"] .hero-content-first,
body[data-page="home"] .hero-content-compact {
  width: min(54vw, 680px);
  max-width: 680px;
  padding-top: clamp(178px, 16vw, 230px);
}

body[data-page="home"] .hero-caption-middle .hero-content-first,
body[data-page="home"] .hero-caption-middle .hero-content-compact {
  padding-top: 0;
}

body[data-page="home"] .hero-content-first h1,
body[data-page="home"] .hero-content-compact h1 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(2.85rem, 4.6vw, 4.35rem);
  letter-spacing: -0.04em;
}

body[data-page="home"] .hero-content-first p {
  max-width: 580px;
  margin-bottom: 0;
  font-size: 1.12rem;
}

body[data-page="home"] .hero-content-first h1,
body[data-page="home"] .hero-content-first p,
body[data-page="home"] .hero-content-compact h1,
body[data-page="home"] .hero-content-compact p {
  opacity: 0;
  filter: blur(10px);
  will-change: opacity, transform, filter;
}

body[data-page="home"] .hero-anim-platform h1,
body[data-page="home"] .hero-anim-platform p {
  transform: translate3d(-36px, 26px, 0);
  transform-origin: left center;
}

body[data-page="home"] .hero-anim-api h1,
body[data-page="home"] .hero-anim-api p {
  filter: blur(12px);
  transform: translate3d(0, 34px, 0) scaleY(0.94);
  transform-origin: left bottom;
}

body[data-page="home"] .hero-anim-mobile h1,
body[data-page="home"] .hero-anim-mobile p {
  transform: translate3d(42px, 0, 0) scale(0.96) rotate(0.5deg);
  transform-origin: right center;
}

body[data-page="home"] .hero-anim-consulting h1,
body[data-page="home"] .hero-anim-consulting p {
  filter: blur(14px);
  transform: translate3d(0, -24px, 0) scale(1.04);
  transform-origin: center center;
}

body[data-page="home"] .carousel-item.active .hero-anim-platform h1,
body[data-page="home"] .carousel-item.active .hero-anim-platform p {
  animation: heroPlatformIn 0.84s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

body[data-page="home"] .carousel-item.active .hero-anim-api h1,
body[data-page="home"] .carousel-item.active .hero-anim-api p {
  animation: heroApiIn 0.86s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

body[data-page="home"] .carousel-item.active .hero-anim-mobile h1,
body[data-page="home"] .carousel-item.active .hero-anim-mobile p {
  animation: heroMobileIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

body[data-page="home"] .carousel-item.active .hero-anim-consulting h1,
body[data-page="home"] .carousel-item.active .hero-anim-consulting p {
  animation: heroConsultingIn 0.9s cubic-bezier(0.2, 1, 0.26, 1) 0.12s forwards;
}

@keyframes heroPlatformIn {
  from {
    clip-path: inset(0 24% 0 0);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
    clip-path: inset(0);
  }
}

@keyframes heroApiIn {
  58% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -4px, 0) scaleY(1.02);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scaleY(1);
  }
}

@keyframes heroMobileIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(0);
  }
}

@keyframes heroConsultingIn {
  52% {
    opacity: 1;
    filter: blur(2px);
    transform: translate3d(0, 4px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.stats-row {
  margin-top: 22px;
}

.section-subtitle.section-subtitle-full {
  max-width: none;
}

.about-overview-copy {
  color: var(--brand-muted);
  line-height: 1.85;
  margin-bottom: 0;
}

.about-home-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-home-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
}

.about-home-signature span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.08), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.about-home-story {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 18px;
  margin: 24px 0 8px;
}

.about-home-highlight {
  padding: 22px 22px 20px;
  border: 1px solid var(--brand-line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(23, 92, 211, 0.06), rgba(68, 182, 120, 0.08)),
    rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.about-home-highlight-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(23, 92, 211, 0.1);
  color: var(--brand-blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-home-highlight strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-home-highlight p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.72;
}

.about-home-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 4px;
}

.about-home-pillar {
  padding: 18px 18px 16px;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.about-home-pillar strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-home-pillar p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.68;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {

  .main-navbar,
  .nav-dropdown-menu,
  .hero-panel-contrast,
  .page-link-card,
  .service-carousel-content,
  .service-carousel .carousel-control-prev-icon,
  .service-carousel .carousel-control-next-icon,
  .about-overview-card,
  .about-page .about-overview-card,
  .about-page .about-story-card,
  .about-page .about-story-note,
  .about-page .about-value-card,
  .about-page .about-process-card,
  .about-page .detail-band,
  .about-page .about-belief-card-primary {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-navbar,
  .nav-dropdown-menu,
  .page-link-card,
  .about-overview-card,
  .about-page .about-overview-card,
  .about-page .about-story-card,
  .about-page .about-story-note,
  .about-page .about-value-card,
  .about-page .about-process-card,
  .about-page .detail-band,
  .about-page .about-belief-card-primary {
    background-color: rgba(255, 255, 255, 0.96);
  }

  .hero-panel-contrast {
    background-color: rgba(245, 249, 255, 0.96);
  }

  .service-carousel-content {
    background-color: rgba(8, 17, 32, 0.9);
  }

  .service-carousel .carousel-control-prev-icon,
  .service-carousel .carousel-control-next-icon {
    background-color: rgba(8, 17, 32, 0.72);
  }
}

@media (max-width: 1199.98px) {
  .hero-content {
    max-width: 640px;
    padding-left: 50px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  body[data-page="home"] .hero-content {
    width: min(78vw, 900px);
    max-width: none;
  }

  body[data-page="home"] .hero-content-first,
  body[data-page="home"] .hero-content-compact {
    width: min(62vw, 640px);
    max-width: 640px;
  }

  body[data-page="home"] .hero-content h1 {
    max-width: 820px;
  }

  body[data-page="home"] .hero-content p {
    max-width: 700px;
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 145px 26px 0;
    text-align: center;
  }

  body[data-page="home"] .hero-content-first,
  body[data-page="home"] .hero-content-compact {
    width: min(82vw, 620px);
    max-width: 620px;
    margin-left: 0;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.15rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.75;
  }

  body[data-page="home"] .hero-content-first,
  body[data-page="home"] .hero-content-compact {
    width: min(88vw, 560px);
  }

  body[data-page="home"] .hero-content-first h1,
  body[data-page="home"] .hero-content-compact h1 {
    font-size: 2.35rem;
  }

  body[data-page="home"] .hero-content-first p,
  body[data-page="home"] .hero-content-compact p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding: 150px 18px 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  body[data-page="home"] .hero-content-first,
  body[data-page="home"] .hero-content-compact {
    width: 100%;
  }

  body[data-page="home"] .hero-content-first h1,
  body[data-page="home"] .hero-content-compact h1 {
    font-size: 2rem;
  }

  body[data-page="home"] .hero-content-first p,
  body[data-page="home"] .hero-content-compact p {
    font-size: 0.95rem;
  }
}

/* ---- Hero carousel: tablet height (≤767px) ---- */
@media (max-width: 767.98px) {
  .home-hero {
    min-height: 460px;
  }

  .hero-carousel-shell .carousel-item {
    min-height: 460px;
  }

  .hero-carousel-shell .carousel-indicators {
    margin-bottom: 28px;
  }

  body[data-page="home"] .carousel-progress-line {
    bottom: 58px;
  }

  body[data-page="home"] .hero-carousel-control .carousel-control-prev-icon,
  body[data-page="home"] .hero-carousel-control .carousel-control-next-icon {
    width: 44px;
    height: 44px;
  }
}

/* ---- Hero carousel: phone height (≤575px) ---- */
@media (max-width: 575.98px) {
  .home-hero {
    min-height: 370px;
  }

  .hero-carousel-shell .carousel-item {
    min-height: 370px;
  }

  .hero-content {
    padding-top: 110px;
  }

  body[data-page="home"] .hero-content-first,
  body[data-page="home"] .hero-content-compact {
    padding-top: 120px;
  }

  .hero-carousel-shell .carousel-indicators {
    margin-bottom: 20px;
  }

  body[data-page="home"] .carousel-progress-line {
    bottom: 46px;
  }

  body[data-page="home"] .hero-carousel-control.carousel-control-prev {
    left: 14px;
  }

  body[data-page="home"] .hero-carousel-control.carousel-control-next {
    right: 14px;
  }

  body[data-page="home"] .hero-carousel-control .carousel-control-prev-icon,
  body[data-page="home"] .hero-carousel-control .carousel-control-next-icon {
    width: 36px;
    height: 36px;
  }
}

:root {
  --brand-blue: #175cd3;
  --brand-blue-deep: #0b3c93;
  --brand-green: #44b678;
  --brand-dark: #081120;
  --brand-dark-soft: #0d1a2d;
  --brand-ink: #15243a;
  --brand-muted: #5d6b82;
  --brand-line: rgba(20, 38, 63, 0.1);
  --brand-soft: #f4f8ff;
  --shadow-soft: 0 18px 50px rgba(8, 17, 32, 0.09);
  --shadow-strong: 0 24px 60px rgba(8, 17, 32, 0.16);
  --radius-lg: 30px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --transition: 0.32s ease;
  --font-body: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-display: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-ink);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at top left, rgba(23, 92, 211, 0.08), transparent 28%),
    linear-gradient(180deg, #fcfdff 0%, #f7fbff 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  text-decoration: none;
  transition: color var(--transition), background var(--transition), transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.section-padding {
  position: relative;
  padding: 110px 0;
}

body[data-page="home"] .section-padding {
  padding: 44px 0 26px;
}

body[data-page="home"] #about-overview {
  padding-top: 70px;
  padding-bottom: 24px;
}

body[data-page="home"] .section-padding+.section-padding {
  padding-top: 18px;
}

body[data-page="home"] .section-padding.pt-0 {
  padding-top: 0 !important;
  padding-bottom: 32px;
}

body[data-page="home"] #contact-overview {
  padding-bottom: 18px;
}

@supports (content-visibility: auto) {

  body[data-page="home"] #services-overview,
  body[data-page="home"] #solutions-overview,
  body[data-page="home"] #work-overview,
  body[data-page="home"] #contact-overview,
  body[data-page="home"] .section-padding.pt-0,
  body:not([data-page="home"]) .section-padding {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(23, 92, 211, 0.03), rgba(68, 182, 120, 0.035)),
    #f8fbff;
}

body[data-page="about"] .section-padding {
  padding: 58px 0;
}

body[data-page="about"] .section-padding.pt-0 {
  padding-top: 0 !important;
  padding-bottom: 58px;
}

body[data-page="about"] .section-heading {
  margin-bottom: 18px;
}

body[data-page="about"] .section-heading .section-subtitle {
  margin-bottom: 0;
}

body[data-page="about"] #about-mission-vision {
  padding-top: 34px;
}

body[data-page="about"] #about-what-we-do {
  padding-top: 34px;
}

body[data-page="about"] #about-what-we-do .section-heading {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  text-align: center;
}

body[data-page="about"] #about-what-we-do .eyebrow,
body[data-page="about"] #about-what-we-do .section-title,
body[data-page="about"] #about-what-we-do .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

body[data-page="about"] #about-what-we-do .section-title {
  font-size: clamp(1.82rem, 1.12vw + 1.06rem, 2.52rem);
  line-height: 1.1;
}

body[data-page="about"] #about-what-we-do .section-subtitle {
  max-width: 1080px;
  font-size: 0.98rem;
  line-height: 1.68;
}

body[data-page="about"] #about-approach {
  padding-top: 34px;
  background:
    radial-gradient(circle at top left, rgba(23, 92, 211, 0.06), transparent 34%),
    radial-gradient(circle at bottom right, rgba(68, 182, 120, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(241, 247, 252, 0.94));
}

body[data-page="about"] #about-approach .section-heading {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  text-align: center;
}

body[data-page="about"] #about-approach .eyebrow,
body[data-page="about"] #about-approach .section-title,
body[data-page="about"] #about-approach .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

body[data-page="about"] #about-approach .section-title {
  font-size: clamp(1.82rem, 1.12vw + 1.06rem, 2.52rem);
  line-height: 1.1;
}

body[data-page="about"] #about-approach .section-subtitle {
  max-width: 1080px;
  font-size: 0.98rem;
  line-height: 1.68;
}

body[data-page="about"] #about-why-choose {
  padding-top: 34px !important;
}

body[data-page="about"] #about-why-choose .section-heading {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  text-align: center;
}

body[data-page="about"] #about-why-choose .eyebrow,
body[data-page="about"] #about-why-choose .section-title,
body[data-page="about"] #about-why-choose .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

body[data-page="about"] #about-why-choose .section-title {
  font-size: clamp(1.82rem, 1.12vw + 1.06rem, 2.52rem);
  line-height: 1.1;
}

body[data-page="about"] #about-why-choose .section-subtitle {
  max-width: 1080px;
  font-size: 0.98rem;
  line-height: 1.68;
}

body[data-page="about"] #about-why-choose .about-values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

body[data-page="about"] #about-closing .about-closing-strip {
  position: relative;
  overflow: hidden;
}

body[data-page="about"] #about-closing .cta-strip h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="about"] #about-closing .about-closing-note {
  max-width: 660px;
  margin: 0 auto 10px;
  color: rgba(245, 249, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
}

body[data-page="about"] #about-closing .cta-strip p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="about"] #about-closing .about-closing-label {
  color: rgba(245, 249, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body[data-page="about"] #about-closing .about-contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

body[data-page="about"] #about-closing .about-contact-option {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 30px rgba(8, 17, 32, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

body[data-page="about"] #about-closing .about-contact-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: -72%;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.42s ease;
}

body[data-page="about"] #about-closing .about-contact-option:hover,
body[data-page="about"] #about-closing .about-contact-option:focus {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.18);
}

body[data-page="about"] #about-closing .about-contact-option:hover::before,
body[data-page="about"] #about-closing .about-contact-option:focus::before {
  left: 118%;
}

body[data-page="about"] #about-closing .about-contact-option strong,
body[data-page="about"] #about-closing .about-contact-option span {
  display: block;
  position: relative;
  z-index: 1;
}

body[data-page="about"] #about-closing .about-contact-option strong {
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body[data-page="about"] #about-closing .about-contact-option span {
  color: rgba(245, 249, 255, 0.82);
  font-size: 0.86rem;
}

body[data-page="services"] #services-closing .about-closing-strip {
  position: relative;
  overflow: hidden;
}

body[data-page="services"] #services-closing .cta-strip h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="services"] #services-closing .cta-strip p {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="services"] #services-closing .about-contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

body[data-page="services"] #services-closing .about-contact-option {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 30px rgba(8, 17, 32, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

body[data-page="services"] #services-closing .about-contact-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: -72%;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-18deg);
  transition: left 0.42s ease;
}

body[data-page="services"] #services-closing .about-contact-option:hover,
body[data-page="services"] #services-closing .about-contact-option:focus {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.18);
}

body[data-page="services"] #services-closing .about-contact-option:hover::before,
body[data-page="services"] #services-closing .about-contact-option:focus::before {
  left: 118%;
}

body[data-page="services"] #services-closing .about-contact-option strong,
body[data-page="services"] #services-closing .about-contact-option span {
  display: block;
  position: relative;
  z-index: 1;
}

body[data-page="services"] #services-closing .about-contact-option strong {
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body[data-page="services"] #services-closing .about-contact-option span {
  color: rgba(245, 249, 255, 0.82);
  font-size: 0.86rem;
}

.section-title,
.hero-copy h1,
.hero-panel h2,
.service-card h4,
.solution-box h4,
.portfolio-card h4,
.cta-strip h2,
.footer h5,
.contact-box h2 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 2vw + 1.3rem, 3.2rem);
  line-height: 1.08;
}

.section-subtitle {
  max-width: 760px;
  color: var(--brand-muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  padding: 18px 20px 0;
  margin-bottom: -8px;
  transition: padding var(--transition);
}

.site-header.scrolled {
  padding-top: 10px;
}

.main-navbar {
  position: relative;
  overflow: visible;
  padding: 10px 0;
  border: 1px solid rgba(219, 228, 241, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.site-header.scrolled .main-navbar {
  padding: 9px 0;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(226, 234, 245, 0.98);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  line-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 255, 0.92)),
    linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(9, 24, 52, 0.1);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    padding var(--transition);
}

.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: none;
}

.site-header.scrolled .brand-logo-wrap {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(216, 227, 241, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

@media (min-width: 1200px) {
  .main-navbar {
    padding: 12px 0;
  }

  .navbar-brand {
    margin-left: 4px;
  }

  .brand-logo-wrap {
    padding: 10px 18px;
  }

  .brand-logo {
    height: 68px;
  }
}

.navbar-collapse-panel {
  align-items: center;
  gap: 16px;
}

.navbar-nav {
  padding: 0;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.navbar-nav .nav-link {
  padding: 11px 18px !important;
  border-radius: 999px;
  color: #243754;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  background: transparent;
  border: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--brand-blue);
  background: rgba(23, 92, 211, 0.05);
  border-color: transparent;
  box-shadow: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.active:hover,
.navbar-nav .nav-link.active:focus {
  color: var(--brand-blue-deep) !important;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  background-image: linear-gradient(var(--brand-blue), var(--brand-blue));
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: calc(100% - 28px) 2px;
}

.navbar-toggler {
  padding: 8px 12px;
  border: 1px solid rgba(23, 92, 211, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(236, 244, 255, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
  color: var(--brand-blue-deep);
  -webkit-tap-highlight-color: transparent;
}

.navbar-toggler:hover,
.navbar-toggler:active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(225, 238, 255, 0.88));
  border-color: rgba(23, 92, 211, 0.22);
  color: var(--brand-blue-deep);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 92, 211, 0.12);
  color: var(--brand-blue-deep);
}

.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%2811, 60, 147, 0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 0.55rem;
  vertical-align: 0.14em;
  border-top: 0.35em solid currentColor;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

.nav-dropdown-menu {
  margin-top: 14px;
  min-width: 220px;
  width: min(92vw, 520px);
  padding: 10px;
  z-index: 1200;
  border: 1px solid rgba(20, 38, 63, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 22px 44px rgba(8, 17, 32, 0.12);
}

.nav-dropdown-menu .dropdown-item {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--brand-ink);
  font-size: 0.93rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.nav-dropdown-menu .dropdown-header {
  padding: 8px 14px 4px;
  color: var(--brand-blue-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-dropdown-layout {
  padding: 2px 0 0;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nav-dropdown-column {
  min-width: 0;
}

.nav-dropdown-column .dropdown-item {
  display: block;
}

@media (max-width: 991.98px) {
  body[data-page="contact"] .section-padding {
    padding: 56px 0;
  }

  body[data-page="contact"] .section-padding.section-soft {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  body[data-page="contact"] .section-padding.pt-0 {
    padding-bottom: 56px;
  }

  body[data-page="contact"] .contact-primary-section .section-heading {
    margin-bottom: 28px;
  }

  body[data-page="contact"] .contact-primary-section .contact-box {
    padding: 28px 24px;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
  }
}

.nav-dropdown-menu .dropdown-item:hover,
.nav-dropdown-menu .dropdown-item:focus {
  color: var(--brand-blue-deep);
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.08), rgba(68, 182, 120, 0.12));
  transform: translateX(2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 26px rgba(10, 32, 67, 0.08);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(234, 242, 255, 0.76)),
    rgba(255, 255, 255, 0.72);
  color: var(--brand-blue-deep);
  font-size: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(11, 41, 86, 0.08);
  transition: transform var(--transition), color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.social-icon:hover,
.social-icon:focus {
  color: var(--brand-blue);
  border-color: rgba(23, 92, 211, 0.24);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 41, 86, 0.12);
}

.btn-nav,
.btn-primary-brand,
.btn-secondary-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
}

.btn-nav,
.btn-primary-brand {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  box-shadow: 0 14px 30px rgba(23, 92, 211, 0.22);
}

.btn-nav:hover,
.btn-primary-brand:hover,
.btn-brand:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary-brand {
  border: 1px solid rgba(23, 92, 211, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-ink);
}

.btn-brand,
.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 92, 211, 0.22);
}

.btn-outline-hero {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-outline-hero:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.home-hero {
  min-height: min(760px, 95vh);
  margin-top: -135px;
  padding: 208px 0 108px;
  color: #ffffff;
  background: #edf5ff;
}

.hero-carousel-shell {
  position: absolute;
  inset: 0;
  z-index: 0;
}

body[data-page="home"] .hero-carousel-shell {
  top: -42px;
}

.hero-carousel-shell .carousel,
.hero-carousel-shell .carousel-inner,
.hero-carousel-shell .carousel-item {
  height: 100%;
}

.hero-carousel-shell .carousel {
  position: relative;
}

.hero-carousel-shell .carousel-item {
  min-height: min(760px, 95vh);
}

.hero-slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 12, 24, 0.84) 0%, rgba(9, 27, 51, 0.74) 45%, rgba(13, 67, 103, 0.54) 100%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.04), rgba(7, 18, 32, 0.34));
}

.hero-slide::after,
.service-carousel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 130px),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.06) 18% 18.3%, transparent 18.3% 58%, rgba(255, 255, 255, 0.04) 58% 58.25%, transparent 58.25% 100%),
    linear-gradient(0deg, transparent 0 78%, rgba(255, 255, 255, 0.05) 78% 78.3%, transparent 78.3% 100%);
  opacity: 0.34;
  pointer-events: none;
}

.hero-carousel-shell .carousel-indicators {
  margin-bottom: 48px;
  z-index: 3;
}

.hero-carousel-shell .carousel-indicators [data-bs-target] {
  width: 36px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  opacity: 1;
}

.hero-carousel-shell .carousel-indicators .active {
  background: rgba(255, 255, 255, 0.95);
}

body[data-page="home"] .hero-carousel-shell .carousel-indicators [data-bs-target] {
  box-shadow: 0 10px 22px rgba(5, 12, 24, 0.16);
}

body[data-page="home"] .carousel-progress-line {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: 4;
  width: min(240px, calc(100% - 70px));
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(5, 12, 24, 0.18);
}

body[data-page="home"] .carousel-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.82) 35%, rgba(68, 182, 120, 0.95) 100%);
  will-change: transform;
}

body[data-page="home"] .carousel-progress-fill.is-animating {
  animation: carouselProgressFill var(--carousel-progress-duration, 4300ms) linear forwards;
}

body[data-page="home"] .carousel-progress-fill.is-paused {
  animation-play-state: paused;
}

@keyframes carouselProgressFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

body[data-page="home"] .hero-carousel-control {
  top: 50%;
  bottom: auto;
  z-index: 4;
  width: auto;
  opacity: 1;
  transform: translateY(-50%);
}

body[data-page="home"] .hero-carousel-control.carousel-control-prev {
  left: 26px;
}

body[data-page="home"] .hero-carousel-control.carousel-control-next {
  right: 26px;
}

body[data-page="home"] .hero-carousel-control .carousel-control-prev-icon,
body[data-page="home"] .hero-carousel-control .carousel-control-next-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(8, 17, 32, 0.34);
  background-size: 46% 46%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 28px rgba(4, 12, 24, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-section {
  position: relative;
  padding: 132px 0 88px;
  overflow: hidden;
  background: transparent;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb,
.hero-grid {
  position: absolute;
}

.hero-orb {
  border-radius: 50%;
  filter: blur(14px);
}

.hero-orb-one {
  top: 8%;
  left: -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(23, 92, 211, 0.2), transparent 68%);
}

.hero-orb-two {
  right: -10%;
  bottom: 4%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(68, 182, 120, 0.2), transparent 68%);
}

.hero-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 35, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 35, 58, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
}

.hero-container {
  position: relative;
  z-index: 1;
}

.home-hero .hero-container {
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 3vw + 1.5rem, 5.2rem);
  line-height: 0.98;
  max-width: 760px;
}

.hero-lead {
  max-width: 640px;
  margin: 0 0 34px;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--brand-muted);
}

.hero-copy-contrast .eyebrow,
.hero-copy-contrast h1 {
  color: #ffffff;
}

.hero-copy-contrast .eyebrow::before {
  background: rgba(255, 255, 255, 0.72);
}

.hero-copy-contrast .hero-lead {
  color: rgba(245, 249, 255, 0.82);
}

.hero-actions,
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel,
.about-box,
.about-logo-box,
.service-card,
.solution-box,
.portfolio-card,
.contact-box,
.stat-card {
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-soft);
}

body[data-page="home"] .home-hero .btn-brand {
  box-shadow: 0 18px 36px rgba(23, 92, 211, 0.26);
}

body[data-page="home"] .home-hero .btn-outline-hero:hover,
body[data-page="home"] .home-hero .btn-outline-hero:focus {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 30px rgba(4, 12, 24, 0.16);
}

body[data-page="home"] .hero-content h1,
body[data-page="home"] .hero-content p {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .hero-content h1,
body[data-page="home"] .hero-content p {
  padding-left: 20px;
}

.hero-panel {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96));
  color: var(--brand-ink);
  box-shadow: 0 24px 60px rgba(8, 17, 32, 0.12);
  overflow: hidden;
}

.hero-panel-contrast {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 255, 0.88));
  color: var(--brand-ink);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.14));
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel-contrast .status-pill {
  background: rgba(23, 92, 211, 0.1);
  color: var(--brand-blue-deep);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #60df92;
  box-shadow: 0 0 0 6px rgba(96, 223, 146, 0.12);
}

.hero-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2vw + 0.9rem, 2.5rem);
  line-height: 1.08;
}

.hero-panel p,
.insight-card p {
  color: var(--brand-muted);
  line-height: 1.8;
}

.hero-panel-contrast .status-dot,
.hero-panel-contrast h2,
.hero-panel-contrast p {
  color: var(--brand-ink);
}

.hero-panel-contrast .insight-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(23, 92, 211, 0.08);
  box-shadow: 0 14px 26px rgba(12, 48, 96, 0.08);
}

.hero-panel-contrast .insight-card h3 {
  color: var(--brand-dark);
}

.hero-panel-contrast .insight-card p,
.hero-panel-contrast .insight-kicker {
  color: var(--brand-muted);
}

.insight-stack {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.insight-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 38, 63, 0.08);
  box-shadow: 0 16px 30px rgba(8, 17, 32, 0.06);
}

.insight-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.insight-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--brand-dark);
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] .about-overview {
  margin-top: -15px;
  padding-bottom: 18px;
}

body[data-page="home"] .page-link-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 249, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
}

body[data-page="home"] .page-link-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: 0.9;
}

body[data-page="home"] .page-link-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 92, 211, 0.12), transparent 72%);
  pointer-events: none;
}

body[data-page="home"] .page-link-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(68, 182, 120, 0.14), transparent 72%);
}

body[data-page="home"] .page-link-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(11, 60, 147, 0.12), transparent 72%);
}

body[data-page="home"] .page-link-card:nth-child(4)::after {
  background: radial-gradient(circle, rgba(23, 92, 211, 0.1), transparent 72%);
}

.page-link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 92, 211, 0.16);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.home-section-shell {
  position: relative;
  overflow: hidden;
  padding: 38px 40px 32px;
  border: 1px solid var(--brand-line);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.94)),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.home-section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.12), transparent 24%),
    radial-gradient(circle at bottom left, rgba(23, 92, 211, 0.12), transparent 28%);
  pointer-events: none;
}

.home-section-shell>* {
  position: relative;
  z-index: 1;
}

.home-section-intro {
  max-width: 760px;
  margin: 0 auto 38px;
}

body[data-page="home"] .home-preview-intro {
  max-width: 860px;
  margin-bottom: 0;
}

body[data-page="home"] .home-preview-intro .section-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="home"] .home-preview-meta {
  justify-content: center;
  margin-top: 22px;
}

body[data-page="home"] #company-overview .btn-secondary-brand,
body[data-page="home"] #services-overview .btn-secondary-brand,
body[data-page="home"] #solutions-overview .btn-secondary-brand {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 92, 211, 0.22);
}

body[data-page="home"] #company-overview .btn-secondary-brand:hover,
body[data-page="home"] #services-overview .btn-secondary-brand:hover,
body[data-page="home"] #solutions-overview .btn-secondary-brand:hover,
body[data-page="home"] #company-overview .btn-secondary-brand:focus,
body[data-page="home"] #services-overview .btn-secondary-brand:focus,
body[data-page="home"] #solutions-overview .btn-secondary-brand:focus {
  color: #ffffff;
  transform: translateY(-2px);
}

body[data-page="home"] #company-overview .home-page-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="home"] .page-link-kicker {
  min-height: 0;
  padding-top: 7px;
  padding-bottom: 7px;
  line-height: 1.35;
  white-space: normal;
}

body[data-page="home"] #services-overview .service-card .detail-meta,
body[data-page="home"] #solutions-overview .solution-box .detail-meta {
  margin-top: 18px;
}

body[data-page="home"] #services-overview .service-icon i,
body[data-page="home"] #solutions-overview .solution-icon i {
  font-size: 1.02rem;
}

.home-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.home-card-link i {
  font-size: 0.95rem;
  transition: transform var(--transition);
}

body[data-page="home"] #services-overview .service-card:hover .home-card-link i,
body[data-page="home"] #solutions-overview .solution-box:hover .home-card-link i {
  transform: translateX(3px);
}

.home-section-footnote {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--brand-muted);
  line-height: 1.78;
}

body[data-page="home"] #services-overview .service-card,
body[data-page="home"] #solutions-overview .solution-box,
body[data-page="home"] #work-overview .portfolio-card,
body[data-page="home"] #contact-overview .contact-box {
  height: 100%;
}

body[data-page="home"] #services-overview .service-card,
body[data-page="home"] #solutions-overview .solution-box,
body[data-page="home"] #work-overview .portfolio-card {
  display: flex;
  flex-direction: column;
}

body[data-page="home"] #services-overview .service-card,
body[data-page="home"] #solutions-overview .solution-box {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
}

body[data-page="home"] #work-overview .portfolio-card {
  background: rgba(255, 255, 255, 0.94);
}

body[data-page="home"] #work-overview .portfolio-card .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
}

body[data-page="home"] #contact-overview .contact-box-info {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.18), transparent 28%),
    linear-gradient(180deg, #0b2242 0%, #0b3c93 100%);
  color: #ffffff;
}

body[data-page="home"] #contact-overview .contact-box-info h5,
body[data-page="home"] #contact-overview .contact-box-info p {
  color: rgba(255, 255, 255, 0.9);
}

body[data-page="home"] #contact-overview .contact-box-info .contact-info-item {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

body[data-page="home"] #contact-overview .contact-box-info .contact-info-icon {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

body[data-page="home"] #contact-overview .contact-box-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94)),
    rgba(255, 255, 255, 0.92);
}

body[data-page="home"] #contact-overview .contact-box-story h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.2vw + 1.2rem, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-cta-spotlight {
  position: relative;
  overflow: hidden;
}

.home-cta-spotlight::before,
.home-cta-spotlight::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.home-cta-spotlight::before {
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 72%);
}

.home-cta-spotlight::after {
  left: -100px;
  bottom: -130px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(68, 182, 120, 0.22), transparent 72%);
}

.home-cta-spotlight>* {
  position: relative;
  z-index: 1;
}

.page-link-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.1), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-link-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.page-link-card p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.75;
}

.page-link-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.page-link-card a::after {
  content: "\2192";
  font-size: 0.95rem;
  line-height: 1;
  transition: transform var(--transition);
}

.page-link-card:hover a::after {
  transform: translateX(3px);
}

.service-carousel-section {
  position: relative;
  margin-top: -18px;
  padding-bottom: 26px;
  z-index: 2;
}

.service-carousel {
  position: relative;
}

.service-carousel .carousel-inner {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.service-carousel-card {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  padding: 56px;
  display: flex;
  align-items: flex-end;
  background-color: var(--brand-dark-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-banner-one {
  background-image: url("../images/carousel/slide-custom.jpg");
}

.service-banner-two {
  background-image: url("../images/carousel/slide-api.jpg");
}

.service-banner-three {
  background-image: url("../images/carousel/slide-mobile.jpg");
}

.service-banner-four {
  background-image: url("../images/carousel/slide-consultancy.jpg");
}

.service-carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(92deg, rgba(5, 12, 24, 0.38) 0%, rgba(5, 12, 24, 0.16) 46%, rgba(5, 12, 24, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(7, 16, 28, 0.18));
}

.service-carousel-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 32px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 17, 32, 0.66), rgba(11, 24, 43, 0.54)),
    rgba(8, 17, 32, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(3, 8, 15, 0.3);
  color: #ffffff;
}

.service-carousel-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.2), rgba(68, 182, 120, 0.16));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-carousel-content h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.8vw + 1.1rem, 3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.service-carousel-content p {
  margin: 0 0 22px;
  color: rgba(245, 249, 255, 0.88);
  line-height: 1.8;
  font-size: 1rem;
}

.service-carousel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-carousel-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(9, 20, 36, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

.service-carousel .carousel-indicators {
  margin-bottom: 20px;
}

.service-carousel .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(206, 222, 244, 0.36);
  opacity: 1;
}

.service-carousel .carousel-indicators .active {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.service-carousel .carousel-control-prev,
.service-carousel .carousel-control-next {
  width: auto;
  opacity: 1;
}

.service-carousel .carousel-control-prev {
  left: 26px;
}

.service-carousel .carousel-control-next {
  right: 26px;
}

.service-carousel .carousel-control-prev-icon,
.service-carousel .carousel-control-next-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(8, 17, 32, 0.34);
  background-size: 48% 48%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card,
.solution-box,
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
}

.portfolio-card .content {
  padding: 28px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.service-icon,
.solution-icon,
.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.18));
  color: var(--brand-blue-deep);
}

.service-card h4,
.solution-box h4,
.portfolio-card h4 {
  margin: 0 0 12px;
  font-size: 1.14rem;
}

.service-card p,
.solution-box p,
.portfolio-card p,
.stat-card p,
.contact-box p {
  margin: 0;
  line-height: 1.75;
}

.stat-card h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: var(--brand-blue-deep);
}

.about-logo-box,
.about-box,
.service-card,
.solution-box,
.portfolio-card,
.contact-box,
.stat-card {
  border-radius: var(--radius-md);
}

.about-box,
.contact-box,
.service-card,
.solution-box {
  background: rgba(255, 255, 255, 0.9);
}

.about-logo-box {
  position: relative;
  overflow: hidden;
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(23, 92, 211, 0.08), rgba(255, 255, 255, 0.96));
}

.about-image-panel {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-image-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 17, 32, 0.14), rgba(8, 17, 32, 0.44)),
    linear-gradient(135deg, rgba(23, 92, 211, 0.18), rgba(68, 182, 120, 0.1));
}

.about-image-panel-home {
  background-image: url("../images/d.png");
}

.about-home-showcase {
  display: grid;
  gap: 18px;
}

body[data-page="home"] .about-home-showcase {
  gap: 20px;
}

body[data-page="home"] .about-home-copy {
  padding: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94)),
    rgba(255, 255, 255, 0.92);
}

body[data-page="home"] .about-home-note,
body[data-page="home"] .about-home-pillar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
}

.about-home-visual {
  position: relative;
  min-height: 270px;
  padding: 28px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--brand-line);
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.14), rgba(23, 92, 211, 0.08)),
    url("../images/d.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.about-home-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 26, 48, 0.12), rgba(9, 38, 72, 0.44)),
    linear-gradient(135deg, rgba(23, 92, 211, 0.22), rgba(68, 182, 120, 0.14));
}

.about-home-badge,
.about-home-note {
  position: relative;
  z-index: 1;
}

.about-home-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-home-visual h3 {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin: 16px 0 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.4vw + 1.1rem, 2.4rem);
  line-height: 1.04;
}

.about-home-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-home-note {
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.about-home-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 0.96rem;
  font-weight: 800;
}

.about-home-note p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.72;
}

.about-image-panel-about {
  background-image: url("../images/dd.png");
}

.about-image-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  box-shadow: 0 16px 32px rgba(8, 17, 32, 0.12);
}

.service-card,
.solution-box,
.portfolio-card,
.stat-card,
.contact-box {
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.solution-box:hover,
.portfolio-card:hover,
.stat-card:hover,
.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.service-card::before {
  left: 28px;
  width: 72px;
  height: 5px;
}

.service-icon,
.solution-icon,
.contact-info-icon {
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.solution-box {
  position: relative;
  overflow: hidden;
}

#solutions {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(23, 92, 211, 0.28), transparent 30%),
    linear-gradient(135deg, #07101d 0%, #0b1727 45%, #10253e 100%);
}

#solutions .section-title,
#solutions .solution-box h4 {
  color: #ffffff;
}

#solutions .section-subtitle,
#solutions .solution-box p {
  color: rgba(232, 241, 255, 0.74);
}

#solutions .solution-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

#solutions .solution-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(68, 182, 120, 0.18));
  color: #ffffff;
}

.list-check span {
  position: relative;
  overflow: hidden;
  font-size: 0;
}

.list-check span::before {
  content: "\2713";
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-visual {
  position: relative;
  min-height: 250px;
  background-color: #0d1930;
}

.portfolio-visual::before,
.portfolio-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.portfolio-visual::before {
  width: 180px;
  height: 180px;
  top: 18%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 70%);
}

.portfolio-visual::after {
  width: 240px;
  height: 240px;
  right: 0;
  bottom: -8%;
  background: radial-gradient(circle, rgba(68, 182, 120, 0.3), transparent 70%);
}

.portfolio-visual-one {
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.8), rgba(23, 92, 211, 0.72)), linear-gradient(135deg, #162844, #0d1930);
}

.portfolio-visual-two {
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.7), rgba(68, 182, 120, 0.7)), linear-gradient(135deg, #0d1930, #18355f);
}

.portfolio-visual-three {
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.78), rgba(80, 110, 255, 0.6)), linear-gradient(135deg, #112443, #152c4f);
}

.contact-box {
  padding: 36px;
}

body[data-page="contact"] .section-padding {
  padding: 74px 0;
}

body[data-page="contact"] .section-padding.section-soft {
  padding-top: 56px;
  padding-bottom: 48px;
}

body[data-page="contact"] .section-padding.pt-0 {
  padding-top: 6px !important;
  padding-bottom: 72px;
}

body[data-page="contact"] .contact-primary-section .section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
}

body[data-page="contact"] .contact-primary-section .contact-box {
  height: 100%;
  padding: 34px 32px;
}

body[data-page="contact"] .contact-box-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94));
}

body[data-page="contact"] .contact-map-card {
  position: relative;
  flex: 1 1 auto;
  min-height: 220px;
  margin-top: 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 63, 0.08);
  background: #e8ecf0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 26px rgba(8, 17, 32, 0.06);
}

body[data-page="contact"] .contact-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body[data-page="contact"] .contact-map-open-btn {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(23, 92, 211, 0.14);
  box-shadow: 0 6px 18px rgba(8, 17, 32, 0.16);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body[data-page="contact"] .contact-map-open-btn:hover,
body[data-page="contact"] .contact-map-open-btn:focus-visible {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(23, 92, 211, 0.32);
  transform: translateY(-1px);
  text-decoration: none;
  outline: none;
}

body[data-page="contact"] .contact-box-form form {
  height: 100%;
}

body[data-page="error"] .error-page-section {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
}

body[data-page="error"] .error-compact-shell {
  display: grid;
  grid-template-columns: 140px minmax(0, 520px);
  gap: 34px;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

body[data-page="error"] .error-compact-mark {
  color: #14b6cf;
  font-size: clamp(4.8rem, 7vw, 6.8rem);
  font-weight: 800;
  line-height: 0.85;
  text-align: center;
  letter-spacing: -0.08em;
}

body[data-page="error"] .error-compact-copy h1 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  line-height: 1.08;
}

body[data-page="error"] .error-compact-detail,
body[data-page="error"] .error-compact-contact {
  max-width: 470px;
  color: var(--brand-muted);
  line-height: 1.7;
}

body[data-page="error"] .error-compact-detail {
  margin: 0;
}

body[data-page="error"] .error-compact-actions {
  margin-top: 22px;
}

body[data-page="error"] .error-compact-actions .btn-brand {
  min-width: 150px;
}

body[data-page="error"] .error-compact-contact {
  margin: 20px 0 0;
}

body[data-page="error"] .error-compact-contact a {
  color: var(--brand-blue-deep);
  font-weight: 700;
}

body[data-page="error"] .error-social-list {
  width: fit-content;
  margin-top: 18px;
  padding-left: 10px;
}

@media (max-width: 767.98px) {
  body[data-page="error"] .error-page-section {
    min-height: auto;
  }

  body[data-page="error"] .error-compact-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  body[data-page="error"] .error-compact-mark {
    font-size: 4.8rem;
  }

  body[data-page="error"] .error-compact-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body[data-page="error"] .error-social-list {
    margin-left: auto;
    margin-right: auto;
  }
}

body[data-page="contact"] .contact-box-form .btn-brand {
  min-width: 180px;
}

.contact-info-item {
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
}

.list-check {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list-check li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--brand-muted);
  line-height: 1.75;
}


.contact-info-item {
  display: flex;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(20, 38, 63, 0.08);
}

.contact-info-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.contact-info-content {
  flex: 1 1 auto;
  min-width: 0;
}

.contact-info-content h5 {
  margin-bottom: 6px;
}

.contact-info-content p {
  margin-bottom: 0;
  line-height: 1.7;
}

.contact-info-copy-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-info-link {
  color: var(--brand-muted);
  font-weight: 600;
  line-height: 1.6;
  word-break: break-word;
}

.contact-info-link:hover,
.contact-info-link:focus-visible {
  color: var(--brand-blue-deep);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.contact-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(20, 38, 63, 0.48);
  box-shadow: none;
  flex-shrink: 0;
}

.contact-copy-button:hover {
  background: transparent;
  color: var(--brand-blue-deep);
  box-shadow: none;
}

.contact-copy-button:focus-visible {
  background: transparent;
  color: var(--brand-blue-deep);
  outline: 2px solid rgba(23, 92, 211, 0.24);
  outline-offset: 3px;
  box-shadow: none;
}

.contact-copy-button.is-copied {
  background: transparent;
  color: #1b7a56;
  box-shadow: none;
}

.contact-copy-button.is-copy-error {
  background: transparent;
  color: #9d3030;
  box-shadow: none;
}

.detail-card {
  height: 100%;
}

.detail-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(23, 92, 211, 0.08);
  color: var(--brand-ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.detail-band {
  height: 100%;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.dual-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.detail-band h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.detail-band p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.82;
}

.detail-band p+p {
  margin-top: 14px;
}

.form-control,
.form-select {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(20, 38, 63, 0.12);
  box-shadow: none !important;
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
}

textarea.form-control {
  min-height: 170px;
  padding: 16px 18px;
}

.contact-box p {
  color: var(--brand-muted);
}

.footer p {
  color: rgba(232, 241, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.65;
}

.contact-box .btn-brand,
.cta-strip .btn-brand {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  box-shadow: 0 14px 30px rgba(23, 92, 211, 0.22);
}

.cta-strip {
  padding: 40px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(135deg, #0e4fb8 0%, #0b3c93 55%, #1a8f69 100%);
  box-shadow: var(--shadow-strong);
}

.cta-strip h2,
.cta-strip p {
  color: #ffffff;
}

.cta-strip p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(245, 249, 255, 0.82);
}

.cta-strip .btn-outline-hero {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.footer {
  padding: 20px 0 12px;
  color: rgba(232, 241, 255, 0.8);
  background:
    radial-gradient(circle at top left, rgba(68, 182, 120, 0.12), transparent 22%),
    linear-gradient(180deg, #081120 0%, #091426 100%);
}

.footer a {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 28px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-nav a {
  color: rgba(232, 241, 255, 0.75);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding-top: 0;
}

.footer-copy {
  margin: 0;
  line-height: 1.4;
}

.footer-link-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-link-group a {
  position: relative;
  padding-bottom: 2px;
}

.footer-link-group a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.footer-link-group a:hover::after,
.footer-link-group a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 767.98px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-link-group {
    justify-content: center;
  }
}

.back-to-top {
  --scroll-progress: 0%;
  --scroll-progress-ring: var(--brand-green);
  --scroll-progress-track: rgba(23, 92, 211, 0.16);
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 241, 255, 0.92)) padding-box,
    conic-gradient(var(--scroll-progress-ring) var(--scroll-progress),
      var(--scroll-progress-track) 0) border-box;
  box-shadow:
    0 14px 32px rgba(8, 17, 32, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: var(--brand-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.back-to-top i {
  font-size: 1.15rem;
  line-height: 1;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus,
.back-to-top:focus-visible {
  --scroll-progress-ring: #ffffff;
  --scroll-progress-track: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--brand-blue), var(--brand-green)) padding-box,
    conic-gradient(var(--scroll-progress-ring) var(--scroll-progress),
      var(--scroll-progress-track) 0) border-box;
  box-shadow: 0 18px 36px rgba(23, 92, 211, 0.28);
}

.back-to-top:focus,
.back-to-top:focus-visible {
  outline: 2px solid rgba(23, 92, 211, 0.28);
  outline-offset: 3px;
}

.inner-page .hero-section,
.about-page .hero-section {
  padding-bottom: 72px;
}

.inner-page .main-navbar,
.about-page .main-navbar {
  border-radius: 999px;
}

.about-hero .hero-copy h1 {
  max-width: 820px;
}

.about-page-subtitle {
  max-width: none;
}

.about-page-copy {
  color: var(--brand-muted);
  line-height: 1.85;
}

.about-hero {
  padding-bottom: 96px;
}

.about-banner {
  position: relative;
  margin-top: -136px;
  overflow: hidden;
}

.about-banner-image {
  position: relative;
  min-height: 720px;
  background: url("../images/about-banner-modern-v4.png") center center / cover no-repeat;
}

.about-banner-image::before,
.about-banner-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-banner-image::before {
  background:
    linear-gradient(105deg, rgba(5, 12, 24, 0.72) 0%, rgba(11, 31, 61, 0.52) 42%, rgba(23, 92, 211, 0.16) 100%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.02), rgba(7, 18, 32, 0.14));
}

.about-banner-image::after {
  background:
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 130px),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.06) 18% 18.3%, transparent 18.3% 58%, rgba(255, 255, 255, 0.04) 58% 58.25%, transparent 58.25% 100%),
    linear-gradient(0deg, transparent 0 78%, rgba(255, 255, 255, 0.05) 78% 78.3%, transparent 78.3% 100%);
  opacity: 0.16;
}

.about-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-banner-copy {
  max-width: 760px;
  padding-top: clamp(180px, 18vw, 236px);
  color: #ffffff;
}

body[data-page="services"] .services-banner-image {
  background: url("../images/services-banner-modern-v2.png") center center / cover no-repeat;
}

body[data-page="services"] .services-banner-copy {
  max-width: 780px;
  padding-top: clamp(150px, 15vw, 202px);
}

body[data-page="services"] .services-banner-title {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw + 0.5rem, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 36px rgba(2, 8, 16, 0.34);
  opacity: 0;
  transform: scale(1.08);
  transform-origin: left center;
  will-change: opacity, transform;
  animation: servicesBannerTitleFadeIn 1.7s ease forwards;
}

@media (max-width: 575.98px) {
  body[data-page="services"] .services-banner-title {
    line-height: 1.14;
    letter-spacing: -0.03em;
  }
}

body[data-page="services"] .services-banner-actions {
  margin-top: 28px;
}

body[data-page="services"] .services-banner-subtitle {
  margin: 20px 0 0;
  max-width: 580px;
  color: rgba(220, 236, 255, 0.72);
  font-size: clamp(0.95rem, 0.7vw + 0.6rem, 1.08rem);
  font-weight: 400;
  line-height: 1.74;
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: aboutBannerKickerIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.52s forwards;
}

.about-banner-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(240, 247, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: aboutBannerKickerIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.16s forwards;
}

.about-banner-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18em 0.28em;
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw + 1rem, 3.45rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 36px rgba(2, 8, 16, 0.34);
}

.about-banner-title-word {
  display: inline-flex;
  gap: 0.01em;
}

.about-banner-title-char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform-origin: center center;
  will-change: transform, opacity, filter;
  animation: aboutBannerCharIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.24s + (var(--char-index) * 0.024s));
}

.about-banner-title-char.dir-top {
  --from-x: 0px;
  --from-y: -42px;
  --from-rotate: -7deg;
}

.about-banner-title-char.dir-right {
  --from-x: 34px;
  --from-y: 0px;
  --from-rotate: 6deg;
}

.about-banner-title-char.dir-bottom {
  --from-x: 0px;
  --from-y: 40px;
  --from-rotate: 7deg;
}

.about-banner-title-char.dir-left {
  --from-x: -36px;
  --from-y: 0px;
  --from-rotate: -6deg;
}

.about-banner-accent {
  display: block;
  width: min(180px, 42%);
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(132, 185, 255, 0.96), rgba(93, 224, 179, 0.96));
  box-shadow: 0 0 18px rgba(93, 224, 179, 0.28);
  transform: translate3d(0, 8px, 0) scaleX(0.2);
  transform-origin: left center;
  opacity: 0;
  animation: aboutBannerLineIn 0.82s cubic-bezier(0.22, 1, 0.36, 1) 1.08s forwards;
}

.about-introduction-section {
  position: relative;
  z-index: 2;
  margin-top: -156px;
  padding: 0 0 28px;
}

.about-introduction-wrap {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 0 70px;
}

.about-introduction-card {
  padding: 38px 42px;
  border-radius: 34px;
}

.about-introduction-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.about-introduction-card p+p {
  margin-top: 16px;
}

@keyframes aboutBannerKickerIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes aboutBannerTitleIn {
  60% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -4px, 0) scale(1.01);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes servicesBannerTitleFadeIn {
  from {
    opacity: 0;
    transform: scale(1.08);
  }

  62% {
    opacity: 0.82;
    transform: scale(0.972);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes aboutBannerCharIn {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate3d(var(--from-x), var(--from-y), 0) scale(0.84) rotate(var(--from-rotate));
  }

  58% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, -2px, 0) scale(1.025) rotate(0deg);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes aboutBannerLineIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scaleX(1);
  }
}

.about-theme-hero {
  min-height: 100vh;
  margin-top: -118px;
  padding: 220px 0 124px;
  color: #ffffff;
  overflow: hidden;
}

.about-theme-hero .hero-container {
  z-index: 2;
}

.about-theme-hero .row {
  min-height: calc(100vh - 344px);
}

.about-theme-panel {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 255, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 28px 60px rgba(4, 12, 24, 0.24);
}

.about-theme-hero .about-chip {
  background: rgba(23, 92, 211, 0.12);
}

.about-theme-hero .about-hero-card-copy {
  color: var(--brand-muted);
}

.about-theme-hero .about-hero-point {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(20, 38, 63, 0.08);
  box-shadow: 0 16px 30px rgba(8, 17, 32, 0.08);
}

.about-page .about-overview-card,
.about-page .about-story-card,
.about-page .about-story-note,
.about-page .about-value-card,
.about-page .about-process-card,
.about-page .detail-band {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-page .about-overview-card,
.about-page .about-story-card,
.about-page .about-value-card,
.about-page .about-process-card,
.about-page .detail-band {
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-soft);
}

.about-page .about-belief-shell {
  background:
    linear-gradient(135deg, rgba(23, 92, 211, 0.06), rgba(68, 182, 120, 0.08)),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.about-page .about-belief-card-primary {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-page .about-belief-card-secondary {
  background:
    linear-gradient(135deg, rgba(7, 16, 29, 0.94), rgba(14, 34, 61, 0.92)),
    linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.1));
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.2);
}

.about-hero-card,
.about-overview-card,
.about-story-card,
.about-story-note,
.about-belief-card,
.about-value-card {
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-soft);
}

.about-hero-card {
  padding: 32px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 255, 0.96));
  color: var(--brand-ink);
  box-shadow: 0 24px 60px rgba(8, 17, 32, 0.12);
}

.about-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.14));
  color: var(--brand-blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-hero-card h2,
.about-belief-card h2,
.about-story-card h3,
.about-value-card h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

body[data-page="about"] .about-belief-card h2,
body[data-page="about"] .about-value-card h3,
body[data-page="about"] .about-process-card h3,
body[data-page="about"] .detail-band h3 {
  color: var(--brand-dark);
}

.about-hero-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 1.8vw + 1rem, 2.6rem);
  line-height: 1.05;
}

.about-hero-card-copy {
  margin: 0 0 24px;
  color: var(--brand-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-hero-points {
  display: grid;
  gap: 14px;
}

.about-hero-point {
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(20, 38, 63, 0.08);
  box-shadow: 0 16px 30px rgba(8, 17, 32, 0.05);
}

.about-hero-point strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.about-hero-point p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.7;
}

.about-overview {
  position: relative;
  margin-top: -15px;
  z-index: 2;
}

.about-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="services"] .services-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="services"] .about-overview-card {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

body[data-page="services"] .about-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

body[data-page="services"] #services-overview {
  padding: clamp(52px, 6vw, 72px) 0 clamp(48px, 5.4vw, 64px);
}

body[data-page="services"] #services-overview,
body[data-page="services"] #solutions-overview,
body[data-page="services"] [id^="service-"],
body[data-page="services"] [id^="solution-"] {
  scroll-margin-top: clamp(118px, 14vw, 148px);
}

body[data-page="services"] #services-overview>.container>.text-center:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  margin: 0 auto 28px;
}

body[data-page="services"] #services-overview .section-title {
  max-width: 760px;
  margin-bottom: 12px;
  text-align: center;
}

body[data-page="services"] #services-overview .section-subtitle {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

body[data-page="services"] #services-overview .row.g-4 {
  margin-top: 0.75rem !important;
}

body[data-page="services"] #solutions-overview {
  padding: 2rem 0 clamp(72px, 7vw, 90px);
}

body[data-page="services"] #solutions-overview>.container>.text-center:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 26px;
}

body[data-page="services"] #solutions-overview .section-title {
  max-width: 760px;
  margin-bottom: 12px;
  text-align: center;
}

body[data-page="services"] #solutions-overview .section-subtitle {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

body[data-page="services"] #solutions-overview .row.g-4 {
  margin-top: 0.75rem !important;
}

body[data-page="services"] #solutions-overview .solution-area-card {
  padding: 34px 34px 32px;
  border: 1px solid rgba(20, 38, 63, 0.08);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
  box-shadow: 0 18px 42px rgba(8, 17, 32, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

body[data-page="services"] #solutions-overview .solution-area-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 38, 63, 0.12);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

body[data-page="services"] #solutions-overview .solution-anchor-alias {
  display: block;
  position: relative;
  top: -4px;
  height: 0;
}

body[data-page="services"] #solutions-overview .solution-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 24px;
  align-items: center;
  height: 100%;
}

body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-layout {
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
}

body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-copy {
  grid-column: 2;
  grid-row: 1;
}

body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-media {
  grid-column: 1;
  grid-row: 1;
}

body[data-page="services"] #solutions-overview .solution-card-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

body[data-page="services"] #solutions-overview .solution-area-card h4 {
  margin: 0 0 12px;
  font-size: 1.34rem;
  line-height: 1.38;
}

body[data-page="services"] #solutions-overview .solution-card-copy p {
  color: var(--brand-muted);
}

body[data-page="services"] #solutions-overview .solution-content-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

body[data-page="services"] #solutions-overview .solution-content-list li {
  position: relative;
  padding-left: 40px;
  color: var(--brand-muted);
  line-height: 1.72;
}

body[data-page="services"] #solutions-overview .solution-content-list li::before {
  content: "\2713";
  position: absolute;
  top: 0.14em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(23, 92, 211, 0.12);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 8px 18px rgba(23, 92, 211, 0.08);
}

body[data-page="services"] #solutions-overview .solution-content-list li strong {
  color: var(--brand-dark);
  font-weight: 800;
}

body[data-page="services"] #solutions-overview .solution-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 16px;
  border: 1px solid rgba(23, 92, 211, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 36px rgba(8, 17, 32, 0.06);
}

body[data-page="services"] #solutions-overview .solution-media-visual {
  display: grid;
  gap: 12px;
  width: 100%;
}

body[data-page="services"] #solutions-overview .solution-media-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 92, 211, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(8, 17, 32, 0.05);
}

body[data-page="services"] #solutions-overview .solution-media-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.14));
  color: var(--brand-blue-deep);
  font-size: 0.96rem;
}

body[data-page="services"] #solutions-overview .solution-area-card .detail-meta {
  margin-top: auto;
  padding-top: 20px;
}

body[data-page="services"] #services-overview .service-card-rich {
  padding: 32px 28px;
  border: 1px solid rgba(20, 38, 63, 0.08);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
  box-shadow: 0 18px 42px rgba(8, 17, 32, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

body[data-page="services"] #services-overview .service-card-rich:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 38, 63, 0.12);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

body[data-page="services"] #services-overview .service-card-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 24px;
  align-items: center;
  height: 100%;
}

body[data-page="services"] #services-overview .service-card-feature {
  padding: 34px 34px 32px;
}

body[data-page="services"] #services-overview .services-summary-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 34px 32px;
}

body[data-page="services"] #services-overview .services-summary-card .service-card-copy {
  align-items: center;
  text-align: center;
}

body[data-page="services"] #services-overview .services-summary-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

body[data-page="services"] #services-overview .services-summary-card .detail-meta {
  justify-content: center;
}

body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-layout {
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
}

body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-copy {
  grid-column: 2;
  grid-row: 1;
}

body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-media {
  grid-column: 1;
  grid-row: 1;
}

body[data-page="services"] #services-overview .service-card-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

body[data-page="services"] #services-overview .service-card-media {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 92, 211, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 36px rgba(8, 17, 32, 0.06);
}

body[data-page="services"] #services-overview .service-card-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

body[data-page="services"] #services-overview .service-card-copy p {
  color: var(--brand-muted);
}

body[data-page="services"] #services-overview .content-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

body[data-page="services"] #services-overview .content-list li {
  position: relative;
  padding-left: 40px;
  color: var(--brand-muted);
  line-height: 1.72;
}

body[data-page="services"] #services-overview .content-list li::before {
  content: "\2713";
  position: absolute;
  top: 0.14em;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(23, 92, 211, 0.12);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
  font-weight: 900;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 8px 18px rgba(23, 92, 211, 0.08);
}

body[data-page="services"] #services-overview .detail-meta {
  margin-top: auto;
  padding-top: 20px;
}

@media (max-width: 575.98px) {
  body[data-page="services"] #solutions-overview .solution-area-card {
    padding: 28px 22px;
  }

  body[data-page="services"] #solutions-overview .solution-card-media {
    min-height: 190px;
  }

  body[data-page="services"] #solutions-overview .solution-media-chip {
    padding: 11px 12px;
  }

  body[data-page="services"] #services-overview .service-card-rich {
    padding: 28px 22px;
  }
}

@media (max-width: 1199.98px) {
  body[data-page="services"] #solutions-overview .solution-card-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Must match reversed-card specificity to override its grid-template-columns */
  body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-copy,
  body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-media {
    grid-column: auto;
    grid-row: auto;
  }

  body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-copy {
    order: 1;
  }

  body[data-page="services"] #solutions-overview .service-card-feature-reverse .solution-card-media {
    order: 2;
  }

  body[data-page="services"] #services-overview .service-card-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Must match reversed-card specificity to override its grid-template-columns */
  body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-copy,
  body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-media {
    grid-column: auto;
    grid-row: auto;
  }

  body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-copy {
    order: 1;
  }

  body[data-page="services"] #services-overview .service-card-feature-reverse .service-card-media {
    order: 2;
  }

  /* Full width, no centering constraint */
  body[data-page="services"] #services-overview .service-card-media {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  body[data-page="services"] #services-overview .service-card-media img {
    width: 100%;
    height: auto;
    max-width: none;
  }
}

body[data-page="services"] .services-overview-guide-copy {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.about-overview-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
}

.about-overview-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-overview-card p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.75;
}

.about-story-visual {
  position: relative;
  padding: 22px 18px 46px;
}

.about-story-note {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 270px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
  font-weight: 700;
  line-height: 1.65;
}

.about-story-note span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.about-story-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.about-story-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.about-story-card p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.78;
}

.about-belief-shell {
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.08), rgba(68, 182, 120, 0.08));
}

.about-belief-card {
  height: 100%;
  padding: 34px;
  border-radius: 28px;
}

.about-belief-card-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.92));
}

.about-belief-card-secondary {
  background: linear-gradient(180deg, rgba(8, 17, 32, 0.96), rgba(13, 32, 56, 0.94));
}

.about-belief-card-secondary .eyebrow {
  color: rgba(237, 244, 255, 0.86);
}

.about-belief-card-secondary h2,
.about-belief-card-secondary p {
  color: #ffffff;
}

.about-belief-card-secondary p {
  opacity: 0.8;
}

.about-belief-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 1.6vw + 1rem, 2.45rem);
  line-height: 1.08;
}

body[data-page="about"] #about-mission-vision .about-belief-card h2 {
  font-size: clamp(1.45rem, 0.95vw + 1rem, 1.75rem);
  line-height: 1.12;
}

.about-belief-card p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.85;
}

body[data-page="about"] .detail-band,
body[data-page="about"] .about-belief-card,
body[data-page="about"] .about-overview-card,
body[data-page="about"] .about-story-card,
body[data-page="about"] .about-story-note {
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

body[data-page="about"] .detail-band:hover,
body[data-page="about"] .about-belief-card:hover,
body[data-page="about"] .about-overview-card:hover,
body[data-page="about"] .about-story-card:hover,
body[data-page="about"] .about-story-note:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.about-value-card {
  height: 100%;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.about-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.18));
  color: var(--brand-blue-deep);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-value-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

body[data-page="about"] #about-approach .about-process-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.about-value-card p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.75;
}

.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.about-page .about-overview-grid,
.about-page .about-values-grid,
.about-page .about-process-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body[data-page="about"] #about-approach .about-process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

body[data-page="about"] #about-approach .about-process-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

body[data-page="about"] #about-approach .about-process-head .about-step {
  margin-bottom: 0;
}

body[data-page="about"] #about-approach .about-process-head h3 {
  margin: 0;
}

body[data-page="about"] #about-approach .about-process-card {
  display: flex;
  flex-direction: column;
}

.about-process-card {
  height: 100%;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.about-process-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.about-process-card p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.75;
}

.about-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.12), rgba(68, 182, 120, 0.18));
  color: var(--brand-blue-deep);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 991.98px) {
  body[data-page="about"] #about-approach .about-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767.98px) {
  body[data-page="about"] #about-approach .section-heading {
    margin-bottom: 18px;
  }

  body[data-page="about"] #about-approach .section-subtitle {
    max-width: 640px;
  }

  body[data-page="about"] #about-approach .about-process-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  body[data-page="about"] #about-approach .about-process-grid {
    gap: 14px;
  }

  body[data-page="about"] #about-approach .about-process-card {
    padding: 22px 18px;
  }

  body[data-page="about"] #about-approach .about-process-head {
    gap: 12px;
    align-items: start;
  }

  body[data-page="about"] #about-approach .about-process-head h3 {
    font-size: 1.02rem;
    line-height: 1.35;
  }

  body[data-page="about"] #about-approach .about-process-card p {
    line-height: 1.68;
  }

  body[data-page="about"] #about-approach .about-step {
    min-width: 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 0.8rem;
  }
}

.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-soft {
  opacity: 0;
  filter: blur(10px);
  will-change: opacity, transform, filter;
  transition:
    opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.82s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
  transform: translate3d(0, 28px, 0);
}

.reveal-left {
  transform: translate3d(-32px, 0, 0);
}

.reveal-right {
  transform: translate3d(32px, 0, 0);
}

.reveal-scale {
  transform: translate3d(0, 22px, 0) scale(0.965);
}

.reveal-soft {
  transform: translate3d(0, 18px, 0);
  transition-duration: 0.96s;
}

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-soft.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

body[data-page="about"] .about-value-card:hover,
body[data-page="about"] .about-process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

body[data-page="about"] #about-what-we-do .section-heading .eyebrow,
body[data-page="about"] #about-approach .section-heading .eyebrow,
body[data-page="about"] #about-why-choose .section-heading .eyebrow,
body[data-page="about"] #about-mission-vision .about-belief-card .eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(100%, 900px);
  min-height: 42px;
  padding: 0 22px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 92, 211, 0.13), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="about"] #about-mission-vision .about-belief-card .eyebrow {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

body[data-page="about"] #about-what-we-do .section-heading .eyebrow::before,
body[data-page="about"] #about-approach .section-heading .eyebrow::before,
body[data-page="about"] #about-why-choose .section-heading .eyebrow::before,
body[data-page="about"] #about-mission-vision .about-belief-card .eyebrow::before {
  display: none;
}

body[data-page="about"] .about-introduction-card,
body[data-page="about"] #about-mission-vision .about-belief-card-primary,
body[data-page="about"] #about-what-we-do .about-value-card,
body[data-page="about"] #about-approach .about-process-card,
body[data-page="about"] #about-why-choose .about-value-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 38, 63, 0.08);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
  box-shadow: 0 18px 42px rgba(8, 17, 32, 0.08);
}

body[data-page="about"] .about-introduction-card::before,
body[data-page="about"] #about-mission-vision .about-belief-card-primary::before,
body[data-page="about"] #about-what-we-do .about-value-card::before,
body[data-page="about"] #about-approach .about-process-card::before,
body[data-page="about"] #about-why-choose .about-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 72px;
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

@media (max-width: 575.98px) {

  body[data-page="about"] #about-what-we-do .section-heading .eyebrow,
  body[data-page="about"] #about-approach .section-heading .eyebrow,
  body[data-page="about"] #about-why-choose .section-heading .eyebrow,
  body[data-page="about"] #about-mission-vision .about-belief-card .eyebrow {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.section-heading,
.section-padding .container>.text-center:first-child,
.home-section-intro,
.text-center>.section-title,
.text-center>.section-subtitle,
.detail-band,
.about-home-copy,
.about-home-showcase,
.about-story-visual,
.about-belief-shell,
.dual-card-grid>*,
.footer-bottom {
  transform-origin: center center;
}

.section-heading.is-visible .eyebrow::before,
.section-padding .container>.text-center:first-child.is-visible .eyebrow::before,
.home-section-intro.is-visible .eyebrow::before,
.hero-copy.is-visible .eyebrow::before {
  animation: eyebrowSweep 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes eyebrowSweep {
  from {
    transform: scaleX(0.25);
    opacity: 0.2;
  }

  to {
    transform: scaleX(1);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-soft {
    opacity: 1;
    filter: none;
    transform: none;
  }

  body[data-page="home"] .hero-content-first h1,
  body[data-page="home"] .hero-content-first p,
  body[data-page="home"] .hero-content-compact h1,
  body[data-page="home"] .hero-content-compact p {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  body[data-page="services"] .services-banner-title {
    opacity: 1;
    transform: none;
    animation: none;
  }

}

@media (min-width: 1200px) {

  body[data-page="about"] #about-what-we-do .section-title,
  body[data-page="about"] #about-what-we-do .section-subtitle {
    white-space: nowrap;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 16px 14px 0;
  }

  .main-navbar,
  .inner-page .main-navbar,
  .about-page .main-navbar {
    border-radius: 26px;
  }

  .navbar-collapse-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    padding: 16px 10px 8px;
    border: 1px solid rgba(219, 228, 241, 0.9);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 241, 253, 0.94)),
      rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 8px 24px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .navbar-nav {
    gap: 6px;
  }

  .navbar-nav .nav-link {
    text-align: center;
  }

  .nav-dropdown-menu {
    margin-top: 8px;
    box-shadow: none;
  }

  .nav-actions {
    justify-content: center;
    padding-top: 8px;
  }

  .social-list {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-section {
    padding-top: 112px;
  }

  .home-hero {
    min-height: 710px;
    margin-top: -135px;
    padding-top: 182px;
  }

  .about-theme-hero {
    min-height: 760px;
    margin-top: -102px;
    padding: 196px 0 108px;
  }

  .about-banner {
    margin-top: -118px;
  }

  .about-banner-image {
    min-height: 640px;
    background-position: 54% center;
  }

  .about-introduction-section {
    margin-top: -134px;
    padding-bottom: 24px;
  }

  .about-introduction-wrap {
    padding: 0 45px;
  }

  .about-introduction-card {
    padding: 30px 28px;
  }

  body[data-page="about"] .section-padding {
    padding: 50px 0;
  }

  body[data-page="about"] .section-padding.pt-0 {
    padding-bottom: 50px;
  }

  body[data-page="about"] #about-mission-vision {
    padding-top: 28px;
  }

  body[data-page="about"] #about-what-we-do {
    padding-top: 28px;
  }

  body[data-page="about"] #about-approach {
    padding-top: 28px;
  }

  body[data-page="about"] #about-why-choose {
    padding-top: 28px !important;
  }

  body[data-page="about"] #about-why-choose .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-introduction-section {
    padding-bottom: 24px;
  }

  .about-theme-hero .row {
    min-height: calc(760px - 304px);
  }

  .hero-carousel-shell .carousel-item {
    min-height: 710px;
  }

  body[data-page="home"] .hero-carousel-shell {
    top: -34px;
  }

  body[data-page="home"] .carousel-progress-line {
    bottom: 64px;
    width: min(220px, calc(100% - 64px));
  }

  .hero-copy,
  #services .text-center,
  #solutions .text-center,
  #portfolio .text-center,
  #contact .text-center {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .hero-btns {
    justify-content: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  body[data-page="home"] .hero-content {
    padding-top: 158px;
  }

  body[data-page="home"] .hero-carousel-control.carousel-control-prev {
    left: 18px;
  }

  body[data-page="home"] .hero-carousel-control.carousel-control-next {
    right: 18px;
  }

  .footer-link-group {
    justify-content: center;
  }

  body[data-page="home"] .about-overview {
    margin-top: -15px;
  }

  .about-overview-grid,
  .about-values-grid,
  .page-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="services"] .services-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-home-story {
    grid-template-columns: 1fr;
  }

  .about-home-pillars {
    grid-template-columns: 1fr;
  }

  .about-home-notes {
    grid-template-columns: 1fr;
  }

  .home-section-shell {
    padding: 34px 30px 28px;
  }

  .service-carousel-card {
    min-height: 400px;
    padding: 46px;
  }

  .service-carousel-content {
    max-width: 100%;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dual-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 88px 0;
  }

  body[data-page="home"] .section-padding {
    padding: 34px 0 22px;
  }

  body[data-page="home"] #about-overview {
    padding-top: 56px;
    padding-bottom: 20px;
  }

  body[data-page="home"] .section-padding+.section-padding {
    padding-top: 14px;
  }

  body[data-page="home"] .section-padding.pt-0 {
    padding-top: 0 !important;
    padding-bottom: 28px;
  }

  .site-header {
    padding: 12px 10px 0;
  }

  .brand-logo {
    height: 44px;
  }

  .hero-section {
    padding: 96px 0 68px;
  }

  .home-hero {
    min-height: 650px;
    margin-top: -108px;
    padding: 178px 0 76px;
  }

  .about-theme-hero {
    min-height: 700px;
    margin-top: -88px;
    padding: 170px 0 84px;
  }

  .about-banner {
    margin-top: -100px;
  }

  .about-banner-image {
    min-height: 540px;
    background-position: 58% center;
  }

  .about-introduction-section {
    margin-top: -114px;
    padding-bottom: 20px;
  }

  .about-theme-hero .row {
    min-height: calc(700px - 254px);
  }

  .hero-carousel-shell .carousel-item {
    min-height: 650px;
  }

  body[data-page="home"] .hero-carousel-shell {
    top: -24px;
  }

  body[data-page="home"] .carousel-progress-line {
    bottom: 44px;
    width: min(190px, calc(100% - 46px));
  }

  .hero-panel,
  .contact-box,
  .cta-strip {
    padding: 24px;
  }

  .about-overview {
    margin-top: 0;
  }

  body[data-page="home"] .about-overview {
    margin-top: -15px;
  }

  body[data-page="about"] .section-padding {
    padding: 44px 0;
  }

  body[data-page="about"] .section-padding.pt-0 {
    padding-bottom: 44px;
  }

  body[data-page="about"] .section-heading {
    margin-bottom: 16px;
  }

  body[data-page="about"] #about-mission-vision {
    padding-top: 24px;
  }

  body[data-page="about"] #about-what-we-do {
    padding-top: 24px;
  }

  body[data-page="about"] #about-approach {
    padding-top: 24px;
  }

  body[data-page="about"] #about-why-choose {
    padding-top: 24px !important;
  }

  body[data-page="about"] #about-why-choose .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-introduction-section {
    padding-bottom: 20px;
  }

  body[data-page="home"] .hero-content {
    padding-top: 146px;
  }

  body[data-page="home"] .hero-content h1,
  body[data-page="home"] .hero-content p {
    padding-left: 0;
  }

  body[data-page="home"] .hero-carousel-control {
    top: auto;
    bottom: 122px;
    transform: none;
  }

  body[data-page="home"] .hero-carousel-control.carousel-control-prev {
    left: 22px;
  }

  body[data-page="home"] .hero-carousel-control.carousel-control-next {
    right: 22px;
  }

  body[data-page="home"] .hero-carousel-control .carousel-control-prev-icon,
  body[data-page="home"] .hero-carousel-control .carousel-control-next-icon {
    width: 46px;
    height: 46px;
  }

  .about-home-signature {
    margin-top: 18px;
  }

  .home-section-shell {
    padding: 28px 22px 24px;
    border-radius: 28px;
  }

  .service-carousel-section {
    margin-top: 0;
    padding-bottom: 12px;
  }

  .service-carousel-card {
    min-height: 360px;
    padding: 28px 20px 64px;
  }

  .service-carousel-content {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .service-carousel .carousel-control-prev {
    left: 14px;
  }

  .service-carousel .carousel-control-next {
    right: 14px;
  }

  .about-overview-grid,
  .about-values-grid,
  .about-process-grid,
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="services"] .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .about-home-visual {
    min-height: 230px;
    padding: 24px;
  }

  .about-hero-card,
  .about-belief-card {
    padding: 26px 22px;
  }

  .about-story-visual {
    padding: 0 0 36px;
  }

  .about-story-note {
    position: static;
    max-width: none;
    margin-top: 18px;
  }

  .about-image-panel {
    min-height: 320px;
    padding: 24px;
  }

  .about-image-badge {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .about-process-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .solution-box,
  .stat-card {
    padding: 26px 22px;
  }

  .portfolio-card .content,
  .detail-band {
    padding: 24px 22px;
  }
}

@media (max-width: 575.98px) {
  .about-banner-image {
    min-height: 430px;
    background-position: 60% center;
  }

  .about-introduction-section {
    margin-top: -94px;
    padding-bottom: 18px;
  }

  .about-introduction-wrap {
    padding: 0 35px;
  }

  .about-introduction-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .about-introduction-card p {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .about-banner-copy {
    max-width: 100%;
    padding-top: 164px;
    text-align: center;
  }

  .about-banner-kicker {
    justify-content: center;
  }

  .about-banner-title {
    justify-content: center;
  }

  .about-banner-accent {
    margin-left: auto;
    margin-right: auto;
  }

  .about-theme-hero {
    padding: 164px 0 78px;
  }

  .about-theme-hero .row {
    min-height: auto;
  }

  body[data-page="about"] .section-padding {
    padding: 38px 0;
  }

  body[data-page="about"] .section-padding.pt-0 {
    padding-bottom: 38px;
  }

  body[data-page="about"] .section-heading {
    margin-bottom: 14px;
  }

  body[data-page="about"] #about-mission-vision {
    padding-top: 20px;
  }

  body[data-page="about"] #about-what-we-do {
    padding-top: 20px;
  }

  body[data-page="about"] #about-approach {
    padding-top: 20px;
  }

  body[data-page="about"] #about-why-choose {
    padding-top: 20px !important;
  }

  .about-introduction-section {
    padding-bottom: 18px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  body[data-page="home"] .carousel-progress-line {
    bottom: 36px;
    width: min(170px, calc(100% - 38px));
  }

  .site-header {
    padding: 10px 8px 0;
  }

  .brand-logo-wrap {
    padding: 6px 10px;
  }

  .brand-logo {
    height: 36px;
  }

  .home-hero {
    min-height: 460px;
    margin-top: -96px;
  }

  .hero-carousel-shell .carousel-item {
    min-height: 460px;
  }

  body[data-page="home"] .hero-carousel-shell {
    top: -32px;
  }

  body[data-page="home"] .hero-content {
    padding-top: 140px;
  }

  .hero-actions,
  .hero-btns {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-btns a,
  .nav-actions {
    width: 100%;
  }

  body[data-page="home"] .hero-carousel-control {
    bottom: 92px;
  }

  .nav-actions {
    justify-content: center;
  }

  .social-list {
    width: 100%;
    justify-content: center;
  }

  .service-carousel-tags {
    flex-direction: column;
  }

  .service-carousel-tags span {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   HOME CONTENT SECTIONS — MODERN REDESIGN
   =================================================================== */

/* Top accent bar on the overview shells */
body[data-page="home"] .home-section-accented {
  padding-top: 52px;
}

body[data-page="home"] .home-section-accented::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-deep) 50%, var(--brand-green));
}

body[data-page="home"] .home-section-accented--green::after {
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue-deep) 50%, var(--brand-blue));
}

/* ---- Pillar grid (icon cards) ---- */
.home-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px auto 0;
  max-width: 900px;
}

.home-pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 14px 22px;
  border: 1px solid var(--brand-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(8, 17, 32, 0.05);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  cursor: default;
}

.home-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 92, 211, 0.18);
  box-shadow: 0 16px 38px rgba(8, 17, 32, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(232, 244, 255, 0.98)),
    rgba(255, 255, 255, 1);
}

.home-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.1), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 1.38rem;
  transition: transform var(--transition), background var(--transition);
}

.home-pillar-card:hover .home-pillar-icon {
  transform: scale(1.1) rotate(-4deg);
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.17), rgba(68, 182, 120, 0.2));
}

.home-pillar-card span {
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
}

/* Solutions variant — green-accented icons */
.home-pillar-grid--solutions .home-pillar-icon {
  background: linear-gradient(135deg, rgba(68, 182, 120, 0.11), rgba(23, 92, 211, 0.09));
  color: #0c6e44;
}

.home-pillar-grid--solutions .home-pillar-card:hover .home-pillar-icon {
  background: linear-gradient(135deg, rgba(68, 182, 120, 0.2), rgba(23, 92, 211, 0.14));
}

/* ---- CTA spotlight decoration ---- */
.home-cta-deco {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

/* Ensure text/buttons stay above the deco element */
body[data-page="home"] .home-cta-spotlight h2,
body[data-page="home"] .home-cta-spotlight p,
body[data-page="home"] .home-cta-spotlight .hero-btns {
  position: relative;
  z-index: 1;
}

/* ---- Responsive — pillar grid ---- */
@media (max-width: 991.98px) {
  .home-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    gap: 14px;
  }

  body[data-page="home"] .home-section-accented {
    padding-top: 44px;
  }
}

@media (max-width: 575.98px) {
  .home-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 12px;
  }

  .home-pillar-card {
    padding: 20px 12px 18px;
    gap: 10px;
    border-radius: 18px;
  }

  .home-pillar-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 1.15rem;
  }

  .home-pillar-card span {
    font-size: 0.82rem;
  }

  .home-cta-deco {
    font-size: 9rem;
  }
}

/* ===================================================================
   HOME FULL-DETAIL REDESIGN — About, Services, Solutions
   =================================================================== */

/* ---------- Company Overview: 2-column split ---------- */

.home-about-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: center;
}

body[data-page="home"] #company-overview .section-title {
  font-size: clamp(1.65rem, 1.8vw + 0.9rem, 2.6rem);
}

body[data-page="home"] #company-overview .section-subtitle {
  max-width: 100%;
}

.home-about-attrs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-about-attr {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--brand-line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96));
  box-shadow: 0 2px 12px rgba(8, 17, 32, 0.05);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.home-about-attr:hover {
  transform: translateX(5px);
  border-color: rgba(23, 92, 211, 0.16);
  box-shadow: 0 8px 24px rgba(8, 17, 32, 0.08);
}

.home-about-attr-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.1), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 1.15rem;
  transition: transform var(--transition);
}

.home-about-attr:hover .home-about-attr-icon {
  transform: scale(1.1) rotate(-3deg);
}

.home-about-attr-body strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-dark);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-about-attr-body p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.875rem;
  line-height: 1.62;
}

/* ---------- Services Snapshot: 3-column card grid ---------- */

body[data-page="home"] #services-overview .home-section-intro,
body[data-page="home"] #solutions-overview .home-section-intro {
  max-width: 860px;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

/* Center the 7th card when alone in row 3 of a 3-col grid */
body[data-page="home"] #services-overview .home-service-card:nth-child(7):last-child {
  grid-column: 2;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px 20px;
  border: 1px solid var(--brand-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 12px rgba(8, 17, 32, 0.05);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  cursor: default;
}

.home-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 92, 211, 0.16);
  box-shadow: 0 14px 34px rgba(8, 17, 32, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(232, 244, 255, 0.98)),
    rgba(255, 255, 255, 1);
}

.home-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.1), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 1.25rem;
  margin-bottom: 2px;
  transition: transform var(--transition), background var(--transition);
}

.home-service-card:hover .home-service-icon {
  transform: scale(1.1) rotate(-4deg);
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.17), rgba(68, 182, 120, 0.18));
}

.home-service-card strong {
  display: block;
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.home-service-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ---------- Solutions Snapshot: 3-column card grid ---------- */

.home-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.home-solution-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px 20px;
  border: 1px solid var(--brand-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 12px rgba(8, 17, 32, 0.05);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  cursor: default;
}

.home-solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(68, 182, 120, 0.22);
  box-shadow: 0 14px 34px rgba(8, 17, 32, 0.09);
}

.home-solution-kicker {
  color: var(--brand-muted);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}

.home-solution-card h4 {
  margin: 0;
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.home-solution-card>p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
}

.home-solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

.home-solution-tags span {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(68, 182, 120, 0.1);
  color: #0c6e44;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background var(--transition);
}

.home-solution-card:hover .home-solution-tags span {
  background: rgba(68, 182, 120, 0.17);
}

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
  .home-about-layout {
    grid-template-columns: 1fr 340px;
    gap: 40px;
  }
}

@media (max-width: 991.98px) {
  .home-about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-about-attrs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .home-about-attr {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .home-services-grid,
  .home-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] #services-overview .home-service-card:nth-child(7):last-child {
    grid-column: auto;
  }
}

@media (max-width: 767.98px) {
  .home-about-attrs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-about-attr {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
  }
}

@media (max-width: 575.98px) {

  .home-services-grid,
  .home-solutions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-service-card,
  .home-solution-card {
    border-radius: 18px;
  }
}

/* ===================================================================
   HOME PAGE  (hp-* namespace)
   =================================================================== */

.hp-section {
  position: relative;
}

/* ---- Shared section intro block (centred heading + sub) ---- */
.hp-sec-intro {
  max-width: 720px;
  margin: 0 auto 22px;
}

.hp-sec-intro .section-subtitle {
  margin-bottom: 0;
}

.hp-sec-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2vw + 0.8rem, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--brand-dark);
  margin: 6px 0 16px;
}

.hp-sec-sub {
  color: var(--brand-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin: 0;
}

.hp-sec-action {
  margin-top: 40px;
}

/* ===================================================================
   SECTION 1 — WHY TVANYA  (3 numbered feature cards)
   =================================================================== */
.hp-section--features {
  padding: 80px 0 88px;
  background: #ffffff;
}

.hp-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hp-feat-card {
  position: relative;
  overflow: hidden;
  padding: 36px 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.hp-feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 92, 211, 0.14);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

/* Decorative large background number */
.hp-feat-number {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
  color: rgba(23, 92, 211, 0.07);
  user-select: none;
  pointer-events: none;
  transition: color var(--transition);
}

.hp-feat-card:hover .hp-feat-number {
  color: rgba(23, 92, 211, 0.12);
}

.hp-feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.1), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: transform var(--transition), background var(--transition);
}

.hp-feat-card:hover .hp-feat-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.16), rgba(68, 182, 120, 0.2));
}

.hp-feat-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  line-height: 1.28;
}

.hp-feat-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ===================================================================
   SECTION 2 — ABOUT  (2-col: copy left, audience cards right)
   =================================================================== */
.hp-section--about {
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(23, 92, 211, 0.03), rgba(68, 182, 120, 0.035)),
    #f8fbff;
}

.hp-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hp-about-copy .eyebrow {
  margin-bottom: 12px;
}

.hp-about-copy .hp-sec-heading {
  margin-bottom: 20px;
}

.hp-about-copy p {
  color: var(--brand-muted);
  font-size: 1rem;
  line-height: 1.82;
  margin: 0 0 18px;
}

.hp-about-copy .btn {
  margin-top: 8px;
}

/* Photo column — right side */
.hp-about-img-col {
  display: flex;
  align-items: center;
}

.hp-about-img-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(8, 17, 32, 0.18), 0 4px 16px rgba(8, 17, 32, 0.08);
  aspect-ratio: 4 / 3;
}

.hp-about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hp-about-img-wrap:hover .hp-about-img {
  transform: scale(1.03);
}

.hp-about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(8, 17, 32, 0.14);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: -0.01em;
}

.hp-about-img-badge i {
  color: var(--brand-green);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ===================================================================
   SECTION 3 — SERVICES  (4-col card grid)
   =================================================================== */
.hp-section--services {
  padding: 80px 0 88px;
  background: #ffffff;
}

.hp-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.hp-svc-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.hp-svc-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.hp-svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 92, 211, 0.12);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.hp-svc-card:hover::after {
  opacity: 1;
}

/* SVG illustration header */
.hp-svc-illus {
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: #f4f8ff;
  transition: transform 0.5s ease;
}

.hp-svc-illus img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.hp-svc-card:hover .hp-svc-illus img {
  transform: scale(1.04);
}

/* Text content beneath the illustration */
.hp-svc-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hp-svc-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
  line-height: 1.3;
}

.hp-svc-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 0.875rem;
  line-height: 1.68;
}

/* ===================================================================
   CTA SECTION  (shared .cta-strip card on soft bg)
   =================================================================== */
.hp-section--cta {
  padding: 58px 0;
  background: var(--brand-soft);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width: 1199.98px) {
  .hp-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {

  .hp-section--features,
  .hp-section--about,
  .hp-section--services,
  .hp-section--cta {
    padding: 64px 0 72px;
  }

  .hp-about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hp-about-img-wrap {
    aspect-ratio: 16 / 9;
  }

  .hp-svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .hp-feat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-svc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hp-feat-number {
    font-size: 4rem;
  }
}

@media (max-width: 575.98px) {

  .hp-section--features,
  .hp-section--about,
  .hp-section--services,
  .hp-section--cta {
    padding: 52px 0 60px;
  }

  .hp-feat-card {
    padding: 26px 22px 22px;
    border-radius: var(--radius-sm);
  }

  .hp-about-img-badge {
    font-size: 0.8rem;
    padding: 8px 14px;
    bottom: 14px;
    left: 14px;
  }
}

/* ================================================================
   THEME TOGGLE BUTTON
   ================================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1.5px solid rgba(20, 38, 63, 0.12);
  background: rgba(23, 92, 211, 0.04);
  color: var(--brand-blue-deep);
  cursor: pointer;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.theme-toggle:hover {
  background: rgba(23, 92, 211, 0.1);
  color: var(--brand-blue);
  border-color: rgba(23, 92, 211, 0.28);
  transform: rotate(16deg) scale(1.06);
  box-shadow: 0 2px 12px rgba(23, 92, 211, 0.15);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(23, 92, 211, 0.4);
  outline-offset: 2px;
}

/* ================================================================
   DARK MODE SYSTEM
   Applied via [data-theme="dark"] on <html>.
   Anti-FOUC: inline <script> in <head> reads localStorage and
   sets the attribute before CSS paints.
   ================================================================ */

.is-theme-switching,
.is-theme-switching * {
  transition:
    background-color 0.3s ease,
    background 0.3s ease,
    color 0.24s ease,
    border-color 0.28s ease !important;
}

/* ---- 1. CSS variable overrides ---- */
[data-theme="dark"] {
  color-scheme: dark;
  --brand-soft: #0f1928;
  --brand-line: rgba(255, 255, 255, 0.072);
  --brand-ink: #dde6f0;
  --brand-muted: #8a9bb0;
  --brand-dark: #eaf0f8;
  --brand-dark-soft: #1a2840;
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.26), 0 4px 16px rgba(0, 0, 0, 0.32);
  --shadow-strong: 0 2px 8px rgba(0, 0, 0, 0.30), 0 8px 32px rgba(0, 0, 0, 0.44);
}

/* ---- 2. Base ---- */
[data-theme="dark"] body {
  background: #0e1421;
  color: var(--brand-ink);
}

/* ---- 3. Navbar ---- */
[data-theme="dark"] .main-navbar {
  background: rgba(14, 20, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.28),
    0 8px 32px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .site-header.scrolled .main-navbar {
  background: rgba(10, 14, 26, 0.98);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.32),
    0 16px 52px rgba(0, 0, 0, 0.50);
}

[data-theme="dark"] .navbar-nav .nav-link {
  color: #c4d4e8;
}

[data-theme="dark"] .navbar-nav .nav-link:hover {
  color: #6aa5f8;
  background: rgba(23, 92, 211, 0.12);
}

[data-theme="dark"] .navbar-nav .nav-link.active {
  color: #6aa5f8 !important;
  background-image: linear-gradient(#6aa5f8, #6aa5f8);
}

[data-theme="dark"] .navbar-nav .nav-link.active:hover,
[data-theme="dark"] .navbar-nav .nav-link.active:focus {
  color: #6aa5f8 !important;
  background: rgba(23, 92, 211, 0.12);
  background-image: linear-gradient(#6aa5f8, #6aa5f8);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: calc(100% - 28px) 2px;
}

[data-theme="dark"] .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #c4d4e8;
}

[data-theme="dark"] .navbar-toggler:hover,
[data-theme="dark"] .navbar-toggler:active {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e0ecff;
}

[data-theme="dark"] .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(106, 165, 248, 0.2);
  color: #c4d4e8;
}

[data-theme="dark"] .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%28196, 212, 232, 0.88%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  filter: none;
}

[data-theme="dark"] .navbar-collapse-panel {
  background: #0e1421;
}

@media (max-width: 991.98px) {
  [data-theme="dark"] .navbar-collapse-panel {
    border-color: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.56) !important;
  }
}

/* ---- 4. Dropdown ---- */
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .nav-dropdown-menu {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: 0 12px 52px rgba(0, 0, 0, 0.52);
}

[data-theme="dark"] .dropdown-item {
  color: #c4d4e8;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
  background: rgba(23, 92, 211, 0.16);
  color: #6aa5f8;
}

[data-theme="dark"] .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .dropdown-header {
  color: #6aa5f8;
}

/* ---- 5. Social icons, social list & theme toggle ---- */
[data-theme="dark"] .social-list {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 18px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .social-icon {
  color: #a0b8d0;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 12px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .social-icon:hover,
[data-theme="dark"] .social-icon:focus {
  color: #6aa5f8;
  border-color: rgba(106, 165, 248, 0.32);
  background: rgba(23, 92, 211, 0.18);
  box-shadow: 0 8px 20px rgba(23, 92, 211, 0.22);
}

[data-theme="dark"] .brand-logo-wrap {
  background:
    linear-gradient(135deg, rgba(18, 28, 48, 0.96), rgba(22, 34, 54, 0.94)) padding-box,
    linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-green) 100%) border-box;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .site-header.scrolled .brand-logo-wrap {
  background: rgba(18, 28, 48, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  color: #a0b4cc;
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #e0ecff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: rotate(-16deg) scale(1.06);
  box-shadow: 0 2px 12px rgba(106, 165, 248, 0.18);
}

/* ---- 6. Headings ---- */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .section-title,
[data-theme="dark"] .hp-sec-heading {
  color: #eaf0f8;
}

[data-theme="dark"] .cta-strip h2,
[data-theme="dark"] .hero-copy h1 {
  color: #ffffff;
}

/* ---- 7. Body text ---- */
[data-theme="dark"] p {
  color: var(--brand-muted);
}

[data-theme="dark"] .section-subtitle,
[data-theme="dark"] .hp-sec-sub,
[data-theme="dark"] .hp-feat-card p,
[data-theme="dark"] .hp-svc-body p,
[data-theme="dark"] .hp-about-copy p {
  color: #8a9bb0;
}

[data-theme="dark"] .cta-strip p,
[data-theme="dark"] .hero-copy p,
[data-theme="dark"] .hero-lead,
[data-theme="dark"] .hero-slide-description {
  color: inherit;
}

/* ---- 8. Section backgrounds ---- */
[data-theme="dark"] .hp-section--features,
[data-theme="dark"] .hp-section--services,
[data-theme="dark"] .hp-section--solutions,
[data-theme="dark"] .hp-section--tech {
  background: #0e1421;
}

[data-theme="dark"] .hp-section--about,
[data-theme="dark"] .hp-section--process {
  background: #0f1928;
}

[data-theme="dark"] .hp-section--cta {
  background: #0f1928;
}

[data-theme="dark"] .section-padding {
  background: #0e1421;
}

[data-theme="dark"] .section-soft {
  background: #0f1928;
}

/* ---- 9. Home feature & service cards ---- */
[data-theme="dark"] .hp-feat-card {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

[data-theme="dark"] .hp-feat-card:hover {
  border-color: rgba(23, 92, 211, 0.30);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.44);
}

[data-theme="dark"] .hp-feat-number {
  color: rgba(255, 255, 255, 0.038);
}

[data-theme="dark"] .hp-feat-icon {
  background: rgba(23, 92, 211, 0.18);
}

[data-theme="dark"] .hp-feat-card h3 {
  color: #eaf0f8;
}

[data-theme="dark"] .hp-svc-card {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

[data-theme="dark"] .hp-svc-illus {
  background: #1a2840;
}

[data-theme="dark"] .hp-about-img-badge {
  background: rgba(12, 18, 32, 0.96);
  color: #eaf0f8;
}

[data-theme="dark"] .home-pillar-card {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.07);
}

/* ---- 10. About page cards ---- */
[data-theme="dark"] .about-box,
[data-theme="dark"] .about-overview-card,
[data-theme="dark"] .about-story-card,
[data-theme="dark"] .about-story-note,
[data-theme="dark"] .about-value-card,
[data-theme="dark"] .about-process-card,
[data-theme="dark"] .about-hero-card,
[data-theme="dark"] .about-introduction-card,
[data-theme="dark"] .detail-band {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
  color: var(--brand-ink);
}

[data-theme="dark"] .about-belief-card-primary {
  background: rgba(23, 92, 211, 0.18);
  border-color: rgba(23, 92, 211, 0.28);
}

[data-theme="dark"] .about-step {
  background: rgba(23, 92, 211, 0.18);
  color: #6aa5f8;
}

[data-theme="dark"] .detail-kicker {
  color: #6aa5f8;
}

/* ---- 11. Services & contact page ---- */
[data-theme="dark"] .service-card,
[data-theme="dark"] .solution-box,
[data-theme="dark"] .contact-box {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .solution-box:hover {
  border-color: rgba(23, 92, 211, 0.28);
}

[data-theme="dark"] .contact-info-link {
  color: #6aa5f8;
}

[data-theme="dark"] .contact-info-item {
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .contact-info-icon {
  color: #6aa5f8;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.22), rgba(68, 182, 120, 0.28));
}

/* ---- 12. Forms ---- */
[data-theme="dark"] .form-label {
  color: #c4d4e8;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #dde6f0;
}

[data-theme="dark"] .form-control::placeholder {
  color: rgba(138, 155, 176, 0.6);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background: #1a2840;
  border-color: rgba(23, 92, 211, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(23, 92, 211, 0.18);
  color: #dde6f0;
}

[data-theme="dark"] .form-select option {
  background: #141e2e;
  color: #dde6f0;
}

[data-theme="dark"] .alert-success {
  background: rgba(68, 182, 120, 0.12);
  border-color: rgba(68, 182, 120, 0.3);
  color: #44b678;
}

[data-theme="dark"] .alert-danger {
  background: rgba(220, 53, 69, 0.12);
  border-color: rgba(220, 53, 69, 0.3);
  color: #e07081;
}

[data-theme="dark"] .alert .btn-close {
  filter: invert(1) grayscale(100%) brightness(1.8);
}

/* ---- 13. Footer ---- */
[data-theme="dark"] .footer {
  background: #080e1a;
  border-top-color: rgba(255, 255, 255, 0.06);
  color: #8a9bb0;
}

[data-theme="dark"] .footer a {
  color: #8a9bb0;
}

[data-theme="dark"] .footer a:hover {
  color: #6aa5f8;
}

[data-theme="dark"] .footer-nav {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* ---- 14. Misc utilities ---- */
[data-theme="dark"] .eyebrow {
  color: #6aa5f8;
}

[data-theme="dark"] .eyebrow::before {
  background: #6aa5f8;
}

[data-theme="dark"] .back-to-top {
  --scroll-progress-ring: #6aa5f8;
  --scroll-progress-track: rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(135deg, #1a2840, #192538) padding-box,
    conic-gradient(var(--scroll-progress-ring) var(--scroll-progress),
      var(--scroll-progress-track) 0) border-box;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #c4d4e8;
}

[data-theme="dark"] .back-to-top:hover,
[data-theme="dark"] .back-to-top:focus,
[data-theme="dark"] .back-to-top:focus-visible {
  --scroll-progress-ring: #ffffff;
  --scroll-progress-track: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, var(--brand-blue), var(--brand-green)) padding-box,
    conic-gradient(var(--scroll-progress-ring) var(--scroll-progress),
      var(--scroll-progress-track) 0) border-box;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(23, 92, 211, 0.36);
}

/* ---- 15. Home new sections ---- */
[data-theme="dark"] .hp-section--stats {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.08), rgba(68, 182, 120, 0.05));
  border-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .hp-stat {
  border-right-color: rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .hp-stat-value {
  background: linear-gradient(135deg, #6aa5f8, #4ae89a);
  -webkit-background-clip: text;
  background-clip: text;
}

[data-theme="dark"] .hp-how-step {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

[data-theme="dark"] .hp-how-step h3 {
  color: #eaf0f8;
}

[data-theme="dark"] .hp-how-num {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.25), rgba(68, 182, 120, 0.2));
  color: #6aa5f8;
}

[data-theme="dark"] .hp-tech-tag {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #c4d4e8;
}

[data-theme="dark"] .hp-tech-tag:hover {
  background: rgba(23, 92, 211, 0.18);
  border-color: rgba(23, 92, 211, 0.3);
  color: #6aa5f8;
}

[data-theme="dark"] .hp-tech-cat {
  color: #6a7f97;
}

[data-theme="dark"] .hp-tech-row {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hp-feat-link {
  color: #6aa5f8;
}

[data-theme="dark"] .hp-feat-link:hover {
  color: #8abcff;
}

/* ================================================================
   HOME PAGE — NEW SECTIONS
   Stats Strip, Solutions (4-col), How We Work, Tech Expertise
   ================================================================ */

/* ---- Stats Strip ---- */
.hp-section--stats {
  padding: 0;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.03), rgba(68, 182, 120, 0.025));
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
}

.hp-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid var(--brand-line);
}

.hp-stat:last-child {
  border-right: none;
}

.hp-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-stat-desc {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brand-muted);
  letter-spacing: 0.01em;
}

/* ---- Solutions (4-col feat cards) ---- */
.hp-section--solutions {
  padding: 80px 0 88px;
  background: #ffffff;
}

.hp-sol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.hp-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap var(--transition), color var(--transition);
}

.hp-feat-link:hover {
  gap: 9px;
  color: var(--brand-blue-deep);
  text-decoration: none;
}

.hp-feat-link i {
  font-size: 0.8rem;
  transition: transform var(--transition);
}

.hp-feat-link:hover i {
  transform: translateX(3px);
}

/* ---- How We Work ---- */
.hp-section--process {
  padding: 58px 0;
  background: linear-gradient(180deg, #f4f8ff 0%, rgba(244, 248, 255, 0.5) 100%);
}

.hp-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.hp-how-step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hp-how-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.hp-how-step::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

.hp-how-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.hp-how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.1), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.hp-how-step h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.hp-how-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--brand-muted);
  line-height: 1.78;
}

/* ---- Technology Expertise ---- */
.hp-section--tech {
  padding: 80px 0 88px;
  background: #ffffff;
}

.hp-tech-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hp-tech-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--brand-line);
}

.hp-tech-row:last-child {
  border-bottom: none;
}

.hp-tech-cat {
  flex-shrink: 0;
  width: 100px;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--brand-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding-top: 6px;
}

.hp-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.hp-tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: default;
}

.hp-tech-tag:hover {
  background: rgba(23, 92, 211, 0.07);
  border-color: rgba(23, 92, 211, 0.2);
  color: var(--brand-blue);
}

/* ================================================================
   HOME NEW SECTIONS — RESPONSIVE
   ================================================================ */
@media (max-width: 1199.98px) {

  .hp-section--process,
  .hp-section--challenges,
  .hp-section--outcomes,
  .hp-section--industries {
    padding: 50px 0;
  }

  .hp-section--challenges+.hp-section--outcomes {
    padding-top: 16px;
  }
}

@media (max-width: 991.98px) {

  .hp-section--process,
  .hp-section--challenges,
  .hp-section--outcomes,
  .hp-section--industries {
    padding: 44px 0;
  }

  .hp-section--challenges+.hp-section--outcomes {
    padding-top: 12px;
  }

  .hp-how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hp-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-stat {
    border-right: none;
    border-bottom: 1px solid var(--brand-line);
  }

  .hp-stat:nth-child(odd) {
    border-right: 1px solid var(--brand-line);
  }

  .hp-stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 767.98px) {
  .hp-how-grid {
    grid-template-columns: 1fr;
  }

  .hp-stat-value {
    font-size: 2.1rem;
  }
}

@media (max-width: 575.98px) {

  .hp-section--process,
  .hp-section--challenges,
  .hp-section--outcomes,
  .hp-section--industries {
    padding: 36px 0;
  }

  .hp-section--challenges+.hp-section--outcomes {
    padding-top: 8px;
  }

  .hp-stat {
    padding: 24px 16px;
  }

  .hp-stat-value {
    font-size: 1.9rem;
  }

  .hp-how-step {
    padding: 26px 20px;
    border-radius: var(--radius-sm);
  }
}

/* ================================================================
   OUTCOMES SECTION
   ================================================================ */

.hp-section--outcomes {
  padding: 58px 0;
  background: var(--brand-soft);
}

/* Tighten the gap when Outcomes immediately follows Challenges
   (same soft background — default 58+58 = 116px looks like dead space) */
.hp-section--challenges+.hp-section--outcomes {
  padding-top: 20px;
  border-top: 1px solid rgba(20, 38, 63, 0.055);
}

[data-theme="dark"] .hp-section--challenges+.hp-section--outcomes {
  border-top-color: rgba(255, 255, 255, 0.055);
}

.hp-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 0;
}

.hp-outcome-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.hp-outcome-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.hp-outcome-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.10), rgba(68, 182, 120, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.hp-outcome-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.35;
}

.hp-outcome-card p {
  font-size: 0.92rem;
  color: var(--brand-muted);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   INDUSTRIES SECTION
   ================================================================ */

.hp-section--industries {
  padding: 58px 0;
  background: #fff;
}

.hp-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 0;
}

.hp-industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: default;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.hp-industry-item:hover {
  background: rgba(23, 92, 211, 0.05);
  border-color: rgba(23, 92, 211, 0.18);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
  transform: translateY(-6px);
}

.hp-industry-item i {
  font-size: 2rem;
  color: var(--brand-blue);
  transition: transform var(--transition);
}

.hp-industry-item:hover i {
  transform: scale(1.12);
}

.hp-industry-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  line-height: 1.35;
}

.hp-industry-item small {
  font-size: 0.78rem;
  color: var(--brand-muted);
  line-height: 1.4;
  text-align: center;
}

/* ---- Dark mode: Outcomes ---- */
[data-theme="dark"] .hp-section--outcomes {
  background: var(--brand-soft);
}

[data-theme="dark"] .hp-outcome-card {
  background: var(--brand-dark-soft);
  border-color: var(--brand-line);
}

[data-theme="dark"] .hp-outcome-card:hover {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
}

[data-theme="dark"] .hp-outcome-icon {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.18), rgba(23, 92, 211, 0.28));
}

[data-theme="dark"] .hp-outcome-card h3 {
  color: var(--brand-dark);
}

[data-theme="dark"] .hp-outcome-card p {
  color: var(--brand-muted);
}

/* ---- Dark mode: Industries ---- */
[data-theme="dark"] .hp-section--industries {
  background: #0e1421;
}

[data-theme="dark"] .hp-industry-item {
  background: var(--brand-dark-soft);
  border-color: var(--brand-line);
}

[data-theme="dark"] .hp-industry-item:hover {
  background: rgba(23, 92, 211, 0.14);
  border-color: rgba(23, 92, 211, 0.32);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] .hp-industry-item span {
  color: var(--brand-dark);
}

[data-theme="dark"] .hp-industry-item small {
  color: var(--brand-muted);
}

/* ---- Responsive: Outcomes & Industries ---- */
@media (max-width: 1199.98px) {
  .hp-outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .hp-industry-grid {
    gap: 12px;
  }
}

@media (max-width: 767.98px) {
  .hp-outcome-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hp-outcome-card {
    padding: 24px 20px;
  }
}

@media (max-width: 575.98px) {
  .hp-industry-grid {
    grid-template-columns: 1fr;
  }

  .hp-industry-item {
    padding: 22px 16px;
    gap: 10px;
  }

  .hp-industry-item i {
    font-size: 1.7rem;
  }

  .hp-industry-item span {
    font-size: 0.82rem;
  }
}

/* ================================================================
   WHAT WE SOLVE — CHALLENGES SECTION
   ================================================================ */

.hp-section--challenges {
  padding: 58px 0;
  background: var(--brand-soft);
}

.hp-challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 0;
}

.hp-challenge-card {
  display: flex;
  gap: 24px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.hp-challenge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(8, 17, 32, 0.12);
}

.hp-challenge-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.10), rgba(68, 182, 120, 0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.hp-challenge-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-challenge-body h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
  line-height: 1.35;
}

.hp-challenge-body p {
  font-size: 0.92rem;
  color: var(--brand-muted);
  line-height: 1.72;
  margin: 0;
}

.hp-challenge-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap var(--transition), color var(--transition);
}

.hp-challenge-link:hover {
  gap: 9px;
  color: var(--brand-blue-deep);
}

.hp-challenge-link i {
  font-size: 0.82rem;
  transition: transform var(--transition);
}

.hp-challenge-link:hover i {
  transform: translateX(3px);
}

/* ---- Dark mode: Challenges ---- */
[data-theme="dark"] .hp-section--challenges {
  background: #0e1421;
}

[data-theme="dark"] .hp-challenge-card {
  background: var(--brand-dark-soft);
  border-color: var(--brand-line);
}

[data-theme="dark"] .hp-challenge-card:hover {
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
}

[data-theme="dark"] .hp-challenge-icon {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.20), rgba(23, 92, 211, 0.32));
}

[data-theme="dark"] .hp-challenge-body h3 {
  color: var(--brand-dark);
}

[data-theme="dark"] .hp-challenge-body p {
  color: var(--brand-muted);
}

/* ---- Responsive: Challenges ---- */
@media (max-width: 991.98px) {
  .hp-challenge-card {
    padding: 26px 22px;
    gap: 18px;
  }
}

@media (max-width: 767.98px) {
  .hp-challenges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 575.98px) {
  .hp-challenge-card {
    flex-direction: column;
    gap: 16px;
    padding: 26px 22px;
  }

  .hp-challenge-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    font-size: 1.25rem;
  }
}

/* ================================================================
   HOME PAGE — ABOUT BRIEF SECTION
   ================================================================ */

/* Section-title size match with About page */
body[data-page="home"] .section-title {
  font-size: clamp(1.82rem, 1.12vw + 1.06rem, 2.52rem);
}

/* Card h3 typography consistency */
.hp-how-step h3,
.hp-challenge-body h3,
.hp-outcome-card h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

/* ---- About Brief ---- */
.hp-section--about-brief {
  padding: 58px 0;
  background: #ffffff;
}

.hp-about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hp-about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hp-about-copy .eyebrow {
  margin-bottom: 0;
}

.hp-about-copy .section-title {
  margin-bottom: 0;
}

.hp-about-copy p {
  margin: 0;
  font-size: 1rem;
  color: var(--brand-muted);
  line-height: 1.8;
  max-width: 480px;
}

.hp-about-highlights {
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  background: #ffffff;
}

.hp-about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--brand-line);
  transition: background var(--transition);
}

.hp-about-highlight:last-child {
  border-bottom: none;
}

.hp-about-highlight:hover {
  background: var(--brand-soft);
}

.hp-about-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.10), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hp-about-highlight-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hp-about-highlight-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}

.hp-about-highlight-text span {
  font-size: 0.88rem;
  color: var(--brand-muted);
  line-height: 1.65;
}

/* ---- Dark mode: About Brief ---- */
[data-theme="dark"] .hp-section--about-brief {
  background: var(--brand-dark-surface, #0f1623);
}

[data-theme="dark"] .hp-about-highlights {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

[data-theme="dark"] .hp-about-highlight {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .hp-about-highlight:hover {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .hp-about-highlight-icon {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.25), rgba(68, 182, 120, 0.2));
  color: #6aa5f8;
}

[data-theme="dark"] .hp-about-highlight-text strong {
  color: #eaf0f8;
}

[data-theme="dark"] .hp-about-highlight-text span {
  color: #8a9ab0;
}

[data-theme="dark"] .hp-about-copy p {
  color: #8a9ab0;
}

/* ---- Responsive: About Brief ---- */
@media (max-width: 1199.98px) {
  .hp-section--about-brief {
    padding: 50px 0;
  }

  .hp-about-wrap {
    gap: 40px;
  }
}

@media (max-width: 991.98px) {
  .hp-section--about-brief {
    padding: 44px 0;
  }

  .hp-about-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hp-about-copy p {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hp-section--about-brief {
    padding: 36px 0;
  }

  .hp-about-wrap {
    gap: 28px;
  }

  .hp-about-highlight {
    padding: 18px 18px;
    gap: 14px;
  }

  .hp-about-highlight-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }
}

/* ---- Responsive: How We Work step header ---- */
@media (max-width: 575.98px) {
  .hp-how-step-header {
    gap: 12px;
  }
}

/* ================================================================
   HOME PAGE — HEADING CONSISTENCY (matches About page pill style)
   ================================================================ */

/* Pill-shaped eyebrow for centered section headings */
body[data-page="home"] .section-heading .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 900px);
  min-height: 42px;
  padding: 0 22px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 92, 211, 0.13), rgba(68, 182, 120, 0.12));
  color: var(--brand-blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="home"] .section-heading .eyebrow::before {
  display: none;
}

/* Section title sizing to match About page */
body[data-page="home"] .section-heading .section-title {
  font-size: clamp(1.82rem, 1.12vw + 1.06rem, 2.52rem);
  line-height: 1.1;
}

/* Section subtitle sizing to match About page */
body[data-page="home"] .section-heading .section-subtitle {
  max-width: 1080px;
  font-size: 0.98rem;
  line-height: 1.68;
  margin-bottom: 0;
}

/* Reduce space between heading block and content grid */
body[data-page="home"] .hp-sec-intro {
  max-width: 900px;
  margin: 0 auto 28px;
}

/* Dark mode: pill eyebrow */
[data-theme="dark"] body[data-page="home"] .section-heading .eyebrow {
  background: linear-gradient(90deg, rgba(23, 92, 211, 0.25), rgba(68, 182, 120, 0.2));
  color: #6aa5f8;
}

/* ================================================================
   HOME PAGE — ABOUT INTRO SECTION (mirrors About Us intro card)
   ================================================================ */

.hp-section--about-intro {
  padding: 58px 0;
  background: #ffffff;
}

body[data-page="home"] .hp-section--about-intro .about-introduction-card {
  position: relative;
  overflow: hidden;
  padding: 42px 48px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 38, 63, 0.08);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95));
  box-shadow: 0 18px 42px rgba(8, 17, 32, 0.08);
}

body[data-page="home"] .hp-section--about-intro .about-introduction-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 72px;
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
}

body[data-page="home"] .hp-section--about-intro .about-introduction-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

body[data-page="home"] .hp-section--about-intro .about-introduction-card p+p {
  margin-top: 16px;
}

.hp-about-intro-action {
  margin-top: 28px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hp-section--about-intro {
    padding: 44px 0;
  }

  body[data-page="home"] .hp-section--about-intro .about-introduction-card {
    padding: 32px 30px;
  }
}

@media (max-width: 575.98px) {
  .hp-section--about-intro {
    padding: 36px 0;
  }

  body[data-page="home"] .hp-section--about-intro .about-introduction-card {
    padding: 26px 20px;
  }
}

/* ================================================================
   DARK MODE — COMPREHENSIVE FIXES
   ================================================================ */

/* ---- About page: SPECIFICITY FIX ----
   Light-mode rules at ~line 4615 use ID selectors (#about-approach, etc.)
   giving them higher specificity than [data-theme="dark"] .about-process-card.
   These matching high-specificity rules restore correct dark backgrounds. */

[data-theme="dark"] body[data-page="about"] #about-approach {
  background: #0f1928;
}

[data-theme="dark"] body[data-page="about"] #about-mission-vision .about-belief-card-primary,
[data-theme="dark"] body[data-page="about"] #about-what-we-do .about-value-card,
[data-theme="dark"] body[data-page="about"] #about-approach .about-process-card,
[data-theme="dark"] body[data-page="about"] #about-why-choose .about-value-card {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] body[data-page="about"] .about-belief-card h2,
[data-theme="dark"] body[data-page="about"] .about-value-card h3,
[data-theme="dark"] body[data-page="about"] .about-process-card h3,
[data-theme="dark"] body[data-page="about"] .detail-band h3 {
  color: #eaf0f8;
}

[data-theme="dark"] body[data-page="about"] #about-what-we-do .section-heading .eyebrow,
[data-theme="dark"] body[data-page="about"] #about-approach .section-heading .eyebrow,
[data-theme="dark"] body[data-page="about"] #about-why-choose .section-heading .eyebrow,
[data-theme="dark"] body[data-page="about"] #about-mission-vision .about-belief-card .eyebrow {
  color: #6aa5f8;
  background: linear-gradient(90deg, rgba(23, 92, 211, 0.22), rgba(68, 182, 120, 0.18));
}

/* ---- Contact page: details panel ---- */
[data-theme="dark"] body[data-page="contact"] .contact-box-details {
  background: #141e2e;
}

[data-theme="dark"] body[data-page="contact"] .contact-map-card {
  background: #1a263d;
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] body[data-page="contact"] .contact-map-open-btn {
  background: rgba(14, 22, 36, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.10);
  color: #6aa5f8;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

[data-theme="dark"] body[data-page="contact"] .contact-map-open-btn:hover,
[data-theme="dark"] body[data-page="contact"] .contact-map-open-btn:focus-visible {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: transparent;
}

[data-theme="dark"] #messageCharCount {
  color: #a8bfd8 !important;
}

/* ---- Home page new sections: explicit #fff backgrounds ---- */
[data-theme="dark"] .hp-section--about-intro {
  background: #0e1421;
}

[data-theme="dark"] .hp-section--industries {
  background: #0f1928;
}

/* ---- hero-panel (carousel / services panels) ---- */
[data-theme="dark"] .hero-panel {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.10), transparent 30%),
    linear-gradient(180deg, #141e2e, #1a2840);
  border-color: rgba(255, 255, 255, 0.072);
  color: var(--brand-ink);
}

[data-theme="dark"] .hero-panel-contrast {
  border-color: rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.10), transparent 28%),
    linear-gradient(180deg, #1a2840, #141e2e);
}

/* ---- portfolio-card ---- */
[data-theme="dark"] .portfolio-card {
  border-color: rgba(255, 255, 255, 0.072);
}

[data-theme="dark"] .portfolio-card .content {
  background: #141e2e;
}

[data-theme="dark"] .portfolio-card h4 {
  color: #eaf0f8;
}

[data-theme="dark"] body[data-page="home"] #work-overview .portfolio-card {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

/* ---- page-link-card ---- */
[data-theme="dark"] .page-link-card {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

[data-theme="dark"] body[data-page="home"] .page-link-card {
  background: linear-gradient(180deg, #141e2e, #1a263d);
}

/* ---- btn-secondary-brand ---- */
[data-theme="dark"] .btn-secondary-brand {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #c4d4e8;
}

[data-theme="dark"] .btn-secondary-brand:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- home-section-shell & related wrappers ---- */
[data-theme="dark"] .home-section-shell {
  background: #141e2e;
  border-color: rgba(255, 255, 255, 0.072);
}

/* ---- Home about-intro card: specificity fix ----
   body[data-page="home"] .hp-section--about-intro .about-introduction-card
   has higher specificity than [data-theme="dark"] .about-introduction-card,
   so the light background persists. Override with matching specificity. */
[data-theme="dark"] body[data-page="home"] .hp-section--about-intro .about-introduction-card {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.07), transparent 34%),
    linear-gradient(180deg, #141e2e, #1a2840);
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] body[data-page="home"] .hp-section--about-intro .about-introduction-card p {
  color: #8a9ab0;
}

/* ---- Services page: service-card-media dark mode ---- */
[data-theme="dark"] body[data-page="services"] #services-overview .service-card-media {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.08), transparent 34%),
    linear-gradient(180deg, #141e2e, #1a2840);
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.30);
}

/* ---- Services page: service-card-rich background dark mode ---- */
[data-theme="dark"] body[data-page="services"] #services-overview .service-card-rich {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.06), transparent 34%),
    linear-gradient(180deg, #141e2e, #192538);
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] body[data-page="services"] #services-overview .service-card-rich:hover {
  border-color: rgba(23, 92, 211, 0.28);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.44);
}

/* ---- Services page: content-list checkmark bullets dark mode ---- */
[data-theme="dark"] body[data-page="services"] #services-overview .content-list li::before {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.22), rgba(68, 182, 120, 0.20));
  border-color: rgba(106, 165, 248, 0.22);
  color: #6aa5f8;
}

[data-theme="dark"] body[data-page="services"] #solutions-overview .solution-content-list li strong {
  color: #dde6f0;
}

/* ---- Services page: solution media chips dark mode ---- */
[data-theme="dark"] body[data-page="services"] #solutions-overview .solution-media-chip {
  background: #1a2840;
  border-color: rgba(255, 255, 255, 0.072);
  color: #dde6f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.20);
}

[data-theme="dark"] body[data-page="services"] #solutions-overview .solution-media-chip i {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.24), rgba(68, 182, 120, 0.20));
  color: #6aa5f8;
}

/* ---- Services page: solution-content-list checkmark bullets dark mode ---- */
[data-theme="dark"] body[data-page="services"] #solutions-overview .solution-content-list li::before {
  background: linear-gradient(135deg, rgba(23, 92, 211, 0.22), rgba(68, 182, 120, 0.20));
  border-color: rgba(106, 165, 248, 0.22);
  color: #6aa5f8;
}

/* ---- Services page: solution-area-card background dark mode ---- */
[data-theme="dark"] body[data-page="services"] #solutions-overview .solution-area-card {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.06), transparent 34%),
    linear-gradient(180deg, #141e2e, #192538);
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] body[data-page="services"] #solutions-overview .solution-area-card:hover {
  border-color: rgba(23, 92, 211, 0.28);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.44);
}

/* ---- Services page: solution-card-media panel dark mode ---- */
[data-theme="dark"] body[data-page="services"] #solutions-overview .solution-card-media {
  background:
    radial-gradient(circle at top right, rgba(68, 182, 120, 0.08), transparent 34%),
    linear-gradient(180deg, #141e2e, #1a2840);
  border-color: rgba(255, 255, 255, 0.072);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 36px rgba(0, 0, 0, 0.30);
}

/* ---- Detail meta tag pills dark mode ---- */
[data-theme="dark"] .detail-meta span {
  background: rgba(23, 92, 211, 0.18);
  color: #c4d4e8;
}

/* ---- About overview label (services + about pages) dark mode ---- */
[data-theme="dark"] .about-overview-label {
  color: #6aa5f8;
}

/* ================================================================
   RESPONSIVE FIXES
   ================================================================ */

/* ---- Industries grid: stays 3-col on tablet, 2-col on mobile ---- */
@media (max-width: 991.98px) {
  .hp-industry-grid {
    gap: 14px;
  }
}

/* ---- About banner: smooth min-height scaling ---- */
@media (max-width: 767.98px) {
  .about-banner-image {
    min-height: 460px;
  }
}

/* ---- Services page: list-check wrapping on narrow columns ---- */
@media (max-width: 767.98px) {
  .list-check {
    padding-left: 0;
  }

  .list-check li {
    font-size: 0.92rem;
  }
}

/* ---- Services page: 575px — tighter image, full card padding ---- */
@media (max-width: 575.98px) {
  body[data-page="services"] #services-overview .service-card-feature {
    padding: 24px 18px;
  }

  body[data-page="services"] #services-overview .service-card-media {
    border-radius: 20px;
  }

  body[data-page="services"] #services-overview .service-card-media img {
    width: 100%;
    height: auto;
    max-width: none;
  }
}

/* ---- Contact option cards: stack to 1-col on small screens ---- */
@media (max-width: 767.98px) {

  body[data-page="about"] #about-closing .about-contact-options,
  body[data-page="services"] #services-closing .about-contact-options {
    grid-template-columns: 1fr;
  }
}

/* ── Hero carousel: h2 visually matches h1 (non-first slides use <h2> for SEO)
   All rules mirror the h1 counterparts. Placed at the end so the cascade
   correctly handles responsive overrides below. ──────────────────────────── */
.hero-content h2 {
  max-width: 730px;
  margin-bottom: 18px;
  color: inherit;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.08;
}

body[data-page="home"] .hero-content h2 {
  max-width: 980px;
  position: relative;
  z-index: 1;
  padding-left: 20px;
}

body[data-page="home"] .hero-content-first h2,
body[data-page="home"] .hero-content-compact h2 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(2.85rem, 4.6vw, 4.35rem);
  letter-spacing: -0.04em;
  opacity: 0;
  filter: blur(10px);
  will-change: opacity, transform, filter;
}

body[data-page="home"] .hero-anim-platform h2 {
  transform: translate3d(-36px, 26px, 0);
  transform-origin: left center;
}

body[data-page="home"] .hero-anim-api h2 {
  filter: blur(12px);
  transform: translate3d(0, 34px, 0) scaleY(0.94);
  transform-origin: left bottom;
}

body[data-page="home"] .hero-anim-mobile h2 {
  transform: translate3d(42px, 0, 0) scale(0.96) rotate(0.5deg);
  transform-origin: right center;
}

body[data-page="home"] .hero-anim-consulting h2 {
  filter: blur(14px);
  transform: translate3d(0, -24px, 0) scale(1.04);
  transform-origin: center center;
}

body[data-page="home"] .carousel-item.active .hero-anim-platform h2 {
  animation: heroPlatformIn 0.84s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

body[data-page="home"] .carousel-item.active .hero-anim-api h2 {
  animation: heroApiIn 0.86s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

body[data-page="home"] .carousel-item.active .hero-anim-mobile h2 {
  animation: heroMobileIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

body[data-page="home"] .carousel-item.active .hero-anim-consulting h2 {
  animation: heroConsultingIn 0.9s cubic-bezier(0.2, 1, 0.26, 1) 0.12s forwards;
}

@media (max-width: 1199.98px) {
  .hero-content h2 {
    font-size: 3rem;
  }

  body[data-page="home"] .hero-content h2 {
    max-width: 820px;
  }
}

@media (max-width: 991.98px) {
  body[data-page="home"] .hero-content h2 {
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-content h2 {
    font-size: 2.15rem;
  }

  body[data-page="home"] .hero-content-first h2,
  body[data-page="home"] .hero-content-compact h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

  body[data-page="home"] .hero-content-first h2,
  body[data-page="home"] .hero-content-compact h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  body[data-page="home"] .hero-content-first h2,
  body[data-page="home"] .hero-content-compact h2 {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  body[data-page="home"] .hero-anim-platform h2,
  body[data-page="home"] .hero-anim-api h2,
  body[data-page="home"] .hero-anim-mobile h2,
  body[data-page="home"] .hero-anim-consulting h2 {
    filter: none;
    transform: none;
    opacity: 1;
  }

  body[data-page="home"] .carousel-item.active .hero-anim-platform h2,
  body[data-page="home"] .carousel-item.active .hero-anim-api h2,
  body[data-page="home"] .carousel-item.active .hero-anim-mobile h2,
  body[data-page="home"] .carousel-item.active .hero-anim-consulting h2 {
    animation: none;
  }
}