/* ============================================================
   CIRCUMCIRCLE INNOVATIONS — Premium AI & Technology Stylesheet
   Identity preserved: Montserrat • Espresso #38160D • Rose-beige accents
   Original rules retained; premium design system layered on top.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --brand: #38160d; /* espresso — primary brand */
  --brand-700: #4a2015;
  --brand-600: #5c2c1c;
  --beige: #dfc3b8;
  --beige-2: #eacfc4;
  --beige-3: #ecd6c9;
  --cream: #f4f2f2;
  --cream-2: #fbf8f6;
  --ink: #2a1610;
  --muted: #6b5750;
  --line: rgba(56, 22, 13, 0.1);

  --accent: #d99a2b; /* warm amber — energy accent */
  --accent-2: #c56a3e; /* terracotta */
  --accent-3: #b5654e; /* warm rose-brown */

  --grad-brand: linear-gradient(135deg, #eacfc4 0%, #38160d 100%);
  --grad-warm: linear-gradient(135deg, #dfc3b8 0%, #5c2c1c 100%);
  --grad-soft: linear-gradient(180deg, #fbf8f6 0%, #f1e8e3 100%);
  --grad-amber: linear-gradient(135deg, #f0c46a 0%, #c56a3e 100%);

  --shadow-sm: 0 2px 8px rgba(56, 22, 13, 0.06);
  --shadow-md: 0 10px 30px rgba(56, 22, 13, 0.1);
  --shadow-lg: 0 24px 60px rgba(56, 22, 13, 0.16);
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
::selection {
  background: var(--beige-2);
  color: var(--brand);
}

/* Smoother global transitions (subtle) */
a,
button,
.bg-color,
.serve-io,
.card-lift {
  transition: all 0.25s var(--ease);
}

/* ---------- Navbar ---------- */
.navbar {
  transition:
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    padding 0.3s var(--ease),
    top 0.3s var(--ease);
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--shadow-sm);
}
.navbar-brand img {
  transition: transform 0.3s var(--ease);
}
.navbar-brand:hover img {
  transform: scale(1.03);
}
.navbar ul li a {
  font-weight: 600;
  padding: 0.7rem 1.15rem !important;
  color: var(--brand) !important;
  border-radius: 8px;
  position: relative;
}
.navbar ul li a:hover {
  background: linear-gradient(to right, #dfc3b8, #38160d);
  color: #fff !important;
  border-radius: 8px;
}
/* Active page: no persistent box — just a subtle underline + bolder text (nav-cta excluded, it's a button) */
.navbar ul li a.active:not(.nav-cta) {
  color: var(--brand) !important;
  font-weight: 800;
}
.navbar ul li a.active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.55;
}
.navbar ul li a.active:not(.nav-cta):hover::after {
  opacity: 0;
}
.navbar-nav {
  gap: 0.15rem;
}
.navbar .nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 10px !important;
  box-shadow: var(--shadow-sm);
  margin-left: 0.85rem;
}
@media (max-width: 991px) {
  .navbar .nav-cta {
    margin-left: 0;
    margin-top: 0.4rem;
  }
}
.navbar .nav-cta:hover {
  background: var(--grad-amber) !important;
  color: var(--brand) !important;
  transform: translateY(-1px);
}
.dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
}
.dropdown-item {
  border-radius: 8px;
  font-weight: 600;
  color: var(--brand);
  padding: 0.6rem 0.9rem;
}

/* Services dropdown: reveal on hover (desktop), click navigates to AI Solutions by default */
@media (min-width: 992px) {
  .navbar .nav-item.dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
    pointer-events: none;
    margin-top: 0;
  }
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--beige-3);
  color: var(--brand);
}
.dropdown-item.active,
.dropdown-item:active {
  background: var(--grad-brand) !important;
  color: #fff !important;
}

/* ---------- Hero ---------- */
.hero-section h1,
.hero-section h2.hero-h2 {
  font-size: 4rem;
  font-weight: bolder;
  letter-spacing: -0.5px;
  line-height: 1.05;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}
.hero-section p {
  font-size: 1.2rem;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.hero-section a {
  display: inline-block;
  background-color: #dfc3b8;
  padding: 1.05rem 2.2rem;
  text-decoration: none;
  color: #38160d;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.hero-section a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  background: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.4rem;
  letter-spacing: 0.3px;
}
.hero-badge i {
  color: var(--beige-2);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: none;
  margin-left: 0.6rem;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
@media (max-width: 576px) {
  .btn-ghost {
    margin-left: 0;
    margin-top: 0.6rem;
  }
}
.img-bg {
  background-image:
    linear-gradient(
      90deg,
      rgba(23, 9, 5, 0.72) 0%,
      rgba(23, 9, 5, 0.3) 60%,
      rgba(23, 9, 5, 0.15) 100%
    ),
    url(./images/it-staffing.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 7.2rem 0;
}
.img-bg-1 {
  background-image:
    linear-gradient(
      90deg,
      rgba(23, 9, 5, 0.72) 0%,
      rgba(23, 9, 5, 0.3) 60%,
      rgba(23, 9, 5, 0.15) 100%
    ),
    url(./images/human-resources.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 7.2rem 0;
}
.hero-section .container .row > .col-lg-9 {
  margin: 0 !important;
  padding: 0;
}
#carouselExampleIndicators {
  padding-top: 5.4rem;
}
.carousel-indicators [data-bs-target] {
  width: 34px;
  height: 5px;
  border-radius: 4px;
}

/* ---------- Section rhythm & titles ---------- */
section {
  scroll-margin-top: 90px;
}
.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--beige-3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 760px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.headline {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--brand);
  position: relative;
}
.headline.center-underline::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--grad-brand);
  margin: 1rem auto 0;
}
.headline-1 {
  font-size: 1.3rem;
  font-weight: bolder;
  margin: 0;
  color: var(--brand);
}
.text-grad {
  background: linear-gradient(90deg, #8a4a2f, #38160d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
/* Defensive sizing: never let a button spill outside its container, at any
   viewport, zoom level, or before webfonts finish loading. */
.btn-brand,
.btn-outline-brand,
.btn-ghost {
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  white-space: normal;
  text-align: center;
  word-break: break-word;
}
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.9rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  box-shadow: var(--shadow-sm);
}
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--grad-amber);
  color: var(--brand);
}
.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid var(--brand);
}
.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  text-decoration: none;
  margin-top: 1rem;
}
.card-cta i {
  transition: transform 0.25s var(--ease);
}
.card-cta:hover {
  color: var(--brand-600);
}
.card-cta:hover i {
  transform: translateX(4px);
}

/* ---------- Original: Our Services flip cards ---------- */
.bg-color {
  background-color: #f4f2f2;
  box-sizing: border-box;
  padding: 2.6rem 2rem;
  background: var(--cream);
  border-bottom: 3px solid #38160d;
  box-shadow: var(--shadow-sm);
  border-radius: 14px;
  height: 100%;
}
.bg-color:hover {
  background-color: #38160d;
  color: white;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.bg-color .inner {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s,
    visibility 0.5s;
}
.bg-color .inner img {
  height: 66px;
  width: auto;
  object-fit: contain;
}
.outer a {
  padding: 0.7rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}
.outer a:hover {
  background: #fff;
  color: var(--brand);
}
.bg-color .outer {
  display: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.5s;
}
.bg-color:hover .inner {
  display: none;
  opacity: 0;
  visibility: hidden;
}
.bg-color:hover .outer {
  display: block;
  opacity: 1;
  visibility: visible;
  animation: fadeInUp;
  animation-duration: 0.7s;
}

/* ---------- Original: staffing / vision-mission ---------- */
.staffing {
  background: var(--grad-soft);
  padding: 5.5rem 0;
}
.staffing p {
  color: #3a2a24;
  font-size: 1rem;
  line-height: 1.7;
}
.img-v img {
  margin-right: 0.4rem;
}

/* ---------- Original: Core Values ---------- */
.box-core {
  background-color: #ecd6c9;
  padding: 1.8rem;
  position: relative;
  border-radius: 14px;
  height: 100%;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.box-core:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.box-core h6 {
  color: #38160d;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.box-core p {
  font-size: 0.9rem;
  color: #38160d;
  margin: 0;
}
.box-core h2 {
  padding-right: 1.2rem;
  font-weight: 800;
  font-size: 2.8rem;
  color: #38160d;
  opacity: 0.85;
}

/* ---------- Original: What sets us apart ---------- */
.apart {
  background-image: url(./images/Circumcircle-icon.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 340px;
  padding: 2rem 0;
}
.apart img {
  background-image: linear-gradient(180deg, #eacfc4, #38160d);
  border-radius: 50%;
  padding: 1rem;
}
.for-space {
  margin-right: 1.4rem;
}
.for-space-left {
  margin-left: 1.4rem;
}
.apart h6 {
  font-weight: 800;
}
.apart p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Original: model work ---------- */
.model-work {
  background: var(--grad-soft);
}
.model-work h6 {
  font-weight: 800;
  color: var(--brand);
}
.model-work .col-lg-3 {
  transition: transform 0.25s var(--ease);
}
.model-work .col-lg-3:hover {
  transform: translateY(-5px);
}

/* ---------- Original: services offered ---------- */
.service-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
.service-box {
  box-shadow: var(--shadow-md);
  padding: 2rem 1.6rem;
  margin: 10px;
  border-radius: 16px;
  background: linear-gradient(160deg, #4a2015, #38160d);
  color: white;
  text-align: center;
  height: 100%;
}
.service-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-box p {
  opacity: 0.9;
  margin: 0.35rem 0;
}
.service-box i {
  font-size: 2rem;
  color: var(--beige-2);
  margin-bottom: 0.6rem;
  display: block;
}

/* ---------- Original: industries serve ---------- */
.serve-io {
  box-shadow: var(--shadow-sm);
  background-color: #f4f2f2;
  height: 100%;
  border-radius: 16px;
  padding: 2rem 1.4rem;
  border: 1px solid var(--line);
}
.serve-io:hover {
  color: #fff;
  background: linear-gradient(160deg, #4a2015, #38160d);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.serve-io img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.serve-io h6 {
  margin: 1rem 0;
  font-weight: 800;
  font-size: 1.15rem;
}
.serve-io:hover h6,
.serve-io:hover p {
  color: #fff;
}
.serve-io p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Original: contact details / forms ---------- */
#contact-details h4 {
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#contact-details h2 {
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--brand);
}
#contact-details img {
  margin-right: 1.2rem;
}
#contact-details h6 {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
}
#contact-details p {
  font-size: 1.05rem;
  color: var(--muted);
}

.about {
  background: var(--grad-brand);
  padding: 4.5rem 0;
}
.about a {
  text-decoration: none;
  padding: 1rem 2rem;
  background: #fff;
  color: #000;
  border-radius: 12px;
  font-weight: 700;
}
.about a:hover {
  background: #000;
  color: #fff;
}
.about-hire {
  background: linear-gradient(160deg, #4a2015, #38160d);
  padding: 8rem 0;
}
.about-hire a {
  text-decoration: none;
  padding: 1rem 2rem;
  background: #fff;
  color: #38160d;
  border-radius: 12px;
  font-weight: 700;
}
.about-hire a:hover {
  background: #eacfc4;
}
.contact-form-1 {
  background: linear-gradient(160deg, #4a2015, #38160d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem !important;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.form-control {
  padding: 1rem !important;
  border-radius: 10px;
}
.form-control:focus {
  border-color: var(--beige);
  box-shadow: 0 0 0 0.2rem rgba(223, 195, 184, 0.35);
}
#submit {
  text-decoration: none;
  padding: 1rem 3rem;
  background: #eacfc4;
  color: #38160d;
  border-radius: 12px;
  font-weight: 700;
  border: none;
}
#submit:hover {
  background: #fff;
  color: #38160d;
}

/* ============================================================
   PREMIUM CARD SYSTEM (new sections)
   ============================================================ */
.section-soft {
  background: var(--grad-soft);
}
.section-dark {
  background: linear-gradient(160deg, #2a1008, #38160d);
  color: #fff;
}
.section-dark .headline,
.section-dark .section-kicker {
  color: #fff;
}
.section-dark .section-kicker {
  background: rgba(255, 255, 255, 0.12);
}
.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* Icon cards grid (AI Solutions, industries, ecommerce, business) */
.icard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.icard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.icard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.icard:hover::before {
  transform: scaleX(1);
}
.icard-ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--beige-3);
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s var(--ease);
}
.icard:hover .icard-ic {
  background: var(--grad-brand);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.icard h5 {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.icard p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Compact icon chip (AI across industries) */
.ind-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.ind-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.ind-card .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}
.ind-card h6 {
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.ind-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Industry image tiles — premium photo cards with sector + AI use case */
.ind-tile {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-end;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.ind-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.ind-tile-body {
  padding: 1.3rem 1.35rem;
  width: 100%;
}
.ind-tile-body h5 {
  color: #fff;
  font-weight: 800;
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.ind-tile-body p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- From Idea to Product ---------- */
.idea-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.idea-pill i {
  color: var(--beige);
  background: var(--brand);
  border-radius: 50%;
  padding: 0.25rem;
  font-size: 0.7rem;
}
.idea-quote {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--brand);
  border-left: 5px solid var(--beige);
  padding-left: 1.4rem;
}

/* ---------- Why Choose Us ---------- */
.why-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card .ic {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--beige-3);
  color: var(--brand);
  font-size: 1.25rem;
}
.why-card h6 {
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.25rem;
}
.why-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Stats / counters ---------- */
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

/* ---------- Technologies grid ---------- */
.tech-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 0.6rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
  height: 100%;
  text-align: center;
}
.tech-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--cream-2);
}
.tech-chip i {
  font-size: 1.7rem;
  color: var(--brand-600);
}

/* ---------- Process timeline ---------- */
.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(180deg, var(--beige), var(--brand));
  border-radius: 3px;
}
.tl-item {
  position: relative;
  padding-left: 74px;
  margin-bottom: 1.6rem;
}
.tl-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.tl-item h6 {
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.2rem;
}
.tl-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Portfolio ---------- */
.pf-filter {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  cursor: pointer;
}
.pf-filter.active,
.pf-filter:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}
.pf-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 220px;
  background: linear-gradient(160deg, #4a2015, #38160d);
  color: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.pf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pf-card:hover::after {
  opacity: 0.18;
}
.pf-tag {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--beige-2);
}
.pf-card h5 {
  position: relative;
  z-index: 1;
  font-weight: 800;
  margin: 0.3rem 0 0;
}
.pf-card p {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0.3rem 0 0;
}

/* ---------- Testimonials ---------- */
.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.t-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.t-quote {
  font-size: 2.6rem;
  color: var(--beige);
  line-height: 0.7;
  font-family: Georgia, serif;
}
.t-card p {
  color: #4a3a34;
  font-size: 0.96rem;
  line-height: 1.7;
  margin: 0.6rem 0 1.2rem;
}
.t-stars {
  color: #e0a12e;
  margin-bottom: 0.6rem;
}
.t-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.t-person h6 {
  margin: 0;
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
}
.t-person span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Big CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #2a1008 0%, #38160d 55%, #5c2c1c 100%);
  border-radius: var(--radius-lg);
  padding: 3.4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--beige-2), transparent 70%);
  opacity: 0.35;
  border-radius: 50%;
}
.cta-band h2 {
  font-weight: 800;
  position: relative;
  z-index: 1;
}
.cta-band p {
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.cta-band .btn-brand {
  background: #fff;
  color: var(--brand);
}
.cta-band .btn-brand:hover {
  background: var(--grad-amber);
  color: var(--brand);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #2a1008, #1c0a04);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}
.site-footer .row > [class*="col-"] {
  min-width: 0;
}
.site-footer h6 {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.28rem 0;
}
.site-footer a:hover {
  color: var(--beige-2);
  padding-left: 5px;
}
.site-footer .brand-blurb {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0;
}
.footer-social a:hover {
  background: var(--grad-brand);
  padding: 0;
  transform: translateY(-3px);
}
.news-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  width: 100%;
}
.news-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.4rem 0;
  font-size: 0.85rem;
}
.footer-bottom a {
  display: inline;
  color: var(--beige-2);
  font-weight: 700;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS (subtle)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
.reveal.d4 {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   RESPONSIVE (original media queries retained + refinements)
   ============================================================ */
@media (max-width: 991px) {
  .headline {
    font-size: 2rem;
  }
  .apart {
    background-image: unset;
  }
  .idea-quote {
    font-size: 1.3rem;
  }
}
@media (max-width: 800px) {
  section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .space-naved {
    padding: 1rem !important;
  }
  #navbarNav {
    text-align: center;
  }
  .hero-section h1,
  .hero-section h2.hero-h2 {
    font-size: 2.6rem;
  }
  .hero-section a {
    padding: 0.9rem 1.5rem;
  }
  .img-bg,
  .img-bg-1 {
    padding: 7rem 0;
  }
  .staffing-1 {
    display: flex;
    flex-direction: column-reverse;
  }
  .img-change {
    display: flex;
    flex-direction: row-reverse;
    text-align: left !important;
    justify-content: start !important;
  }
  .img-change img {
    margin-right: 1rem;
  }
  .for-space {
    text-align: left;
    margin-right: 1rem;
  }
  .for-margin {
    margin-top: 2rem;
  }
  .media-space {
    margin: 0 !important;
  }
  .change-our {
    margin: 0;
  }
  .about {
    padding: 4rem 0 !important;
  }
  .get-space {
    margin-top: 2rem !important;
  }
  .serve-io {
    margin-bottom: 1rem;
  }
  .cta-band {
    padding: 2.2rem;
    text-align: center;
  }
  .timeline::before {
    left: 22px;
  }
}
@media (min-width: 320px) and (max-width: 418px) {
  .space-naved {
    padding: 0 !important;
  }
  .hero-section h1,
  .hero-section h2.hero-h2 {
    font-size: 2.1rem;
  }
}

/* ---------- Floating "Let's Talk" button (bottom-right, scroll-to-top arrow sits above it) ---------- */
#contact-fab {
  position: fixed;
  right: 22px;
  left: auto;
  bottom: 28px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--grad-brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.3rem;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
}
#contact-fab i {
  font-size: 1.1rem;
}
#contact-fab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: #fff;
  filter: brightness(1.05);
}
@media (max-width: 576px) {
  #contact-fab span {
    display: none;
  }
  #contact-fab {
    padding: 0.9rem;
    border-radius: 50%;
    right: 16px;
    right: 16px;
  }
}

.about {
  margin-top: 4rem !important;
}

#sticky-consult,
#sticky-consult .sc-msg {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hero-badge,
#sticky-consult .sc-msg span,
#sticky-consult .sc-msg strong {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--brand);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

/* ============================================================
   LIVELINESS LAYER — warmth, colour variety & energy (on-brand)
   ============================================================ */

/* Kicker gets an accent dot for a spark of colour */
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.5rem;
  vertical-align: middle;
}
.section-dark .section-kicker::before {
  background: var(--accent);
}

/* Soft sections get a subtle warm glow so they don't read flat */
.section-soft {
  position: relative;
  overflow: hidden;
}
.section-soft::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(217, 154, 43, 0.16),
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}
.section-soft > .container {
  position: relative;
  z-index: 1;
}

/* Stat numbers pop with the amber accent */
.stat-num {
  background: linear-gradient(90deg, var(--accent-2), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* AI Solutions icons — warm multi-hue rotation for energy */
#ai-solutions .row > div:nth-child(5n + 1) .icard-ic {
  background: var(--grad-amber);
  color: #fff;
}
#ai-solutions .row > div:nth-child(5n + 2) .icard-ic {
  background: linear-gradient(135deg, #e9b48a, #8a4a2f);
  color: #fff;
}
#ai-solutions .row > div:nth-child(5n + 3) .icard-ic {
  background: var(--grad-brand);
  color: #fff;
}
#ai-solutions .row > div:nth-child(5n + 4) .icard-ic {
  background: linear-gradient(135deg, #d89a86, #b5654e);
  color: #fff;
}
#ai-solutions .row > div:nth-child(5n + 5) .icard-ic {
  background: linear-gradient(135deg, #e7c9a0, #c56a3e);
  color: #fff;
}
#ai-solutions .icard:hover .icard-ic {
  transform: rotate(-6deg) scale(1.08);
}

/* AI-across-industries icons — same lively rotation */
#industries-ai .row > div:nth-child(4n + 1) .ind-card .ic {
  background: var(--grad-amber);
}
#industries-ai .row > div:nth-child(4n + 2) .ind-card .ic {
  background: var(--grad-brand);
}
#industries-ai .row > div:nth-child(4n + 3) .ind-card .ic {
  background: linear-gradient(135deg, #d89a86, #b5654e);
}
#industries-ai .row > div:nth-child(4n + 4) .ind-card .ic {
  background: linear-gradient(135deg, #e7c9a0, #c56a3e);
}

/* E-commerce & why-us icons alternate warm tones too */
#ecommerce .row > div:nth-child(2n) .icard-ic {
  background: var(--grad-amber);
  color: #fff;
}
#why-us .why-card:hover .ic {
  background: var(--grad-amber);
  color: #fff;
}

/* Buttons feel more alive on hover */
.hero-badge {
  background: rgba(217, 154, 43, 0.18);
  border-color: rgba(240, 196, 106, 0.5);
}
.hero-badge i {
  color: #f0c46a;
}

/* Section-title underline a touch bolder */
.headline.center-underline::after {
  background: var(--grad-amber);
  height: 5px;
  width: 80px;
}

/* ---------- Swiper (clients) — full-colour logo cards ---------- */
.swiper {
  width: 100%;
  height: 100%;
  padding: 10px 4px;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1rem;
  min-height: 110px;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.swiper-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.swiper-slide img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: none;
  opacity: 1; /* full colour — no grayscale */
}

/* ============================================================
   TRUST BADGES — small proof-points under the client logo strip
   ============================================================ */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  margin-top: 1.6rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.trust-badge i {
  color: var(--accent-2);
  font-size: 0.95rem;
}

/* ============================================================
   CASE STUDIES — outcome-driven proof cards
   ============================================================ */
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.case-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  background: var(--beige-3);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.case-card h5 {
  font-weight: 800;
  color: var(--brand);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.case-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.case-metric {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.case-metric .num {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-2), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-metric .label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

/* ============================================================
   STICKY CONSULTATION BAR — persistent top CTA (dismissible)
   ============================================================ */
#sticky-consult {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: linear-gradient(120deg, #2a1008 0%, #38160d 60%, #5c2c1c 100%);
  color: #fff;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  transform: translateY(-120%);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
#sticky-consult.show {
  transform: translateY(0);
}
#sticky-consult .sc-msg {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.92rem;
}
#sticky-consult .sc-msg i {
  color: var(--accent);
  font-size: 1.1rem;
}
#sticky-consult .sc-msg strong {
  color: var(--beige-2);
}
#sticky-consult .sc-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
#sticky-consult .sc-cta {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
}
#sticky-consult .sc-cta:hover {
  background: var(--grad-amber);
  color: var(--brand);
}
#sticky-consult .sc-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.3rem;
  cursor: pointer;
}
#sticky-consult .sc-close:hover {
  color: #fff;
}
@media (max-width: 576px) {
  #sticky-consult .sc-msg span {
    display: none;
  }
}

/* ============================================================
   STRONGER CONTACT SECTION (homepage)
   ============================================================ */
.contact-strong {
  background: linear-gradient(120deg, #2a1008 0%, #38160d 55%, #5c2c1c 100%);
  padding: 4.5rem 0;
}
.contact-strong .cs-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.contact-strong .cs-check i {
  color: var(--accent);
  font-size: 1.05rem;
  margin-top: 0.15rem;
}
.contact-strong .cs-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.9rem;
  text-decoration: none;
}
.contact-strong .cs-info:hover {
  color: #fff;
}
.contact-strong .cs-info i {
  color: var(--beige-2);
  font-size: 1.1rem;
}
.contact-strong .cs-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(6px);
}
.contact-strong .cs-form h3 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.contact-strong .cs-form p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}
.contact-strong .form-control {
  background: rgba(255, 255, 255, 0.95);
  border: none;
}
#home-lead-msg {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

/* ============================================================
   HOW WE WORK — step cards (responsive: 2-up mobile, 5-up desktop)
   ============================================================ */
.hw-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.2rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.hw-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.hw-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.hw-step h6 {
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}
.hw-step p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
@media (min-width: 992px) {
  .hw-steps [class^="col-"] {
    position: relative;
  }
  .hw-steps [class^="col-"]:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: 20px;
    right: -12px;
    z-index: 2;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--beige);
  }
}

/* ============================================================
   FAQ ACCORDION — matches theme (brand colours, cards, radius)
   ============================================================ */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}
.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--brand);
  background: #fff;
  padding: 1.15rem 1.4rem;
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  display: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--line);
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--beige-3);
  color: var(--brand);
}
.faq-accordion .faq-icon {
  margin-left: auto;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  color: var(--brand);
  font-size: 1rem;
  flex: 0 0 auto;
}
.faq-accordion .icon-minus {
  display: none;
}
.faq-accordion .accordion-button:not(.collapsed) .icon-plus {
  display: none;
}
.faq-accordion .accordion-button:not(.collapsed) .icon-minus {
  display: block;
}
.faq-accordion .accordion-body {
  color: var(--muted);
  line-height: 1.7;
  background: #fff;
  padding: 1.1rem 1.4rem 1.4rem;
  font-size: 0.94rem;
}
@media (max-width: 576px) {
  .faq-accordion .accordion-button {
    padding: 1rem 1.1rem;
    font-size: 0.95rem;
  }
  .faq-accordion .accordion-body {
    padding: 0.9rem 1.1rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ============================================================
   INNER-PAGE HERO — photo + overlay + entrance animation
   (livelier alternative to the flat .about gradient band)
   ============================================================ */
.inner-hero {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 7.5rem 0 5rem;
}
.inner-hero::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(240, 196, 106, 0.28),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.inner-hero .container {
  position: relative;
  z-index: 1;
}
.inner-hero-enter {
  animation: heroFadeUp 0.8s var(--ease) both;
}
.inner-hero-enter.d1 {
  animation-delay: 0.12s;
}
.inner-hero-enter.d2 {
  animation-delay: 0.24s;
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .inner-hero-enter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 576px) {
  .inner-hero {
    padding: 6rem 0 3.5rem;
  }
}

/* ============================================================
   CONTACT FORM — labels, validation states, banners, submit button
   (shared by the dedicated Contact page and the homepage lead form)
   ============================================================ */
.form-label {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  display: block;
}
.contact-form-1 .form-label {
  color: rgba(255, 255, 255, 0.92);
}
.cs-form .form-label {
  color: rgba(255, 255, 255, 0.92);
}
.form-label .req {
  color: var(--accent);
  margin-left: 0.2rem;
}
.form-label .field-hint-inline {
  font-weight: 500;
  opacity: 0.6;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}

.field-error {
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 0;
  color: #ffb4a8;
}
.field-error:empty {
  display: none;
}
.field-error i {
  font-size: 0.9rem;
}

.form-control.is-invalid {
  border: 1px solid #e2685a !important;
  box-shadow: 0 0 0 0.2rem rgba(226, 104, 90, 0.18) !important;
}
.form-control.is-valid {
  border: 1px solid #4caf7d !important;
}

.form-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.1rem 1.3rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.55;
  animation: heroFadeUp 0.4s var(--ease) both;
}
.form-banner i {
  font-size: 1.3rem;
  margin-top: 0.1rem;
  flex: 0 0 auto;
}
.form-banner strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #fff;
}
.form-banner.success {
  background: rgba(76, 175, 125, 0.15);
  border: 1px solid rgba(76, 175, 125, 0.4);
  color: #bff0d6;
}
.form-banner.error {
  background: rgba(226, 104, 90, 0.15);
  border: 1px solid rgba(226, 104, 90, 0.4);
  color: #ffcfc6;
}

/* Polished submit button: full-width, spinner while sending, disabled state */
#submit {
  text-decoration: none;
  padding: 1rem 3rem;
  background: #eacfc4;
  color: #38160d;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.25s var(--ease);
}
#submit:hover:not(:disabled) {
  background: #fff;
  color: #38160d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
#submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}
#submit:disabled:hover {
  transform: none;
  box-shadow: none;
}
#submit .spinner {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 2px solid rgba(56, 22, 13, 0.3);
  border-top-color: #38160d;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
#submit.loading .spinner {
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  #submit .spinner {
    animation: none;
  }
}

/* ============================================================
   SPLIT HERO — AI Solutions (left) / Staffing Solutions (right)
   Visible immediately on page load, no scrolling required.
   ============================================================ */
.split-hero {
  margin-top: 6rem;
}
.split-hero-intro {
  padding: 3rem 1.5rem 1rem;
}
.split-row {
  display: flex;
  flex-wrap: wrap;
}
.split-col {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 3.5rem 3.5rem;
  position: relative;
}
.split-col-ai {
  background: linear-gradient(160deg, #2a1008 0%, #38160d 55%, #5c2c1c 100%);
  color: #fff;
}
.split-col-staffing {
  background: linear-gradient(160deg, #fbf8f6 0%, #f1e8e3 100%);
  color: var(--ink);
}
.split-col-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.split-col-ai .split-col-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.split-col-staffing .split-col-icon {
  background: var(--grad-brand);
  color: #fff;
}
.split-col .section-kicker {
  margin-bottom: 1rem;
}
.split-col-ai .section-kicker {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.split-col-ai .split-heading {
  color: #fff;
}
.split-col-staffing .split-heading {
  color: var(--brand);
}
.split-heading {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}
.split-col-ai .split-desc {
  color: rgba(255, 255, 255, 0.8);
}
.split-col-staffing .split-desc {
  color: var(--muted);
}
.split-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.split-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.split-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.split-feature-list li i {
  font-size: 1.05rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}
.split-col-ai .split-feature-list li i {
  color: var(--accent);
}
.split-col-staffing .split-feature-list li i {
  color: var(--brand-600);
}
.split-hero-note {
  text-align: center;
  padding: 1.6rem 1.5rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.split-hero-note i {
  color: var(--accent-2);
  margin-right: 0.4rem;
}

@media (max-width: 991px) {
  .split-col {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 3rem 1.75rem;
  }
}

/* Timeline on a dark section: headings/text need light colors to stay readable
   (the base .tl-item h6/.tl-item p colors are tuned for light backgrounds) */
.section-dark .tl-item h6 {
  color: #fff;
}
.section-dark .tl-item p {
  color: rgba(255, 255, 255, 0.72);
}
