:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-2: #f0f6fc;
  --panel: #ffffff;
  --panel-2: #edf5ff;
  --line: rgba(12, 31, 56, 0.10);
  --text: #102033;
  --muted: #5e7086;
  --brand: #0b67c2;
  --brand-2: #00a7d8;
  --brand-3: #0a2f70;
  --silver: #566170;
  --shadow: 0 26px 70px rgba(15, 43, 78, 0.12);
  --shadow-soft: 0 16px 42px rgba(15, 43, 78, 0.08);
  --radius: 24px;
  --radius-lg: 32px;
  --container: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(11,103,194,0.10), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(0,167,216,0.10), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.08; color: var(--text); }
.section { position: relative; padding: 6rem 0; }
.container { width: var(--container); margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  padding: .55rem .85rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(11,103,194,0.16);
  border-radius: 999px;
  color: var(--brand-3);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .73rem;
  font-weight: 800;
  background: rgba(11,103,194,0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #0b67c2, #08a7d6);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(11, 103, 194, 0.24);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(11, 103, 194, 0.30);
}
.btn-secondary {
  background: #ffffff;
  color: var(--brand-3);
  border-color: rgba(11,103,194,0.22);
  box-shadow: 0 14px 32px rgba(15, 43, 78, 0.08);
}
.btn-secondary:hover {
  background: #eef7ff;
}
.btn-sm {
  min-height: 42px;
  padding: 0 1rem;
  color: #ffffff !important;
}

.glass {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(12,31,56,0.10);
  backdrop-filter: blur(10px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(12,31,56,0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 4px;
}
.brand strong {
  display: block;
  font-size: 1.02rem;
  color: var(--brand-3);
}
.brand small {
  color: var(--muted);
  display: block;
  margin-top: .18rem;
}
.nav {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.nav a {
  color: #26384d;
  font-weight: 700;
  transition: color .2s ease;
}
.nav a:hover { color: var(--brand); }
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 46px; height: 46px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-3);
  margin: 5px auto;
  transition: .25s ease;
}

.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,247,255,.82)),
    radial-gradient(circle at 90% 18%, rgba(0,167,216,0.13), transparent 24%);
}
.hero-bg,
.feature-bg,
.contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.hero-bg {
  background-image: url('assets/images/hero-telecom.svg');
  opacity: .10;
  filter: saturate(.9);
}
.feature-bg {
  background-image: url('assets/images/partnership.svg');
  opacity: .08;
}
.contact-bg {
  background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80');
  opacity: .08;
}
.hero-grid,
.feature-grid,
.contact-grid,
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr .94fr;
  gap: 2.2rem;
  align-items: center;
}
.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 6vw, 5rem);
  letter-spacing: -.045em;
}
.lead {
  font-size: 1.14rem;
  max-width: 62ch;
  color: #40536a;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin: 2rem 0;
}
.trusted-strip {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(12,31,56,0.10);
}
.trusted-strip span {
  display: block;
  margin-bottom: .8rem;
  color: #26384d;
  font-weight: 800;
}
.logo-line {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.logo-line a,
.link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .45rem .72rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11,103,194,0.18);
  color: var(--brand);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15,43,78,0.06);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.logo-line a:hover,
.link-chip:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0b67c2, #08a7d6);
  color: #ffffff;
  border-color: transparent;
}

.hero-panel {
  display: grid;
  gap: 1.2rem;
}
.hero-logo-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #ffffff, #f2f8ff);
}
.hero-logo-card img {
  width: 100%;
  height: auto;
  border-radius: 22px;
}
.metric-card,
.dashboard,
.contact-card,
.point {
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}
.metric-card span,
.dashboard small {
  color: #60758d;
}
.metric-card strong,
.dashboard strong {
  display: block;
  margin-top: .45rem;
  font-size: 1.35rem;
  color: var(--text);
}
.dashboard .dash-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  color: #26384d;
  font-weight: 800;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 8px rgba(0,167,216,0.13);
}
.dash-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.dash-row > div,
.stats-grid article,
.project-card,
.service-card {
  background: #ffffff;
  border: 1px solid rgba(12,31,56,0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.dash-row > div { padding: 1rem; }
.dash-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .8rem;
  align-items: end;
  margin-top: 1rem;
  min-height: 160px;
}
.dash-chart span {
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  animation: pulseBars 3s ease-in-out infinite;
}
.dash-chart span:nth-child(1) { height: 42%; }
.dash-chart span:nth-child(2) { height: 80%; animation-delay: .2s; }
.dash-chart span:nth-child(3) { height: 58%; animation-delay: .4s; }
.dash-chart span:nth-child(4) { height: 90%; animation-delay: .6s; }
.dash-chart span:nth-child(5) { height: 68%; animation-delay: .8s; }

.intro-band {
  padding-top: 3rem;
  background: #ffffff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.stats-grid article { padding: 1.5rem; }
.stats-grid strong {
  display: block;
  margin-bottom: .65rem;
  font-size: 1.05rem;
  color: var(--brand-3);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}
.section-heading h2,
.feature-copy h2,
.contact-copy h2,
.cta-grid h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.service-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.service-card,
.project-card {
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(11,103,194,0.25);
  box-shadow: 0 28px 70px rgba(15, 43, 78, 0.14);
}
.service-card img,
.project-card img,
.feature-visual img,
.contact-visual img {
  width: 100%;
  height: auto;
}
.service-card img {
  height: 230px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02) brightness(.97);
  transform: scale(1.01);
  transition: transform .45s ease, filter .35s ease;
}
.service-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04) brightness(1);
}
.project-card {
  position: relative;
}
.project-card img {
  height: 232px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.03);
  transition: transform .45s ease, filter .35s ease;
  background: #eaf4ff;
}
.project-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.12) contrast(1.05);
}
.project-copy h3 a {
  color: var(--brand-3);
  border-bottom: 2px solid rgba(11,103,194,0.18);
  transition: color .2s ease, border-color .2s ease;
}
.project-copy h3 a:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.service-card {
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 230px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 1;
}
.service-card .service-body {
  position: relative;
  z-index: 2;
}
.service-body,
.project-copy {
  padding: 1.35rem;
}
.service-body ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.75;
}

.feature-band {
  background: linear-gradient(135deg, #f7fbff, #ffffff);
  overflow: hidden;
}
.feature-band::after,
.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.62), rgba(246,249,253,0.92));
  z-index: 0;
}
.feature-band > .container,
.contact-section > .container {
  position: relative;
  z-index: 1;
}
.feature-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.point strong {
  display: block;
  margin-bottom: .6rem;
  color: var(--brand-3);
}
.point span {
  color: var(--muted);
  line-height: 1.65;
}
.feature-visual img,
.contact-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: #ffffff;
}

.cta-band {
  padding-top: 2rem;
}
.cta-grid {
  background:
    linear-gradient(135deg, rgba(11,103,194,0.10), rgba(0,167,216,0.08)),
    #ffffff;
  border: 1px solid rgba(12,31,56,0.09);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-section {
  background: linear-gradient(180deg, #ffffff, #f6f9fd);
  overflow: hidden;
}
.contact-card a {
  color: var(--brand);
  font-weight: 800;
  border-bottom: 1px solid rgba(11,103,194,0.24);
}
.footer {
  border-top: 1px solid rgba(12,31,56,0.08);
  padding: 1.2rem 0 2rem;
  background: #ffffff;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.footer a {
  color: var(--brand);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }

@keyframes pulseBars {
  0%, 100% { transform: scaleY(.95); filter: brightness(.98); }
  50% { transform: scaleY(1.04); filter: brightness(1.08); }
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .contact-grid,
  .cta-grid,
  .service-grid,
  .portfolio-grid,
  .stats-grid,
  .feature-points {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 { max-width: none; }
  .hero { min-height: auto; padding-top: 2rem; }
  .cta-grid { text-align: left; }
  .hero-logo-card img { max-height: 300px; object-fit: contain; }
}

@media (max-width: 760px) {
  .section { padding: 4.7rem 0; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: calc(100% + .75rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(12,31,56,0.10);
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: .7rem .2rem; }
  .brand img { width: 56px; height: 56px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}


/* Active nav link */
.nav a.active {
  color: var(--brand);
  position: relative;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 2px;
}


/* v1.4.0 navigation polish */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 8px 20px rgba(11, 103, 194, 0.25);
  transition: width .08s linear;
}

.header {
  transition: min-height .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.header.scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: 0 14px 35px rgba(15, 43, 78, 0.08);
  border-color: rgba(12,31,56,0.10);
}

.header.scrolled .nav-wrap {
  min-height: 72px;
}

.header.scrolled .brand img {
  width: 52px;
  height: 52px;
}

.nav a {
  position: relative;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .25s ease;
}

.nav a:not(.btn):hover::after,
.nav a:not(.btn).active::after {
  width: 100%;
}

.nav a.btn.active::after {
  display: none;
}

section[id] {
  scroll-margin-top: 105px;
}


/* v1.4.1 bluish highlight cards for intro containers */
.stats-grid article {
  background:
    linear-gradient(135deg, rgba(11, 103, 194, 0.96), rgba(0, 167, 216, 0.88)) !important;
  border-color: rgba(11, 103, 194, 0.30) !important;
  box-shadow: 0 24px 58px rgba(11, 103, 194, 0.22) !important;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.stats-grid article::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 35%;
  height: 120px;
  background: rgba(255,255,255,0.16);
  transform: rotate(-10deg);
  border-radius: 999px;
}

.stats-grid article strong {
  color: #ffffff !important;
  position: relative;
  z-index: 1;
}

.stats-grid article p {
  color: rgba(255,255,255,0.88);
  position: relative;
  z-index: 1;
}


/* v1.4.2 Project cards enhancement */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent 60%);
  z-index: 1;
}

.project-card img {
  transition: transform 0.6s ease, filter 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.15);
}

/* Floating glow effect */
.project-card::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(11,103,194,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover::after {
  opacity: 1;
}

/* Text overlay positioning */
.project-copy {
  position: relative;
  z-index: 2;
}

/* Slight lift animation */
.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}


/* v1.5.0 Premium portfolio */
#portfolio {
  background:
    radial-gradient(circle at 14% 10%, rgba(11,103,194,0.08), transparent 28%),
    radial-gradient(circle at 92% 22%, rgba(0,167,216,0.08), transparent 22%),
    linear-gradient(180deg, #ffffff, #f6faff);
}

#portfolio .section-heading {
  position: relative;
}

.portfolio-grid {
  gap: 1.65rem;
}

.project-card {
  border-radius: 28px !important;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff, #f6fbff) !important;
  border: 1px solid rgba(11,103,194,0.12) !important;
  box-shadow: 0 24px 60px rgba(15,43,78,0.10) !important;
}

.project-card::before {
  display: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11,103,194,0.08), transparent 42%),
    radial-gradient(circle at 85% 8%, rgba(0,167,216,0.14), transparent 24%);
  opacity: .65;
  pointer-events: none;
  z-index: 1;
}

.project-card img {
  height: 255px;
  padding: 1rem 1rem 0;
  object-fit: contain;
  background:
    linear-gradient(180deg, #f4f9ff, #eaf4ff);
  border-radius: 28px 28px 0 0;
  filter: none;
}

.project-card:hover img {
  transform: scale(1.035);
  filter: none;
}

.project-card .project-copy {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.45rem 1.55rem;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
}

.project-card .project-copy::before {
  content: "Live project";
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .42rem .68rem;
  border-radius: 999px;
  background: rgba(11,103,194,0.08);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-card h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
}

.project-card h3::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: .88rem;
  transform: translateY(-1px);
  transition: transform .25s ease;
}

.project-card:hover h3::after {
  transform: translate(3px, -4px);
}

.project-card:hover {
  transform: translateY(-12px) scale(1.012);
  box-shadow: 0 36px 90px rgba(11,103,194,0.18) !important;
}

/* Browser-frame treatment for project visuals */
.project-card img {
  position: relative;
}

.project-card .project-copy p {
  margin-bottom: 0;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.portfolio-modal.open {
  display: flex;
}

.portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.54);
  backdrop-filter: blur(8px);
}

.portfolio-modal-card {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.4rem;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(12,31,56,0.12);
  box-shadow: 0 40px 120px rgba(7,17,31,0.35);
  padding: 1.2rem;
}

.portfolio-modal-close {
  position: absolute;
  top: .8rem;
  right: .9rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--brand-3);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.portfolio-modal-browser {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #f4f9ff, #eaf4ff);
  border: 1px solid rgba(12,31,56,0.10);
}

.browser-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 1rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(12,31,56,0.08);
}

.browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e05252;
}

.browser-top span:nth-child(2) { background: #e5b94b; }
.browser-top span:nth-child(3) { background: #4fc16d; }

.browser-top strong {
  margin-left: .8rem;
  color: #60758d;
  font-size: .85rem;
}

.modal-image {
  width: 100%;
  min-height: 430px;
  object-fit: contain;
  padding: 1rem;
}

.portfolio-modal-copy {
  align-self: center;
  padding: 1.4rem;
}

.portfolio-modal-copy h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.035em;
}

.portfolio-modal-copy p {
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .portfolio-modal-card {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow: auto;
  }

  .modal-image {
    min-height: 260px;
  }
}


/* v1.5.1 restore project icons as right-side branded badges */
.project-card .project-copy {
  min-height: 190px;
  padding-right: 9.4rem !important;
  position: relative;
}

.project-icon-badge {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 116px;
  height: 116px;
  transform: translateY(-50%);
  border-radius: 28px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11,103,194,0.12), rgba(0,167,216,0.18)),
    #ffffff;
  border: 1px solid rgba(11,103,194,0.16);
  box-shadow: 0 18px 44px rgba(11,103,194,0.15);
  z-index: 3;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.project-icon-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.8), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.16), transparent 55%);
  pointer-events: none;
}

.project-icon-badge img {
  width: 170%;
  height: 170%;
  max-width: none;
  object-fit: cover;
  padding: 0;
  border-radius: 0;
  transform: scale(1.02);
  filter: saturate(1.18) contrast(1.05);
  background: transparent;
}

.project-card:hover .project-icon-badge {
  transform: translateY(-50%) rotate(2deg) scale(1.06);
  border-color: rgba(11,103,194,0.28);
  box-shadow: 0 26px 58px rgba(11,103,194,0.24);
}

.project-card:nth-child(1) .project-icon-badge {
  background: linear-gradient(135deg, rgba(15,126,185,0.15), rgba(106,240,194,0.18)), #fff;
}

.project-card:nth-child(2) .project-icon-badge {
  background: linear-gradient(135deg, rgba(11,103,194,0.18), rgba(25,181,154,0.15)), #fff;
}

.project-card:nth-child(3) .project-icon-badge {
  background: linear-gradient(135deg, rgba(0,167,216,0.18), rgba(10,47,112,0.12)), #fff;
}

.project-card:nth-child(4) .project-icon-badge {
  background: linear-gradient(135deg, rgba(10,47,112,0.16), rgba(98,199,255,0.18)), #fff;
}

.project-card:nth-child(5) .project-icon-badge {
  background: linear-gradient(135deg, rgba(0,167,216,0.16), rgba(106,240,194,0.16)), #fff;
}

.project-card:nth-child(6) .project-icon-badge {
  background: linear-gradient(135deg, rgba(11,103,194,0.18), rgba(0,167,216,0.15)), #fff;
}

@media (max-width: 760px) {
  .project-card .project-copy {
    padding-right: 1.35rem !important;
    padding-bottom: 8rem !important;
  }

  .project-icon-badge {
    top: auto;
    bottom: 1.2rem;
    right: auto;
    left: 1.35rem;
    width: 96px;
    height: 96px;
    transform: none;
  }

  .project-card:hover .project-icon-badge {
    transform: rotate(2deg) scale(1.04);
  }
}


/* v1.5.2 faster hover responses */
.project-card,
.service-card,
.project-card img,
.service-card img,
.project-icon-badge,
.project-card h3::after,
.logo-line a,
.link-chip,
.btn {
  transition-duration: .18s !important;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.008);
}

.project-card:hover img {
  transform: scale(1.025);
}

.project-card:hover .project-icon-badge {
  transform: translateY(-50%) rotate(1.5deg) scale(1.035);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(11, 103, 194, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease, box-shadow .18s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 24px 54px rgba(11, 103, 194, 0.36);
  transform: translateY(-3px);
}

@media (max-width: 760px) {
  .project-card:hover .project-icon-badge {
    transform: rotate(1.5deg) scale(1.025);
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}


/* v1.6.0 Parallax + blended background */
.contact-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.7), rgba(246,249,253,0.85)),
    url('https://images.unsplash.com/photo-1518779578993-ec3579fee39f?auto=format&fit=crop&w=1600&q=80'),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80');
  background-blend-mode: overlay, normal, normal;
  background-size: cover, cover, cover;
  background-attachment: fixed;
  transform: translateZ(0);
}

/* fallback for mobile (disable parallax) */
@media (max-width: 768px) {
  .contact-bg {
    background-attachment: scroll;
  }
}


/* v1.7.0 premium contact video background + replaced contact icon */
.contact-section {
  isolation: isolate;
}

.contact-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.04);
}

.contact-bg {
  z-index: 0;
  opacity: .34 !important;
  mix-blend-mode: soft-light;
}

.contact-section::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94), rgba(246,249,253,0.78)),
    radial-gradient(circle at 88% 20%, rgba(0,167,216,0.15), transparent 32%) !important;
  z-index: 0;
}

.contact-visual img {
  background: #ffffff;
  border: 1px solid rgba(11,103,194,0.12);
  box-shadow: 0 28px 72px rgba(11,103,194,0.16);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-visual img:hover {
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
  box-shadow: 0 34px 86px rgba(11,103,194,0.22);
}

@media (prefers-reduced-motion: reduce) {
  .contact-video-bg {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-video-bg {
    display: none;
  }

  .contact-visual img {
    transform: none;
  }
}
