* {
  font-family: "Poppins", sans-serif;
}

:root {
  --brand-navy: #0d1317;
  --brand-blue-900: #111827;
  --brand-blue-700: #2563eb;
  --brand-accent: #f58a07;
  --brand-blue-deep: #063255;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Smooth in-page scrolling for anchor links (e.g. "View Services") */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

img {
  max-width: 100%;
}
/* Brand Logo  */
.brand-logo {
  max-width: 140px;
  display: inline-block;
  transition: transform 0.3s var(--ease-smooth), filter 0.3s ease;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}
a.navbar-brand.brand-logo:hover,
a.navbar-brand.brand-logo:focus-visible {
  transform: scale(1.04);
}
footer .brand-logo {
  max-width: 170px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
footer .brand-logo:hover {
  opacity: 1;
}
.team-post {
  cursor: pointer;
}
.team-post:hover .team-detail {
  transform: translateY(0%);
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  -o-transform: translateY(0%);
}
.team-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  min-height: 70%;
  background: #161616da;
  transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transition: transform ease-in-out 500ms;
  -webkit-transition: transform ease-in-out 500ms;
  -moz-transition: transform ease-in-out 500ms;
  -ms-transition: transform ease-in-out 500ms;
  -o-transition: transform ease-in-out 500ms;
}

/* background  */
.dark-bg,
.dark-bg a {
  color: white;
}
.light-bg h1,
.light-bg h2,
.light-bg h3,
.light-bg h4,
.light-bg h5,
.light-bg h6 {
  color: #0d1317;
}
.light-bg p,
.light-bg li {
  color: #5b5b5b;
}
.light-bg span {
  color: rgba(57, 65, 73, 0.5);
}
.light-bg {
  color: #394149;
}
.light-bg a {
  color: #f58a07;
}
/* background Colors */
.bg-brand-primay {
  background: #f58a07 !important;
  color: white !important;
}
.bg-brand-primayfaint {
  color: #f58a07 !important;
  background: rgba(245, 138, 7, 0.1) !important;
}
.bg-bluefaint {
  background-color: #edf7ff !important;
}
.bg-blue-200 {
  background: rgba(210, 218, 237, 0.17) !important;
}
.bg-bluelight {
  background-color: #dceaf5;
}
.bg-blueDark {
  background: #063255;
}
/* btn, a */
a.bg-brand-primayfaint:hover {
  color: white !important;
  background-color: #f58a07 !important;
}
button.bg-brand-primay:hover,
a.bg-brand-primay:hover {
  background: #f89d2d !important;
}
a.cl-blue-900:hover {
  color: #325771 !important;
}
/* font weight  */
.fw-smbold {
  font-weight: 600 !important;
}

/* border */
.b-6 {
  border-radius: 16px !important;
  -webkit-border-radius: 16px !important;
  -moz-border-radius: 16px !important;
  -ms-border-radius: 16px !important;
  -o-border-radius: 16px !important;
}
/* color  */
.cl-white {
  color: white !important;
}
.cl-blue-900 {
  color: #111827 !important;
}
.cl-primary {
  color: #2563EB !important;
}
.cl-blue-700 {
  color: #2563EB;
}
.icon {
  color: #2563EB;
  font-size: 2rem;
}
.img-bar {
  position: absolute;
  left: 2;
  top: 0;
  bottom: 0;
  background: #f58a07;
  mix-blend-mode: multiply;
  width: 20%;
  z-index: 2;
  border-radius: 16px 0px 0px 16px;
  -webkit-border-radius: 16px 0px 0px 16px;
  -moz-border-radius: 16px 0px 0px 16px;
  -ms-border-radius: 16px 0px 0px 16px;
  -o-border-radius: 16px 0px 0px 16px;
}
.img-fit-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* max-height: 560px; */
}

.p-tr {
  right: -3.6%;
  top: -5.6%;
}
.p-ru {
  right: -3.6%;
  top: 10%;
}
.p-rc {
  right: -6.5%;
  top: 50%;
}
.p-br {
  right: -0.8%;
  bottom: -4.6%;
}
.p-lu {
  left: -6.5%;
  top: 10%;
}
.p-lc {
  left: -6.5%;
  top: 50%;
}
.p-ld {
  left: -6.5%;
  bottom: 10%;
}
.overlay-img--circle {
  width: 5rem;
}
.overlay-img--ribbon {
  right: -1.6%;
  top: -2.6%;
}
.overlay-img--cubeLg {
  width: 23%;
  height: 23%;
  background: #f58a07;
  mix-blend-mode: multiply;
  right: -0.1%;
  bottom: -0.6%;
}
.overlay-img--cubeSm {
  width: 15%;
  height: 15%;
  background: #f58a07;
  mix-blend-mode: multiply;
}
.fs-7 {
  font-size: 14px !important;
}
@media screen and (max-width: 768px) {
  .overlay-img {
    width: 16vw;
    right: -1%;
    top: -0.9%;
  }
  .overlay-img--circle {
    width: 16vw;
  }
  .overlay-img--ribbon {
    width: 16vw;
    right: -2%;
    top: -1.2%;
  }
  .p-br,
  .p-tr {
    right: -2.6%;
  }
  .tab {
    font-size: 12px !important;
  }
}
@media screen and (max-width: 620px) {
  .p-br,
  .p-tr {
    right: -0.6%;
  }
}
button.bg-white {
  background-color: white;
  color: #f58a07;
}
.person-info span {
  font-size: 14px;
}

a {
  text-decoration: none !important;
}
form label {
  color: #9c9c9c;
}

.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-widget-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 999px;
  background: #0d1317;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 18px 40px rgba(13, 19, 23, 0.16);
  cursor: pointer;
}

.chat-widget-icon {
  font-size: 1.2rem;
}

.chat-widget-panel {
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(13, 19, 23, 0.18);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chat-widget-panel.open {
  display: flex;
}

.chat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.75rem;
  background: #0d1317;
  color: #ffffff;
}

.chat-widget-header p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.chat-widget-close {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}

.chat-widget-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  max-height: 320px;
  overflow-y: auto;
  background: #f7fbff;
}

.chat-message {
  padding: 0.85rem 1rem;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 0.95rem;
  max-width: 85%;
}

.chat-message.bot {
  align-self: flex-start;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.chat-message.user {
  align-self: flex-end;
  background: #0d1317;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(13, 19, 23, 0.12);
}

.chat-widget-form {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: #ffffff;
  border-top: 1px solid #e6eaf3;
}

.chat-widget-form input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid #d1dae8;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #111827;
}

.chat-widget-form input:focus {
  outline: none;
  border-color: #f58a07;
  box-shadow: 0 0 0 3px rgba(245, 138, 7, 0.12);
}

.chat-widget-send {
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 14px;
  background: #f58a07;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

@media screen and (max-width: 640px) {
  .chat-widget {
    bottom: 16px;
    left: 16px;
    right: 16px;
    align-items: center;
  }

  .chat-widget-panel {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
  }

  .chat-widget-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================================
   Accessibility helpers
=================================================================== */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10000;
  background: var(--brand-accent);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

/* ===================================================================
   Scroll-reveal animations
=================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.43s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ===================================================================
   Hover micro-interactions: buttons, cards, links, nav, images
=================================================================== */
.btn {
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth),
    background-color 0.28s ease, color 0.28s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(13, 19, 23, 0.16);
}
.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.card {
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
a .card:hover,
.card.card-hover:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(13, 19, 23, 0.1);
}

.img-fit-cover {
  transition: transform 0.6s var(--ease-smooth);
}
.img-zoom {
  overflow: hidden;
}
.img-zoom:hover .img-fit-cover {
  transform: scale(1.06);
}
.card-img-top {
  transition: transform 0.6s var(--ease-smooth);
}
.img-zoom:hover .card-img-top {
  transform: scale(1.06);
}
.portfolio-thumb {
  height: 220px;
  overflow: hidden;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar-nav .nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  transition: transform 0.25s ease;
}
.navbar-toggler:hover {
  transform: scale(1.06);
}

a[class*="card-link"],
.service-section-wrappper a,
section a:not(.btn):not(.navbar-brand):not(.nav-link) {
  position: relative;
  transition: color 0.25s ease;
}

.badge {
  transition: transform 0.3s var(--ease-smooth);
}
.badge:hover {
  transform: translateY(-2px);
}

/* Industry / feature mini-cards lift slightly on hover for a tactile feel */
.row .card.border-0.b-6:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(13, 19, 23, 0.08);
}

/* Social icons in footer */
.brand-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease-smooth), background-color 0.3s ease;
}
.brand-socials a:hover,
.brand-socials a:focus-visible {
  background: var(--brand-accent);
  transform: translateY(-3px) scale(1.05);
}

/* ===================================================================
   Testimonials section
=================================================================== */
.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 12px 30px rgba(13, 19, 23, 0.06);
  border: 1px solid rgba(13, 19, 23, 0.05);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(13, 19, 23, 0.12);
}
.testimonial-stars {
  color: var(--brand-accent);
  font-size: 0.95rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  color: #394149;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.avatar-initial {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, #42789e, #0d2a44);
}
.avatar-initial.alt-1 {
  background: linear-gradient(135deg, #8cb3cf, #1d3b56);
}
.avatar-initial.alt-2 {
  background: linear-gradient(135deg, #f58a07, #b9620a);
}
.testimonial-author-name {
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.testimonial-author-role {
  font-size: 0.85rem;
  color: #5b5b5b;
  margin: 0;
}
.testimonial-quote-icon {
  color: var(--brand-accent);
  font-size: 1.6rem;
  opacity: 0.5;
  line-height: 1;
}

/* ===================================================================
   Leadership / team section
=================================================================== */
.leader-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0d2238;
  box-shadow: 0 16px 34px rgba(13, 19, 23, 0.1);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(13, 19, 23, 0.16);
}
.leader-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}
.leader-card:hover img {
  transform: scale(1.05);
}
.leader-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  background: #ffffff;
}
.leader-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #111827;
  margin: 0;
}
.leader-role {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-accent);
  background: rgba(245, 138, 7, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.leader-socials {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.6rem;
}
.leader-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #111827;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.leader-socials a:hover {
  background: var(--brand-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===================================================================
   Service icon / illustration cards
=================================================================== */
.service-illustration {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(13, 19, 23, 0.12);
}
.service-illustration img,
.service-illustration svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===================================================================
   Chat widget enhancements
=================================================================== */
.chat-widget-toggle {
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
  animation: chatPulse 2.6s ease-in-out infinite;
}
.chat-widget-toggle:hover {
  transform: translateY(-3px) scale(1.04);
}
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 18px 40px rgba(13, 19, 23, 0.16), 0 0 0 0 rgba(245, 138, 7, 0.35); }
  50% { box-shadow: 0 18px 40px rgba(13, 19, 23, 0.16), 0 0 0 8px rgba(245, 138, 7, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .chat-widget-toggle {
    animation: none;
  }
}

.chat-widget-panel {
  transform-origin: bottom right;
  animation: chatPanelIn 0.28s var(--ease-smooth);
}
@keyframes chatPanelIn {
  from { opacity: 0; transform: scale(0.9) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-message {
  animation: chatMsgIn 0.3s var(--ease-smooth);
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa7b5;
  display: inline-block;
  animation: chatTypingDot 1.1s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTypingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
}
.chat-quick-reply {
  border: 1px solid #d1dae8;
  background: #ffffff;
  color: #111827;
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.chat-quick-reply:hover,
.chat-quick-reply:focus-visible {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #ffffff;
  transform: translateY(-2px);
}
.chat-message a {
  color: var(--brand-accent);
  text-decoration: underline !important;
  font-weight: 600;
}
.chat-message.user a {
  color: #ffd9a3;
}

.chat-widget-toggle .chat-widget-icon {
  transition: transform 0.3s var(--ease-smooth);
}
.chat-widget-panel.open ~ .chat-widget-toggle .chat-widget-icon,
.chat-widget-toggle.is-active .chat-widget-icon {
  transform: rotate(90deg);
}

/* ===================================================================
   Footer bottom bar
=================================================================== */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}
.footer-bottom-bar a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom-bar a:hover {
  color: #ffffff;
}
footer a,
footer .row .col,
footer [class*="col-"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Form polish */
.form-control {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(245, 138, 7, 0.15);
}
.form-success {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
}
.form-success.show {
  display: flex;
}
