/*-----------------------------------------------------------------------------------

    CodeNest Technologies — brand overrides
    Loaded after reak.css. Only colors, brand-specific helpers and a few
    new components live here; template layout/animation CSS is untouched.

-----------------------------------------------------------------------------------*/

:root {
  --cn-navy: #071A3D;
  --cn-navy-2: #0B2557;
  --cn-navy-3: #05132E;
  --cn-blue: #1261FF;
  --cn-blue-soft: #E8F0FF;
  --cn-cyan: #00C8C8;
  --cn-cyan-soft: #DDF7F7;
  --cn-bg: #F8FAFC;
  --cn-slate: #4B5A75;

  /* remap template tokens */
  --oit-clr-black: #071A3D;
  --oit-theme-1: #1261FF;
  --oit-grey-1: #F8FAFC;
  --oit-grey-2: #3B4A63;
  --oit-text-body: #4B5A75;
  --oit-border-1: #E2E8F0;
}

html:not(.reak-dark) body {
  background-color: var(--cn-bg);
}

::selection {
  background: var(--cn-blue);
  color: #fff;
}

/* ---------- preloader ---------- */
#preloader {
  background-color: rgba(7, 26, 61, 0.75);
}
.preloader span {
  background: var(--cn-cyan);
}

/* ---------- section labels & highlights ---------- */
.oit-section-subtitle {
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cn-blue);
}
.oit-section-subtitle.oit-text-white {
  color: var(--cn-cyan);
}
.oit-about-text p span {
  color: var(--cn-blue);
}
.reak-dark .oit-about-text p span {
  color: var(--cn-cyan);
}

/* ---------- buttons ---------- */
.oit-btn-border.btn-blue-bg {
  padding: 10px 26px;
  padding-right: 8px;
  color: #fff;
  border-color: var(--cn-blue);
  background-color: var(--cn-blue);
}
.oit-btn-border.btn-blue-bg i {
  color: var(--cn-blue);
  background-color: #fff;
}
.oit-btn-border.btn-blue-bg:hover {
  color: #fff;
  background-color: #0B4FD6;
  border-color: #0B4FD6;
}
@media (max-width: 1399px) {
  .oit-btn-border.btn-blue-bg {
    padding: 5px 26px;
    padding-right: 8px;
  }
}
.oit-btn-border.btn-white-bg:hover {
  color: var(--cn-blue);
}
.oit-btn-border.btn-black-bg:hover {
  background-color: var(--cn-blue);
  border-color: var(--cn-blue);
}
.oit-btn-border.btn-black-bg:hover i {
  color: var(--cn-blue);
}
.oit-btn-line:hover {
  color: var(--cn-blue);
}
.oit-header-bar {
  border: 1px solid rgba(7, 26, 61, 0.08);
}
.oit-header-bdr {
  border-bottom-color: rgba(7, 26, 61, 0.25);
}

/* ---------- hero ---------- */
/* Full-viewport hero on new-hero.jpg (globe on the right). Text column left,
   stats row pinned to the bottom, service labels floating around the globe. */
.cn-hero {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100vh;
  padding-top: clamp(120px, 17vh, 170px);
  padding-bottom: clamp(40px, 6vh, 60px);
}
/* container fills the hero; copy floats in the middle, stats pinned to the bottom */
.cn-hero > .container {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}
.cn-hero-main {
  margin-top: auto;
  margin-bottom: auto;
}
.oit-hero-img img {
  object-position: right center;
}
/* soft navy fade on the left so the copy stays readable; edges darken a touch */
.oit-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 19, 46, 0.72) 0%, rgba(5, 19, 46, 0.42) 30%, rgba(5, 19, 46, 0) 58%),
    linear-gradient(180deg, rgba(5, 19, 46, 0.55) 0%, rgba(5, 19, 46, 0) 26%, rgba(5, 19, 46, 0) 78%, rgba(5, 19, 46, 0.55) 100%);
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .oit-hero-img::after {
    background:
      linear-gradient(90deg, rgba(5, 19, 46, 0.8) 0%, rgba(5, 19, 46, 0.55) 40%, rgba(5, 19, 46, 0) 72%),
      linear-gradient(180deg, rgba(5, 19, 46, 0.55) 0%, rgba(5, 19, 46, 0) 26%, rgba(5, 19, 46, 0) 78%, rgba(5, 19, 46, 0.55) 100%);
  }
}
@media (max-width: 991px) {
  .cn-hero {
    min-height: 0;
    padding-top: 130px;
    padding-bottom: 50px;
  }
  .cn-hero-main { margin-top: 0; margin-bottom: 0; }
  .oit-hero-img::after {
    background:
      linear-gradient(180deg, rgba(5, 19, 46, 0.88) 0%, rgba(5, 19, 46, 0.7) 45%, rgba(5, 19, 46, 0.7) 75%, rgba(5, 19, 46, 0.92) 100%);
  }
}

/* tagline: short cyan rule + "IDEAS | SYSTEMS | SMARTER BUSINESS" */
.cn-hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.cn-hero-tagline::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 2px;
  margin-right: 8px;
  background: var(--cn-cyan);
}
.cn-hero-tagline i {
  font-style: normal;
  color: var(--cn-cyan);
}
@media (max-width: 767px) {
  .cn-hero-tagline { font-size: 11px; letter-spacing: 0.2em; gap: 8px; }
  .cn-hero-tagline::before { width: 24px; margin-right: 4px; }
}

.cn-hero-title {
  font-family: var(--oit-ff-heading);
  font-weight: 600;
  font-size: clamp(44px, 6.4vh, 60px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 26px;
}
.cn-hero-title span {
  color: #1E8FFF;
}
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
  .cn-hero-title { font-size: clamp(40px, 6vh, 52px); }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .cn-hero-title { font-size: 44px; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .cn-hero-title { font-size: 40px; }
}
@media (max-width: 767px) {
  .cn-hero-title { font-size: 32px; }
}
.oit-hero-content p {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
}

.cn-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cn-hero-btns .btn-white-bg {
  color: var(--cn-navy);
}
.cn-hero-btns .btn-white-bg i {
  background-color: var(--cn-navy);
}
/* outline pill, no arrow — "Explore Services" */
.oit-btn-border.cn-btn-outline {
  padding: 15px 26px;
  color: #1E8FFF;
  border-color: rgba(30, 143, 255, 0.55);
  background-color: rgba(7, 26, 61, 0.35);
}
.oit-btn-border.cn-btn-outline:hover {
  color: #fff;
  border-color: var(--cn-cyan);
}
@media (max-width: 1399px) {
  .oit-btn-border.cn-btn-outline { padding: 10px 26px; }
}

/* stats strip under the buttons */
.cn-hero-stats {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: clamp(28px, 5vh, 56px) 0 0;
  padding: 0;
}
.cn-hero-stats li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.cn-hero-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}
.cn-hero-stats li > i {
  font-size: 34px;
  line-height: 1;
  color: #1E8FFF;
}
.cn-hero-stats strong {
  display: block;
  font-family: var(--oit-ff-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  color: #fff;
}
.cn-hero-stats span {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}
@media (max-width: 1599px) {
  .cn-hero-stats li { padding: 4px 22px; gap: 12px; }
}
@media (max-width: 1199px) {
  .cn-hero-stats { margin-top: 50px; }
  .cn-hero-stats li { padding: 4px 20px; }
  .cn-hero-stats li > i { font-size: 28px; }
  .cn-hero-stats strong { font-size: 20px; }
}
@media (max-width: 767px) {
  .cn-hero-stats { margin-top: 36px; row-gap: 18px; }
  .cn-hero-stats li {
    flex: 0 0 50%;
    padding: 0 12px 0 0;
    border-left: 0;
    gap: 10px;
  }
  .cn-hero-stats li > i { font-size: 24px; }
  .cn-hero-stats strong { font-size: 18px; }
  .cn-hero-stats span { font-size: 12px; }
}

/* floating service labels around the globe. The wrapper mimics the background's
   `object-fit: cover; object-position: right center` box (image is 1672×941), so
   % positions map straight onto image pixels whatever the viewport crop is.
   Globe rim in the image: centre (1419,578) r≈357. */
.cn-hero-labels {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: max(100%, calc(100vh * 1672 / 941));
  aspect-ratio: 1672 / 941;
  z-index: 1;
  pointer-events: none;
}
.cn-hero-label {
  position: absolute;
  display: inline-block;
  padding-bottom: 10px;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: auto;
  transition: color 0.3s;
}
.cn-hero-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--cn-cyan);
}
a.cn-hero-label:hover {
  color: var(--cn-cyan);
}
/* right edge of each label sits ~18px off the rim at that height */
.cn-hero-label-1 { right: 27%;   top: 23%; }
.cn-hero-label-2 { right: 35.3%; top: 41%; }
.cn-hero-label-3 { right: 37.5%; top: 63.8%; }
.cn-hero-label-4 { right: 34.3%; top: 80.8%; }
.cn-hero-label-5 { right: 4%;    top: 19%; }
.cn-hero-label-motto {
  right: 4%;
  top: 80%;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}
.cn-hero-label-motto::after {
  width: 44px;
}
/* 1400–1499 on squarer screens: the globe shifts left and MIS would sit on the stats row */
@media (min-width: 1400px) and (max-width: 1499px) and (max-aspect-ratio: 16/9) {
  .cn-hero-label-4 { display: none; }
}

/* ---------- about ---------- */
.oit-about-thumb img {
  border-radius: 16px;
}

/* homepage about: image + floating card left, copy right */
.cn-about-visual {
  position: relative;
  max-width: 640px;
}
@media (min-width: 1200px) {
  .cn-about-content { padding-left: 48px; }
}
.cn-about .oit-about-thumb {
  width: 100%;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(7, 26, 61, 0.45);
}
.cn-about .oit-about-thumb img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}
.cn-about-card {
  position: absolute;
  left: -32px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 340px;
  padding: 20px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(7, 26, 61, 0.08);
  box-shadow: 0 20px 45px -20px rgba(7, 26, 61, 0.35);
}
.cn-about-card > i {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 20px;
  color: var(--cn-blue);
  background: rgba(18, 97, 255, 0.1);
}
.cn-about-card strong {
  display: block;
  font-family: var(--oit-ff-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  color: var(--cn-navy);
}
.cn-about-card span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(7, 26, 61, 0.65);
}
.cn-about-title {
  font-family: var(--oit-ff-heading);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--cn-navy);
  margin-bottom: 22px;
}
.cn-about-title span {
  color: var(--cn-blue);
}
.cn-about-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(7, 26, 61, 0.72);
  margin-bottom: 34px;
}
.cn-about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.cn-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cn-about-list li > i {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 19px;
  color: var(--cn-blue);
  background: rgba(18, 97, 255, 0.08);
  border: 1px solid rgba(18, 97, 255, 0.14);
}
.cn-about-list strong {
  display: block;
  font-family: var(--oit-ff-heading);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  color: var(--cn-navy);
  margin-bottom: 4px;
}
.cn-about-list span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(7, 26, 61, 0.65);
}
.cn-about-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .cn-about-title { font-size: 38px; }
  .cn-about-list { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 991px) {
  .cn-about-visual { margin: 0 auto 60px; }
  .cn-about-card { left: 16px; bottom: 16px; }
  .cn-about-title { font-size: 36px; }
}
@media (max-width: 767px) {
  .cn-about-title { font-size: 30px; }
  .cn-about-lead { font-size: 16px; }
  .cn-about-list { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .cn-about-card { left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 14px 16px; }
}

/* ---------- projects ---------- */
.oit-project-thumb img {
  border-radius: 16px;
}
.oit-project-category span:first-child {
  color: var(--cn-blue);
}
.oit-project-title a:hover {
  color: var(--cn-blue);
}

/* ---------- services (pinned cards) ---------- */
.oit-service-category span {
  color: var(--cn-slate);
}
.oit-service-category span svg {
  color: var(--cn-blue);
}
.oit-service-thumb {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(7, 26, 61, 0.12);
}
.oit-service-title a:hover {
  color: var(--cn-blue);
}

/* ---------- funfact ---------- */
.oit-funfact-title {
  font-weight: 500;
}
.oit-funfact-title i {
  color: var(--cn-navy);
}
.oit-funfact-item span {
  font-weight: 500;
  color: var(--cn-slate);
}
.oit-funfact-area .row > [class^=col]:not(:last-child) .oit-funfact-item {
  border-inline-end-color: rgba(7, 26, 61, 0.1);
}
.oit-funfact-bdr {
  border-color: rgba(7, 26, 61, 0.1) !important;
}

/* ---------- why choose us (re-uses award layout) ---------- */
.cn-why-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--cn-blue);
  background: var(--cn-blue-soft);
  transition: all 0.3s ease-in-out;
}
.oit-award-item:hover .cn-why-icon {
  color: #fff;
  background: var(--cn-blue);
}
.oit-award-content h4.cn-why-title {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--cn-navy);
}
.oit-award-content p.cn-why-desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  padding-left: 0;
  margin: 0;
  color: var(--cn-slate);
}
@media (max-width: 767px) {
  .oit-award-content h4.cn-why-title { font-size: 24px; }
  .oit-award-content p.cn-why-desc { padding: 0; }
  .cn-why-icon { margin-bottom: 20px; }
}
.oit-award-item {
  border-bottom-color: rgba(7, 26, 61, 0.1);
}
.reak-dark .oit-award-content h4.cn-why-title { color: #fff; }
.reak-dark .oit-award-content p.cn-why-desc { color: rgba(255, 255, 255, 0.7); }
.reak-dark .cn-why-icon { background: rgba(255, 255, 255, 0.08); color: var(--cn-cyan); }

/* ---------- how we work (re-uses team layout) ---------- */
.cn-process-num {
  font-family: var(--oit-ff-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--cn-blue);
  display: block;
  margin-bottom: 8px;
}
.oit-team-content .cn-process-num {
  text-transform: uppercase;
}
.cn-process-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--cn-slate);
  max-width: 560px;
  margin: 0;
}
.text-md-end .cn-process-desc {
  margin-left: auto;
}
@media (max-width: 767px) {
  .cn-process-desc { font-size: 16px; margin-top: 12px; }
}
.oit-team-item:hover .oit-team-title {
  color: var(--cn-blue);
}
.reak-dark .cn-process-desc { color: rgba(255, 255, 255, 0.7); }
.oit-img-wrap img {
  border-radius: 16px;
}

/* ---------- engagement models (re-uses price layout) ---------- */
.oit-price-item {
  background-color: var(--cn-navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.oit-price-range {
  font-size: 34px;
}
.nav-tab .nav-links.active {
  color: var(--cn-navy);
}
.oit-price-list-item i {
  color: var(--cn-cyan);
}
.oit-price-info-icon {
  color: var(--cn-cyan);
}
.oit-price-avater-box .cn-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.oit-price-avater-box .cn-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.oit-price-avater-box span {
  color: var(--cn-cyan);
}

/* ---------- faq ---------- */
.oit-faq-accordion-wrap .accordion-item {
  border: 1px solid rgba(7, 26, 61, 0.06);
}
.oit-faq-accordion-wrap .accordion-button:not(.collapsed) {
  color: var(--cn-blue);
}
.oit-faq-accordion-wrap .accordion-icon {
  color: var(--cn-blue);
}

/* ---------- contact (dg-contact layout on navy) ---------- */
.dg-contact-input-box input:focus,
.dg-contact-textarea-box textarea:focus {
  border-color: var(--cn-cyan);
}
.dg-contact-social a:hover {
  color: var(--cn-cyan);
}
.dg-contact-info a:hover {
  color: #fff;
}
.cn-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cn-cyan);
  background: rgba(0, 200, 200, 0.1);
  border: 1px solid rgba(0, 200, 200, 0.25);
  margin-bottom: 24px;
}
.cn-contact-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cn-cyan);
  display: inline-block;
}
.dg-contact-select .nice-select {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- marquee / CTA ---------- */
.oit-text-slider-item span {
  color: rgba(255, 255, 255, 0.12);
}
.oit-text-slider-item span svg {
  color: var(--cn-cyan);
}
.cn-cta-title {
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
}
.cn-cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 34px;
}
@media (max-width: 991px) {
  .cn-cta-title { font-size: 34px; }
}
@media (max-width: 767px) {
  .cn-cta-title { font-size: 28px; }
  .cn-cta-text { font-size: 16px; }
}

/* ---------- footer ---------- */
.oit-footer-area {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.oit-footer-widget-menu ul li a:hover,
.oit-footer-widget-menu ul li a:hover svg {
  color: var(--cn-cyan);
}
.oit-footer-widget-menu ul li a svg {
  color: var(--cn-cyan);
}
.oit-footer-widget-social a:hover {
  color: var(--cn-cyan);
}
.oit-footer-widget-info a:hover span {
  color: var(--cn-cyan);
}
.cn-footer-brand {
  display: block;
  margin-bottom: 30px;
}
.cn-footer-brand img {
  width: 220px;
  max-width: 100%;
  height: auto;
}
.cn-footer-tagline {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}
.oit-footer-widget-copyright p {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- logos ---------- */
.oit-header-logo img,
.oitoffcanvas__logo img {
  height: auto;
  object-fit: contain;
}
.oitoffcanvas__logo img {
  width: 200px;
}
.oit-header-logo img {
  max-height: 46px;
}

/* ---------- inner pages ---------- */
.blog-details-breadcrumb-badges .badge {
  background: var(--cn-blue-soft);
  color: var(--cn-blue);
}
.ba-about-vision-item p span {
  color: var(--cn-blue);
}
.cn-service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--cn-blue);
  background: var(--cn-blue-soft);
  margin-bottom: 24px;
}

/* ---------- dark theme polish ---------- */
.reak-dark .oit-section-subtitle { color: var(--cn-cyan); }
.reak-dark .oit-btn-border.btn-white-bg:hover { color: var(--cn-navy); }
.reak-dark .oit-header-bar { border-color: rgba(255, 255, 255, 0.1); }

/* ---------- transparent header over the navy hero (homepage) ---------- */
.cn-header-light .oit-header-menu nav > ul > li > a {
  color: #fff;
}
.cn-header-light .oit-header-menu nav > ul > li > a:hover {
  color: var(--cn-cyan);
}
.cn-header-light.oit-header-bdr {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.cn-header-light .oit-header-menu nav ul li .submenu li a {
  color: var(--cn-navy);
}
.cn-header-light .oit-btn-border.btn-black-bg {
  color: var(--cn-navy);
  border-color: #fff;
  background-color: #fff;
}
.cn-header-light .oit-btn-border.btn-black-bg i {
  color: #fff;
  background-color: var(--cn-navy);
}
.cn-header-light .oit-btn-border.btn-black-bg:hover {
  color: #fff;
  background-color: var(--cn-blue);
  border-color: var(--cn-blue);
}
.cn-header-light .oit-btn-border.btn-black-bg:hover i {
  color: var(--cn-blue);
  background-color: #fff;
}
.oit-header-menu nav > ul > li > a:hover {
  color: var(--cn-blue);
}
.oit-header-menu nav ul li .submenu li:hover > a {
  color: var(--cn-blue);
}
.oit-header-menu nav ul li .submenu li a::before {
  background-color: var(--cn-blue);
}

/* ---------- about page: why choose us cards ---------- */
.sd-choose-card-icon.cn-choose-icon {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--cn-blue);
  background: var(--cn-blue-soft);
}
.dg-step-item span {
  color: var(--cn-blue);
}
.ba-about-vision-inner ul li span::before,
.ba-about-vision-inner ul li::before {
  color: var(--cn-blue);
}

/* decorative ring shape (image is exported at 2x) */
.oit-about-shape img,
.oit-project-shape img[src*="ab-shape-1"] {
  width: 230px;
  height: 230px;
  border-radius: 20px;
}

/* homepage about thumb: image exported at 2x, keep original 346px footprint */
.oit-about-area .oit-about-content-wrap .oit-about-thumb {
  width: 346px;
  max-width: 100%;
}
@media (max-width: 767px) {
  .oit-about-area .oit-about-content-wrap .oit-about-thumb {
    width: 100%;
  }
}

/* service card thumb: image exported at 2x, keep original 555px footprint */
.oit-service-thumb {
  width: 555px;
  max-width: 100%;
}
.oit-service-thumb img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 767px) {
  .oit-service-thumb { width: 100%; }
}
.oit-project-category {
  flex: 0 0 auto;
  margin-left: 20px;
}
.oit-project-category span {
  font-size: 17px;
}

.oit-price-avater-box .cn-mark {
  display: inline-flex;
}
@media (max-width: 767px) {
  .oit-footer-widget-info a {
    font-size: 20px;
    word-break: break-word;
  }
  .oit-footer-widget-social a {
    font-size: 24px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .oit-footer-widget-info a {
    font-size: 22px;
    word-break: break-word;
  }
}

/* ---------- 404 ---------- */
.cn-error-code {
  font-family: var(--oit-ff-heading);
  font-weight: 700;
  font-size: 200px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
}
.cn-error-code::after {
  content: "";
  display: block;
  width: 90px;
  height: 6px;
  border-radius: 3px;
  margin: 28px auto 0;
  background: var(--cn-cyan);
}
.error-area .error-title {
  color: #fff;
}
.cn-error-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}
.error-area .oit-btn-border.btn-black-bg {
  color: var(--cn-navy);
  background: #fff;
  border-color: #fff;
}
.error-area .oit-btn-border.btn-black-bg i {
  color: #fff;
  background: var(--cn-navy);
}
@media (max-width: 767px) {
  .cn-error-code { font-size: 120px; }
}

/* ---------- service details ---------- */
.cn-service-cta.oit-price-item {
  min-height: auto;
  padding: 35px;
}
.cn-service-cta p {
  color: rgba(255, 255, 255, 0.7);
}
.cn-other-services li a span {
  transition: color 0.3s;
}
.cn-other-services li a:hover span {
  color: var(--cn-blue);
}
.service-details-thumb img,
.project-details-thumb img {
  border-radius: 20px;
}
.career-details-list li span::before {
  color: var(--cn-blue);
}
.project-details-subtitle {
  color: var(--cn-blue);
}
.contact-details-time strong {
  font-size: 34px;
}

/* ---------- dark twins: real white logo instead of CSS invert ---------- */
.reak-dark .header-dark .oit-header-logo img,
.reak-dark .oit-header-logo img {
  filter: none;
}
.reak-dark .oit-btn-border.btn-black-bg {
  color: var(--cn-navy);
  background-color: #fff;
  border-color: #fff;
}
.reak-dark .oit-btn-border.btn-black-bg i {
  color: #fff;
  background-color: var(--cn-navy);
}
.reak-dark .oit-btn-border.btn-black-bg:hover {
  color: #fff;
  background-color: var(--cn-blue);
  border-color: var(--cn-blue);
}
.reak-dark .oit-btn-border.btn-black-bg:hover i {
  color: var(--cn-blue);
  background-color: #fff;
}
.reak-dark .oit-price-item {
  background-color: var(--cn-navy-2);
}
.reak-dark .oit-service-category span {
  color: var(--cn-slate);
}
.reak-dark .oit-funfact-title i {
  color: #fff;
}
.reak-dark .sd-funfact-card[data-bg-color="#fff"] .sd-funfact-title,
.reak-dark .sd-funfact-card[data-bg-color="#fff"] span,
.reak-dark .sd-funfact-card[data-bg-color="#fff"] p {
  color: var(--cn-navy);
}
.reak-dark .contact-details-time strong,
.reak-dark .contact-details-big-title,
.reak-dark .contact-details-info-top span,
.reak-dark .contact-details-info-top a,
.reak-dark .contact-details-info-bottom span,
.reak-dark .contact-details-info-bottom a,
.reak-dark .service-details-content p,
.reak-dark .postbox-title,
.reak-dark .project-details-author-info p,
.reak-dark .career-details-list li span,
.reak-dark .cn-process-desc {
  color: rgba(255, 255, 255, 0.85);
}
.reak-dark .career-details-list li span::before {
  color: var(--cn-cyan);
}
.reak-dark .dg-contact-area.faq-style .oit-section-title,
.reak-dark .dg-contact-area.faq-style .dg-contact-info a,
.reak-dark .dg-contact-area.faq-style .dg-contact-info span,
.reak-dark .dg-contact-area.faq-style label,
.reak-dark .dg-contact-area.faq-style input,
.reak-dark .dg-contact-area.faq-style textarea {
  color: #fff;
}
.reak-dark .dg-contact-area.faq-style input::placeholder,
.reak-dark .dg-contact-area.faq-style textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.reak-dark .dg-step-item[data-bg-color="#F5F5F5"] {
  background-color: var(--cn-navy-2) !important;
}

/* long email on narrow screens */
.oitoffcanvas__info-address a {
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .oit-footer-widget-info a {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
}

.oit-header-menu nav ul li .submenu {
  width: 270px;
}

/* ---------- footer (PHP version) ---------- */
.cn-footer-title {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 16px;
}
.cn-footer-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 26px;
}
.cn-footer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.cn-footer-list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cn-footer-list li:first-child {
  padding-top: 0;
}
.cn-footer-list li span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cn-cyan);
}
.cn-footer-list li a,
.cn-footer-list li strong {
  font-family: var(--oit-ff-heading);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  overflow-wrap: anywhere;
  transition: color 0.3s;
}
.cn-footer-list li a:hover {
  color: var(--cn-cyan);
}
.oit-footer-widget-social a {
  font-size: 24px;
  padding: 14px 0;
}
.oit-footer-widget-menu ul li a {
  font-size: 26px;
}
.oit-footer-widget-copyright p {
  font-size: 15px;
}
/* card 1: logo + intro + menu, legal links pinned to the card bottom */
.cn-footer-main {
  display: flex;
  flex-direction: column;
}
.cn-footer-main .cn-footer-brand {
  margin-bottom: 22px;
}
.cn-footer-intro {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cn-footer-menu ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  padding: 0;
  margin: 0;
}
.cn-footer-menu ul li:not(:last-child) {
  margin-bottom: 0;
}
.cn-footer-menu ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  transition: color 0.3s, gap 0.3s;
}
.cn-footer-menu ul li a:hover {
  gap: 12px;
}
.cn-footer-menu ul li a svg {
  width: 18px;
  height: 18px;
}
.cn-footer-rules {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cn-footer-rules a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.cn-footer-rules a:hover {
  color: var(--cn-cyan);
}
@media (max-width: 767px) {
  .cn-footer-title { font-size: 20px; }
  .cn-footer-list li a, .cn-footer-list li strong { font-size: 16px; }
  .oit-footer-widget-menu ul li a { font-size: 22px; }
  .cn-footer-menu ul li a { font-size: 18px; }
  .cn-footer-rules { margin-top: 30px; }
  .oit-footer-widget-social a { font-size: 20px; }
}

/* ---------- inner-page header (includes/page-header.php) ---------- */
.cn-page-header {
  overflow: hidden;
  padding: 190px 0 90px;
  background: var(--cn-navy-3);
  color: #fff;
}
.cn-page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cn-page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 35%;
}
.cn-page-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 19, 46, 0.94) 0%, rgba(5, 19, 46, 0.78) 40%, rgba(5, 19, 46, 0.25) 75%, rgba(5, 19, 46, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 19, 46, 0.55) 0%, rgba(5, 19, 46, 0) 35%, rgba(5, 19, 46, 0) 70%, rgba(5, 19, 46, 0.6) 100%);
}
.cn-page-header .container {
  position: relative;
  z-index: 1;
}
/* template 3D shape, spins on scroll (script sets transform inline — no translate here) */
.cn-page-shape {
  position: absolute;
  z-index: 1;
  right: 7%;
  top: calc(50% - 110px);
  width: 260px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}
@media (max-width: 1199px) {
  .cn-page-shape { width: 200px; top: calc(50% - 80px); right: 5%; }
}
@media (max-width: 991px) {
  .cn-page-shape { width: 150px; top: 120px; right: 4%; }
}
@media (max-width: 767px) {
  .cn-page-shape { width: 100px; top: 100px; right: 16px; }
}
.cn-page-crumb {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cn-page-crumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}
.cn-page-crumb a:hover {
  color: var(--cn-cyan);
}
.cn-page-crumb i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cn-cyan);
}
.cn-page-title {
  font-family: var(--oit-ff-heading);
  font-weight: 600;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 28px 0 0;
}
.cn-page-subtitle {
  position: relative;
  max-width: 620px;
  margin: 22px 0 0;
  padding-top: 20px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
.cn-page-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--cn-cyan);
}
/* banner entrance (CSS, independent of the GSAP fade-anim init) */
@keyframes cnFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cn-page-header .cn-anim {
  animation: cnFadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.cn-page-header .cn-anim-1 { animation-delay: 0.25s; }
.cn-page-header .cn-anim-2 { animation-delay: 0.4s; }
.cn-page-header .cn-anim-3 { animation-delay: 0.55s; }
@media (max-width: 991px) {
  .cn-page-header { padding: 160px 0 70px; }
  .cn-page-header-bg img { object-position: 80% 35%; }
  .cn-page-header-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 19, 46, 0.82) 0%, rgba(5, 19, 46, 0.7) 50%, rgba(5, 19, 46, 0.85) 100%);
  }
}
@media (max-width: 767px) {
  .cn-page-header { padding: 140px 0 56px; }
  .cn-page-title { font-size: 36px; margin-top: 22px; }
  .cn-page-subtitle { font-size: 16px; margin-top: 18px; padding-top: 16px; }
  .cn-page-crumb { font-size: 12px; padding: 7px 14px; }
}

/* ---------- contact form feedback ---------- */
.cn-form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}
.cn-form-alert i {
  font-size: 20px;
  margin-top: 2px;
}
.cn-form-alert a {
  text-decoration: underline;
  color: inherit;
}
.cn-form-alert--ok {
  color: #0F7A5A;
  background: #DCF6EC;
  border: 1px solid #B6EAD5;
}
.cn-form-alert--error {
  color: #B42318;
  background: #FEE4E2;
  border: 1px solid #FECDCA;
}
.dg-contact-area[data-bg-color="#071A3D"] .cn-form-alert--ok,
.dg-contact-area[data-bg-color="#0B2557"] .cn-form-alert--ok {
  color: #9BF0D0;
  background: rgba(0, 200, 200, 0.12);
  border-color: rgba(0, 200, 200, 0.3);
}
.dg-contact-area[data-bg-color="#071A3D"] .cn-form-alert--error,
.dg-contact-area[data-bg-color="#0B2557"] .cn-form-alert--error {
  color: #FFB4AB;
  background: rgba(255, 90, 80, 0.12);
  border-color: rgba(255, 90, 80, 0.3);
}
.cn-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- active menu item ---------- */
.oit-header-menu nav > ul > li.active > a {
  color: var(--cn-blue);
}
.cn-header-light .oit-header-menu nav > ul > li.active > a {
  color: var(--cn-cyan);
}

/* equal-height footer cards */
.oit-footer-area .row > [class*="col-"] {
  display: flex;
}
.oit-footer-area .oit-footer-widget {
  width: 100%;
}
