:root {
  --bg: #061225;
  --bg-soft: #0b1b34;
  --panel: rgba(13, 29, 54, .78);
  --panel-2: rgba(15, 35, 64, .92);
  --text: #f7f9ff;
  --muted: #9eabc2;
  --line: rgba(137, 157, 201, .18);
  --primary: #20d9ff;
  --primary-2: #00a9c8;
  --cyan: #5ff7ff;
  --white: #fff;
  --shadow: 0 20px 60px rgba(0,0,0,.25);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(32,217,255,.09), transparent 26%),
    radial-gradient(circle at 90% 20%, rgba(0,169,200,.08), transparent 25%),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section-pad { padding: 96px 0; }
.section-with-anchor { position: relative; }
.section-anchor { position: absolute; top: -88px; left: 0; width: 1px; height: 1px; pointer-events: none; }
.section-kicker {
  color: #63eaff;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
  margin: .45rem 0 1rem;
}
.text-muted-custom { color: var(--muted); }

.navbar {
  background: rgba(4, 13, 29, .78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar.navbar-scrolled { background: rgba(4, 13, 29, .94); }
.navbar .navbar-brand {
  font-weight: 800;
  letter-spacing: 0;
  font-size: 1.35rem;
}
.navbar-brand .aka-dot { color: #ffb648; }
.navbar-brand .aka-accent { color: var(--primary); }
.site-logo { max-width: 150px; max-height: 46px; object-fit: contain; }
.navbar .nav-link {
  color: #d7def0;
  font-size: .85rem;
  font-weight: 600;
  padding-inline: .95rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: white; }
.navbar .nav-link.active::after {
  content: "";
  display: block;
  height: 2px;
  width: 70%;
  margin: .35rem auto 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  border-radius: 50px;
}
.navbar .dropdown-menu {
  background: rgba(9, 22, 43, .98);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.navbar .dropdown-item { color: #d7def0; font-weight: 600; }
.navbar .dropdown-item:hover,
.navbar .dropdown-item.active { color: #fff; background: rgba(255,255,255,.06); }

.btn-gradient {
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(32, 217, 255, .24);
  border-radius: 999px;
  padding: .82rem 1.3rem;
  font-weight: 700;
}
.btn-gradient:hover { color: white; transform: translateY(-1px); }
.btn-outline-soft {
  border: 1px solid rgba(95,247,255,.42);
  color: #e7ebff;
  border-radius: 999px;
  padding: .82rem 1.3rem;
  font-weight: 700;
  background: rgba(255,255,255,.02);
}
.btn-outline-soft:hover { background: rgba(255,255,255,.06); color: #fff; }

.hero {
  min-height: 100svh;
  padding-top: 0;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,17,37,.98) 0%, rgba(6,18,38,.94) 36%, rgba(6,18,38,.34) 66%, rgba(6,18,38,.12) 100%),
    var(--hero-bg, url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2200&q=85')) center right / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 45%, rgba(32,217,255,.12) 50%, rgba(0,169,200,.25) 55%, transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 720px;
  padding: 132px 0 96px;
}
.hero h1 {
  font-size: 6.6rem;
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}
.hero h1 .gradient-text,
.gradient-text {
  background: linear-gradient(90deg, #5ff7ff 0%, #20d9ff 48%, #00a9c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { color: #c1cbe0; font-size: 1.08rem; max-width: 570px; }
.hero-lead p:last-child { margin-bottom: 0; }
.hero-logo { max-width: min(280px, 60vw); max-height: 110px; object-fit: contain; }
.hero-trust {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  color: #c9d1e4;
  font-weight: 600;
  font-size: .9rem;
}
.hero-trust i { color: var(--primary); margin-right: .4rem; }

.floating-contact {
  position: fixed;
  right: 18px;
  top: 42%;
  z-index: 1040;
  display: grid;
  gap: 10px;
}
.floating-contact a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(9, 22, 43, .88);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.floating-contact a:hover { background: linear-gradient(135deg, var(--primary), var(--primary-2)); }

.surface-light {
  background:
    radial-gradient(circle at 75% 20%, rgba(32,217,255,.07), transparent 20%),
    #f8faff;
  color: #10192c;
}
.surface-light .text-muted-custom { color: #6c7790; }
.surface-light .section-kicker { color: #0099b8; }

.about-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(32,44,84,.22);
  border: 1px solid rgba(31,49,92,.08);
  aspect-ratio: 1.05 / 1;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.check-list { display: grid; gap: .8rem; margin-top: 1.25rem; }
.check-list span { display: flex; gap: .7rem; align-items: center; color: #3b465e; }
.check-list i { color: #00a9c8; }

.services {
  position: relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(32,217,255,.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(95,247,255,.1), transparent 25%),
    linear-gradient(180deg, #071630 0%, #081b3a 100%);
}
.service-card {
  height: 100%;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17,36,70,.78), rgba(12,26,50,.72));
  border: 1px solid rgba(32,217,255,.26);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 50px rgba(0,0,0,.18);
  transition: .25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(95,247,255,.64); }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(32,217,255,.16), rgba(0,169,200,.26));
  color: #74f1ff;
  margin-bottom: 1.4rem;
}
.service-card h3 { font-size: 1.2rem; font-weight: 800; }
.service-card p { color: #aebad0; }
.service-link { color: var(--primary); font-weight: 700; font-size: .9rem; }

.stats-band {
  background: #f9fbff;
  color: #172036;
  border-bottom: 1px solid #e9eef9;
}
.stat-item { padding: 28px 18px; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid #e5eaf5; }
.stat-item i { font-size: 1.9rem; color: #00a9c8; }
.stat-item strong { display: block; font-size: 2rem; color: #0099b8; margin-top: .45rem; }
.stat-item small { color: #6c7890; }

.expertise-strip {
  background:
    radial-gradient(circle at 10% 50%, rgba(32,217,255,.14), transparent 25%),
    linear-gradient(90deg, #08233d, #061936 55%, #06324a);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.expertise-chip {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: #d7def2;
  padding: .55rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  white-space: nowrap;
}

.marquee-wrap {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 25, 46, .96), rgba(5, 18, 36, .98) 52%, rgba(5, 41, 58, .95));
  border-top: 1px solid rgba(95,247,255,.12);
  border-bottom: 1px solid rgba(95,247,255,.1);
}
.marquee-section {
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.035);
}
.marquee-section:first-child { border-top: 0; }
.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  min-width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-section:nth-child(even) .marquee-content {
  animation-direction: reverse;
}
.marquee-section.speed-slow .marquee-content { animation-duration: 44s; }
.marquee-section.speed-normal .marquee-content { animation-duration: 30s; }
.marquee-section.speed-fast .marquee-content { animation-duration: 18s; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  color: rgba(222, 239, 248, .84);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}
.marquee-item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(36,214,255,.75);
  box-shadow: 0 0 12px rgba(36,214,255,.32);
}
.marquee-text-sm { font-size: .78rem; }
.marquee-text-md { font-size: clamp(.84rem, 1vw, 1.05rem); }
.marquee-text-lg { font-size: clamp(1.02rem, 1.45vw, 1.28rem); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact-section {
  background: #f8faff;
  color: #111a2e;
}
.contact-box {
  background: #fff;
  border: 1px solid #e7ecf6;
  box-shadow: 0 18px 50px rgba(58,72,112,.08);
  border-radius: 20px;
  padding: 28px;
}
.contact-meta { display: grid; gap: 1rem; }
.contact-meta-item { display: flex; align-items: flex-start; gap: .9rem; }
.contact-meta-item i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8fbff;
  color: #0099b8;
}
.form-control, .form-select {
  border-radius: 10px;
  border-color: #e4e9f3;
  padding: .82rem .95rem;
}
.form-control:focus { box-shadow: 0 0 0 .2rem rgba(32,217,255,.12); border-color: #5ff7ff; }

.map-wrap { height: 360px; border-top: 1px solid #e3e8f3; }
.map-wrap iframe { width: 100% !important; height: 100% !important; border: 0 !important; display: block; }

.parallax-divider {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(6,18,37,.94) 0%, rgba(8,23,49,.78) 48%, rgba(0,128,154,.32) 100%),
    var(--parallax-bg);
  background-size: cover;
  background-position: center calc(50% + var(--parallax-offset, 0px));
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 1px solid rgba(88,188,255,.18);
  border-bottom: 1px solid rgba(88,188,255,.18);
}
.parallax-divider.is-image-only {
  min-height: clamp(220px, 28vw, 360px);
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(32,217,255,.08), transparent 40%, rgba(0,169,200,.2)),
    rgba(3, 11, 27, .14);
  pointer-events: none;
}
.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 84px 0;
}
.parallax-content h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  font-weight: 900;
  margin: .45rem 0 1rem;
  letter-spacing: 0;
}
.parallax-text {
  max-width: 620px;
  color: #c1cbe0;
  font-size: 1.05rem;
}
.parallax-text p:last-child { margin-bottom: 0; }

.footer {
  background: #061124;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #c7d0e4;
}
.footer h6 { color: white; font-weight: 800; }
.footer a { color: #9da9c1; }
.footer a:hover { color: white; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}

/* Portfolio */
.portfolio-hero {
  padding: 140px 0 52px;
  position: relative;
  overflow: hidden;
}
.portfolio-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: 25px;
  background: radial-gradient(circle, rgba(32,217,255,.2), transparent 60%);
  filter: blur(6px);
  pointer-events: none;
}
.filter-pills { display: flex; gap: .65rem; flex-wrap: wrap; }
.filter-btn {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.02);
  color: #dce3f4;
  padding: .7rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
}
.filter-btn.active,
.filter-btn:hover { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; border-color: transparent; }
.portfolio-card {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12,29,56,.96), rgba(10,24,46,.94));
  border: 1px solid rgba(32,217,255,.24);
  box-shadow: 0 16px 46px rgba(0,0,0,.2);
  height: 100%;
}
.portfolio-card .media {
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #e8ebf2;
  position: relative;
}
.portfolio-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.portfolio-card:hover .media img { transform: scale(1.035); }
.portfolio-card.has-video .media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 10, 24, .58));
  pointer-events: none;
}
.portfolio-video-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #fff;
  background: rgba(3, 14, 30, .76);
  border: 1px solid rgba(95,247,255,.42);
  border-radius: 999px;
  padding: .42rem .72rem;
  font-size: .78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.portfolio-video-badge i { color: var(--primary); font-size: 1rem; }
.portfolio-card-body { padding: 16px 18px 18px; }
.portfolio-card small { color: var(--primary); font-weight: 700; }
.portfolio-card h3 { font-size: 1rem; margin: .25rem 0 0; font-weight: 800; }
.hidden-item { display: none !important; }
.portfolio-video-player {
  width: 100%;
  max-height: min(68vh, 620px);
  display: block;
  border-radius: 14px;
  background: #020a18;
  object-fit: contain;
}
.portfolio-video-shell {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #020a18;
}
.portfolio-video-shell .portfolio-video-player {
  border-radius: 0;
}
.portfolio-video-switcher {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.portfolio-video-nav,
.portfolio-video-current {
  border: 1px solid rgba(95,247,255,.28);
  background: rgba(2,10,24,.72);
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.portfolio-video-nav {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  pointer-events: auto;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.portfolio-video-nav:hover {
  border-color: rgba(0,195,255,.78);
  background: rgba(0,110,140,.88);
  transform: translateY(-1px);
}
.portfolio-video-current {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 12px;
}
.portfolio-video-current span {
  color: var(--primary);
  font-size: .78rem;
  font-weight: 900;
}
.portfolio-video-current strong {
  min-width: 0;
  overflow: hidden;
  font-size: .88rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portfolio-gallery-after-video .carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}
.portfolio-modal-media .carousel-inner {
  height: min(68vh, 620px);
  border-radius: 12px;
  background: #eef6f8;
  overflow: hidden;
}
.portfolio-modal-media .carousel-item {
  height: 100%;
}
.portfolio-modal-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.portfolio-gallery-after-video .carousel-inner {
  height: min(34vh, 260px);
}

.cta-panel {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7,21,47,.98) 0%, rgba(9,26,59,.88) 48%, rgba(0,128,154,.34) 100%),
    var(--cta-bg, url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1800&q=85')) center/cover no-repeat;
  border: 1px solid rgba(88,188,255,.3);
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
}
.cta-panel .inner { position: relative; z-index: 2; padding: 54px; max-width: 680px; }

.portfolio-contact-cards .contact-box { height: 100%; padding: 22px; }
.portfolio-empty {
  border: 1px solid rgba(32,217,255,.24);
  border-radius: 16px;
  padding: 32px;
  color: #aebad0;
  background: rgba(12,29,56,.76);
}
.blog-hero .text-muted-custom { max-width: 620px; }
.blog-card {
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12,29,56,.96), rgba(10,24,46,.94));
  border: 1px solid rgba(32,217,255,.24);
  box-shadow: 0 16px 46px rgba(0,0,0,.2);
}
.blog-card-media {
  display: block;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  background: #e8ebf2;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-media img { transform: scale(1.035); }
.blog-card-body {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 20px;
}
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .85rem;
  align-items: center;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
}
.blog-meta time { color: #9eabc2; font-weight: 600; }
.blog-card h2 {
  margin: .65rem 0 .7rem;
  color: #fff;
  font-size: 1.16rem;
  line-height: 1.26;
  font-weight: 850;
}
.blog-card p {
  color: #aebad0;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.blog-read-more {
  margin-top: auto;
  color: var(--primary);
  font-weight: 800;
  font-size: .9rem;
}
.blog-read-more:hover { color: #fff; }
.blog-pagination {
  display: flex;
  gap: .75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.blog-pagination .filter-btn {
  min-width: 106px;
  text-align: center;
}
.blog-pagination .filter-btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.blog-page-status {
  color: #dce3f4;
  font-weight: 800;
  font-size: .9rem;
}
.blog-detail-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: end;
  padding: 150px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4,13,29,.72) 0%, rgba(4,13,29,.94) 100%),
    var(--blog-hero-bg) center / cover no-repeat;
}
.blog-detail-hero h1 {
  max-width: 900px;
  margin: .55rem 0 1rem;
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}
.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.15rem;
  color: #d4deef;
  font-size: .95rem;
}
.blog-detail-meta span {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
}
.blog-detail-meta i { color: var(--primary); }
.blog-article,
.blog-sidebar {
  color: #182238;
}
.blog-featured-image {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(58,72,112,.14);
  margin-bottom: 32px;
}
.blog-excerpt {
  margin-bottom: 28px;
  color: #47536b;
  font-size: 1.18rem;
  line-height: 1.75;
  font-weight: 650;
}
.blog-content {
  color: #2e394f;
  font-size: 1.03rem;
  line-height: 1.85;
}
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #111a2e;
  font-weight: 850;
  line-height: 1.2;
  margin: 2rem 0 1rem;
}
.blog-content h2 { font-size: 1.85rem; }
.blog-content h3 { font-size: 1.45rem; }
.blog-content p,
.blog-content ul,
.blog-content ol { margin-bottom: 1.15rem; }
.blog-content ul,
.blog-content ol { padding-left: 1.25rem; }
.blog-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--primary);
  background: #eefbff;
  color: #21304a;
}
.blog-content img {
  border-radius: 14px;
  margin: 1.5rem 0;
}
.blog-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 18px;
}
.blog-side-block {
  border: 1px solid #e7ecf6;
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(58,72,112,.08);
}
.blog-side-block h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 850;
  color: #111a2e;
}
.blog-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.blog-chip-list a,
.blog-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .45rem .7rem;
  border-radius: 10px;
  background: #e8fbff;
  color: #008eaa;
  font-size: .84rem;
  font-weight: 800;
}
.blog-chip-list a:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}
.blog-related-list {
  display: grid;
  gap: .8rem;
}
.blog-related-list a {
  display: grid;
  gap: .25rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid #e7ecf6;
}
.blog-related-list a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.blog-related-list span {
  color: #0099b8;
  font-size: .76rem;
  font-weight: 800;
}
.blog-related-list strong {
  color: #172036;
  line-height: 1.35;
}
.blog-related-list a:hover strong { color: #008eaa; }
.modal-content {
  border: 1px solid rgba(32,217,255,.24);
  border-radius: 16px;
  overflow: hidden;
  max-height: calc(100svh - 24px);
}
.modal-body {
  overflow: auto;
}
.modal-body,
.modal-header { color: #172036; }
.portfolio-modal-info {
  max-height: min(68vh, 620px);
  overflow: auto;
}
.footer-copy { max-width: 350px; }

@media (max-width: 1199.98px) {
  .hero h1 { font-size: 5.4rem; }
}

@media (max-width: 991.98px) {
  .hero { min-height: 100svh; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(5,17,37,.95) 0%, rgba(5,17,37,.75) 60%, rgba(5,17,37,.93) 100%),
      var(--hero-bg, url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=82')) center / cover no-repeat;
  }
  .hero-copy { padding: 112px 0 84px; }
  .floating-contact { display: none; }
  .stat-item + .stat-item { border-left: 0; border-top: 1px solid #e5eaf5; }
  .parallax-divider { background-attachment: scroll; }
  .blog-sidebar { position: static; }
  .portfolio-modal-media .carousel-inner,
  .portfolio-video-player,
  .portfolio-modal-info {
    max-height: none;
  }
  .portfolio-modal-media .carousel-inner {
    height: min(62svh, 520px);
  }
  .portfolio-gallery-after-video .carousel-inner {
    height: min(30svh, 220px);
  }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 68px 0; }
  .hero h1 { font-size: 3.65rem; }
  .hero-copy { padding: 104px 0 72px; }
  .portfolio-hero { padding-top: 110px; }
  .blog-detail-hero {
    min-height: 460px;
    padding: 126px 0 50px;
  }
  .blog-detail-hero h1 { font-size: 2.45rem; }
  .blog-card-body { min-height: auto; }
  .cta-panel .inner { padding: 34px 24px; }
  .navbar .nav-link.active::after { display: none; }
  .parallax-content { padding: 64px 0; }
  .marquee-section { padding: 9px 0; }
  .marquee-content { gap: 1rem; }
  .marquee-item { gap: 1rem; }
  .modal-dialog {
    margin: .5rem;
  }
  .modal-content {
    max-height: calc(100svh - 1rem);
  }
  .portfolio-modal-media .carousel-inner {
    height: min(58svh, 460px);
  }
  .portfolio-video-switcher {
    top: 8px;
    left: 8px;
    right: 8px;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
  }
  .portfolio-video-nav {
    width: 34px;
    height: 34px;
  }
  .portfolio-video-current {
    padding: 7px 10px;
  }
  .portfolio-video-current strong {
    font-size: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-content { animation-duration: 1ms; animation-iteration-count: 1; }
}
