/* NetOPZ site chrome — IBM Plex Sans + Sora, brand blue #2B3990 */
:root {
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-display: 'Sora', 'IBM Plex Sans', system-ui, sans-serif;
  --brand: #2b3990;
  --brand-ink: #1a2460;
  --surface: #f4f7fb;
  --surface-2: #e8eef7;
  --text: #1e293b;
  --muted: #64748b;
  --radius: 10px;
  --shadow-soft: 0 10px 30px rgba(43, 57, 144, 0.12);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --header-offset: 0px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
.text_heading,
.carousel-heading,
.footer-widget h3 {
  font-family: var(--font-display);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Header: 1024/1025 chrome, sticky, no d-lg clash ——— */
.header-desktop {
  display: none;
}

.header_mobile {
  display: block;
}

@media (min-width: 1025px) {
  .header-desktop {
    display: block;
  }

  .header_mobile {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .header-desktop {
    display: none !important;
  }

  .header_mobile {
    display: block;
  }
}

#site-header.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

#site-header .octf-main-header,
#site-header .header_mobile .mlogo_wrapper {
  transition:
    background-color 0.35s var(--ease-out-quart),
    box-shadow 0.35s var(--ease-out-quart),
    backdrop-filter 0.35s var(--ease-out-quart);
}

#site-header .octf-main-header.is-stuck,
#site-header.mobile-header-sticky .header_mobile.is-stuck {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 28px rgba(26, 36, 96, 0.1) !important;
}

#site-header .main-navigation > ul > li > a:hover,
#site-header .main-navigation > ul > li:hover > a {
  color: var(--brand);
}

/* Keep Free Quote CTA visible ≤1440px (theme hides it) */
@media (max-width: 1440px) {
  #site-header .octf-btn-cta .btn-cta-header {
    display: block !important;
  }
}

@media (max-width: 1265px) and (min-width: 1025px) {
  #site-header .octf-btn-cta .contact-header {
    display: none;
  }
}

.mobile_nav {
  display: none;
}

.btn-hero,
.read-more-btn,
.octf-btn-third,
a.read-more-btn {
  transition:
    transform 0.28s var(--ease-out-quart),
    box-shadow 0.28s var(--ease-out-quart),
    background-color 0.28s var(--ease-out-quart);
}

.btn-hero:hover,
.read-more-btn:hover,
.octf-btn-third:hover,
a.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ——— Homepage hero ——— */
.home2-top {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 480px at 85% 10%, rgba(43, 57, 144, 0.14), transparent 60%),
    radial-gradient(900px 420px at 10% 80%, rgba(67, 186, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  padding-block: 1.5rem 2rem;
}

.home2-top .text_heading {
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}

.home2-top .small-text {
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.home2-top .carousel-item img {
  max-width: 100%;
  height: auto;
}

/*
 * Theme style.css sets `.carousel-item { display: flex }` which overrides
 * Bootstrap 5's `display: none` on inactive slides — all slides stack.
 */
#homeCarousel.carousel {
  position: relative;
}

#homeCarousel .carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#homeCarousel .carousel-item {
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  position: relative;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
  min-height: 420px;
  height: auto;
  align-items: center;
}

#homeCarousel .carousel-item.active,
#homeCarousel .carousel-item-next,
#homeCarousel .carousel-item-prev {
  display: flex;
}

#homeCarousel .carousel-item .row {
  width: 100%;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  #homeCarousel .carousel-item {
    transition: none;
  }
}

.hero-enter {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-enter {
    opacity: 0;
    transform: translateY(14px);
    animation: heroEnter 0.7s var(--ease-out-expo) 0.08s forwards;
  }

  .hero-enter-delay {
    animation-delay: 0.18s;
  }
}

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.65s var(--ease-out-quart),
      transform 0.65s var(--ease-out-quart);
  }

  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-stagger > *:nth-child(1) {
    transition-delay: 0.05s;
  }
  .reveal-stagger > *:nth-child(2) {
    transition-delay: 0.12s;
  }
  .reveal-stagger > *:nth-child(3) {
    transition-delay: 0.19s;
  }
  .reveal-stagger > *:nth-child(4) {
    transition-delay: 0.26s;
  }
  .reveal-stagger > *:nth-child(5) {
    transition-delay: 0.33s;
  }
  .reveal-stagger > *:nth-child(6) {
    transition-delay: 0.4s;
  }
}

#homeCarousel .carousel-control-prev,
#homeCarousel .carousel-control-next {
  width: 2.75rem;
  height: 2.75rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  border-radius: 50%;
  background: rgba(43, 57, 144, 0.85);
  opacity: 0.9;
}

#homeCarousel .carousel-control-prev {
  left: 0.25rem;
}

#homeCarousel .carousel-control-next {
  right: 0.25rem;
}

/* Tech tabs: horizontal scroll on small screens */
.project_filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.project_filters li {
  flex: 0 0 auto;
}

.section-technology .tech-box {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.28s var(--ease-out-quart),
    background-color 0.28s var(--ease-out-quart);
}

.section-technology .tech-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
}

.clamped-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamped-text.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* ——— Shared page header (replace wpdemo BGs) ——— */
.page-header,
.page-header.page-header--brand {
  background-image: none !important;
  background:
    linear-gradient(135deg, var(--brand-ink) 0%, var(--brand) 55%, #3d4fb0 100%) !important;
  color: #fff;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.page-header .page-title,
.page-header .breadcrumbs,
.page-header .breadcrumbs a,
.page-header .breadcrumbs li {
  color: #fff !important;
}

.page-header .breadcrumbs a:hover {
  text-decoration: underline;
}

/* ——— Footer polish ——— */
.footer-area {
  background: #0f172a;
}

footer a[href='/qr-code-generator'] {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  color: #93c5fd !important;
}

footer a[href='/qr-code-generator']:hover {
  color: #bfdbfe !important;
}

.netopz-contact-form .form-control,
.qr-builder .form-control {
  min-height: 48px;
}

.qr-builder {
  max-width: 720px;
  margin: 0 auto;
}

.qr-preview img {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.faq-section .faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}

.faq-section .faq-item h3 {
  font-size: 1.1rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.top-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-quart);
}

.top-btn:hover {
  transform: translateY(-2px);
}

.top-btn[hidden] {
  display: none !important;
}

.page-hero-lite {
  padding: 3rem 0 1.5rem;
}

.page-hero-lite h1 {
  color: var(--brand);
}

/* —— Design pages: services + projects (replaces dumped Owl carousels) —— */
.exceptional-wrapper {
  background: var(--surface);
  padding: 3.5rem 0;
}

.exceptional-inner {
  position: relative;
}

.exceptional-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.75rem;
  color: var(--brand-ink);
}

.exceptional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.exceptional-wrapper .exceptional-item {
  background: #e8eff4;
  border-radius: 1.25rem;
  min-height: 0;
  padding: 1.5rem 1.25rem;
  transition: transform 0.3s var(--ease-out-quart), background-color 0.3s ease;
  overflow: hidden;
}

.exceptional-wrapper .exceptional-item:hover {
  transform: translateY(-6px);
  background: #dde7ef;
}

.exceptional-wrapper .exceptional-item .image-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  padding: 0.65rem;
  background: #d5dee8;
  border-radius: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exceptional-wrapper .exceptional-item .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.exceptional-wrapper .exceptional-item .titlee {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  color: var(--brand-ink);
}

.exceptional-wrapper .exceptional-item .subtitlee {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  color: var(--muted);
  white-space: normal;
  overflow-wrap: anywhere;
}

.tech-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.tech-logo-grid .item {
  text-align: center;
}

.tech-logo-grid .image-wrapper {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-logo-grid .image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tech-logo-grid .title {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text);
}

.latest-projects {
  padding: 3rem 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.project-grid .box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
}

.project-grid .box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-grid .box-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.project-grid .box-content .title {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.project-grid .box-content .icon a {
  color: #fff;
}

/* Contact form panel on design landing heroes */
.form-wrapper-detail {
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 8px 28px rgba(2, 149, 233, 0.18);
  position: relative;
  z-index: 2;
}

.form-wrapper-detail .title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--brand-ink);
}

.form-wrapper-detail label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.form-wrapper-detail .input,
.form-wrapper-detail textarea,
.form-wrapper-detail .form-control {
  border-radius: 6px;
  border: 1px solid #ccc;
  background: transparent;
  padding: 0.65rem 0.75rem;
  display: block;
  width: 100%;
  color: #000;
}

.game-right-image img {
  max-width: 100%;
  height: auto;
}

.about-photo-stack {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  min-height: 280px;
}

.about-photo {
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.about-photo--main {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
}

.about-photo--accent {
  position: absolute;
  width: 42%;
  max-width: 220px;
  bottom: -1rem;
  left: -0.5rem;
  border: 3px solid #fff;
}

.clients-strip {
  background: #fff;
  border-block: 1px solid rgba(15, 23, 42, 0.06);
}

.clients-strip__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.clients-strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
}

.clients-strip__row img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.clients-strip__row img:hover {
  filter: none;
  opacity: 1;
}

.clients-strip__row--infra img {
  height: 28px;
  opacity: 0.65;
}

@media (max-width: 575.98px) {
  .about-photo--accent {
    position: static;
    width: 70%;
    margin-top: 0.75rem;
    border-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter,
  .reveal-on-scroll,
  .btn-hero,
  .read-more-btn,
  .octf-btn-third,
  a.read-more-btn,
  .top-btn,
  #site-header .octf-main-header,
  #site-header .header_mobile .mlogo_wrapper {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
