:root {
  /* Brand color system shared across every page. */
  --navy: #07162f;
  --midnight: #020817;
  --navy-soft: #0e2547;
  --blue: #1769e0;
  --blue-light: #4aa3ff;
  --cyan: #12b6cb;
  --cyan-soft: #d9fbff;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #edf2f7;
  --gray-600: #64748b;
  --gray-800: #1e293b;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --glow: 0 24px 70px rgba(18, 182, 203, 0.18);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  box-shadow: 0 0 18px rgba(18, 182, 203, 0.68);
  pointer-events: none;
}

body {
  margin: 0;
  color: var(--gray-800);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.84), rgba(255, 255, 255, 0.96) 18%),
    var(--white);
}

::selection {
  color: var(--white);
  background: var(--blue);
}

a {
  text-decoration: none;
}

p,
a,
span,
strong {
  overflow-wrap: break-word;
}

.navbar {
  background: rgba(2, 8, 23, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.14);
  backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.navbar.navbar-scrolled {
  background: rgba(2, 8, 23, 0.94);
  border-color: rgba(18, 182, 203, 0.18);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.22);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-brand img {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(18, 182, 203, 0.18);
}

.navbar-brand strong,
.site-footer h3 strong {
  color: var(--blue-light);
}

.navbar .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  margin-left: 0.4rem;
  padding: 0.65rem 0.85rem;
}

.navbar .nav-link::after {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .current-menu-item > .nav-link {
  color: var(--white);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after,
.navbar .current-menu-item > .nav-link::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 1px solid rgba(18, 182, 203, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(18, 182, 203, 0.3), transparent 30%),
    radial-gradient(circle at 18% 8%, rgba(74, 163, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #020817 0%, #07162f 48%, #0b3b76 100%);
}

.hero-section::before,
.hero-section::after,
.page-header::before {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero-section::before {
  inset: -30%;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: perspective(900px) rotateX(58deg) translateY(-16%);
  animation: gridDrift 18s linear infinite;
}

.hero-section::after {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 45px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 182, 203, 0.24), rgba(23, 105, 224, 0.11) 42%, transparent 70%);
  filter: blur(4px);
  animation: pulseGlow 7s ease-in-out infinite;
}

.hero-section .container,
.page-header .container {
  position: relative;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-particles span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(18, 182, 203, 0.9);
  opacity: 0.34;
  animation: particleFloat 10s ease-in-out infinite;
}

.hero-particles span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(18, 182, 203, 0.44), transparent);
  transform: translateY(-50%) rotate(28deg);
}

.hero-particles span:nth-child(1) { left: 9%; top: 24%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 28%; top: 72%; animation-delay: 1.4s; }
.hero-particles span:nth-child(3) { left: 48%; top: 18%; animation-delay: 2.1s; }
.hero-particles span:nth-child(4) { left: 68%; top: 76%; animation-delay: 3.2s; }
.hero-particles span:nth-child(5) { left: 84%; top: 34%; animation-delay: 4.1s; }
.hero-particles span:nth-child(6) { left: 92%; top: 66%; animation-delay: 5.2s; }

.hero-section .reveal.visible .eyebrow,
.hero-section .reveal.visible h1,
.hero-section .reveal.visible .hero-text,
.hero-section .reveal.visible .d-flex,
.hero-section .reveal.visible .trust-strip,
.hero-section .reveal.visible .hero-photo-frame {
  animation: heroEntrance 0.78s ease both;
}

.hero-section .reveal.visible h1 { animation-delay: 0.08s; }
.hero-section .reveal.visible .hero-text { animation-delay: 0.17s; }
.hero-section .reveal.visible .d-flex { animation-delay: 0.26s; }
.hero-section .reveal.visible .trust-strip { animation-delay: 0.35s; }
.hero-section .reveal.visible .hero-photo-frame { animation-delay: 0.16s; }

.hero-section h1,
.page-header h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  font-weight: 850;
  line-height: 1.05;
  margin: 0.75rem 0 1.25rem;
}

.hero-text,
.page-header p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 34px rgba(2, 8, 23, 0.18);
  backdrop-filter: blur(16px);
}

.trust-strip i {
  color: var(--cyan);
}

.trust-strip span {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.trust-strip span:hover {
  border-color: rgba(18, 182, 203, 0.44);
  box-shadow: 0 18px 42px rgba(18, 182, 203, 0.18);
  transform: translateY(-2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--blue-light));
  border-radius: 999px;
}

.btn {
  border-radius: 999px;
  font-weight: 750;
  padding: 0.75rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(23, 105, 224, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f5bc8, #0ea6b8);
  border-color: transparent;
  box-shadow: 0 22px 42px rgba(18, 182, 203, 0.24);
}

.btn-outline-primary {
  color: var(--blue);
  border-color: rgba(23, 105, 224, 0.45);
}

.hero-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), 0 0 70px rgba(18, 182, 203, 0.14);
  transform: translateZ(0);
}

.hero-photo-frame {
  animation: visualFloat 7s ease-in-out infinite;
}

.hero-photo-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 30%, rgba(7, 22, 47, 0.86)),
    radial-gradient(circle at var(--mouse-x, 70%) var(--mouse-y, 30%), rgba(18, 182, 203, 0.22), transparent 24%);
}

.hero-photo-frame::before {
  position: absolute;
  inset: 14px;
  z-index: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  pointer-events: none;
}

.hero-stock-image,
.project-image img,
.about-photo-panel img,
.service-card.with-image > img,
.contact-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-badge {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(7, 22, 47, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 38px rgba(2, 8, 23, 0.28);
}

.hero-photo-badge i {
  color: var(--blue-light);
  font-size: 1.7rem;
}

.hero-photo-badge strong,
.hero-photo-badge span {
  display: block;
}

.hero-photo-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.confidence-band {
  position: relative;
  z-index: 2;
  margin-top: -38px;
  padding: 0 0 22px;
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(18, 182, 203, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow), 0 18px 48px rgba(18, 182, 203, 0.12);
  backdrop-filter: blur(18px);
}

.confidence-item {
  padding: 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.06), rgba(18, 182, 203, 0.08));
}

.confidence-item strong,
.confidence-item span {
  display: block;
}

.confidence-item strong {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1;
}

.confidence-item > span {
  margin-top: 0.4rem;
  color: var(--gray-600);
  font-weight: 700;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-muted {
  background:
    radial-gradient(circle at 12% 8%, rgba(18, 182, 203, 0.08), transparent 24%),
    linear-gradient(180deg, var(--gray-50), #ffffff);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2,
.section h2,
.cta-panel h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 820;
  line-height: 1.15;
}

.section-heading p,
.section p {
  color: var(--gray-600);
}

.service-card,
.project-card,
.info-card,
.value-card,
.contact-form,
.contact-details {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.service-card::before,
.project-card::before,
.info-card::before,
.value-card::before,
.contact-form::before,
.contact-details::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.11), rgba(18, 182, 203, 0.08));
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.service-card:hover,
.project-card:hover,
.info-card:hover,
.value-card:hover {
  transform: none;
  border-color: rgba(18, 182, 203, 0.32);
  box-shadow: var(--shadow), var(--glow);
  background: var(--white);
}

.service-card:hover::before,
.project-card:hover::before,
.info-card:hover::before,
.value-card:hover::before {
  opacity: 1;
}

.service-card,
.info-card,
.value-card {
  padding: 2rem;
}

.service-card > *,
.project-card > *,
.info-card > *,
.value-card > *,
.contact-form > *,
.contact-details > * {
  position: relative;
  z-index: 1;
}

.service-card.tall {
  min-height: 285px;
}

.service-card.with-image {
  overflow: hidden;
  padding: 0;
}

.service-card.with-image > img {
  height: 165px;
}

.service-card-body {
  padding: 1.6rem;
}

.service-card i,
.info-card i,
.value-card i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.1), rgba(18, 182, 203, 0.12));
  font-size: 1.45rem;
  box-shadow: inset 0 0 0 1px rgba(18, 182, 203, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.service-card:hover i,
.info-card:hover i,
.value-card:hover i {
  color: var(--cyan);
  transform: translateY(-3px) scale(1.05);
  box-shadow: inset 0 0 0 1px rgba(18, 182, 203, 0.22), 0 14px 28px rgba(18, 182, 203, 0.14);
}

.service-card h3,
.project-content h3,
.value-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 88px;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(23, 105, 224, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  font-weight: 750;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-box:hover {
  transform: none;
  border-color: rgba(18, 182, 203, 0.28);
  box-shadow: var(--glow);
}

.feature-box i {
  color: var(--blue);
  font-size: 1.55rem;
  transition: transform 0.28s ease, color 0.28s ease;
}

.feature-box:hover i {
  color: var(--cyan);
  transform: scale(1.08);
}

.project-card {
  overflow: hidden;
}

.project-image {
  display: grid;
  place-items: center;
  height: 205px;
  overflow: hidden;
  color: var(--white);
  font-size: 3rem;
  background: var(--navy-soft);
}

.project-image img {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}

.project-content {
  padding: 1.5rem;
}

.project-content span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  color: var(--blue);
  font-weight: 800;
}

.project-link:hover {
  color: var(--navy);
}

.cta-section {
  padding: 70px 0;
  background: var(--white);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 3rem;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 12%, rgba(18, 182, 203, 0.34), transparent 26%),
    linear-gradient(135deg, var(--midnight) 0%, var(--navy) 42%, var(--blue) 100%);
  box-shadow: var(--shadow), 0 0 80px rgba(23, 105, 224, 0.16);
}

.cta-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, transparent 62%);
  transform: translateX(-120%);
  animation: shimmer 8s ease-in-out infinite;
}

.cta-panel h2,
.cta-panel .eyebrow {
  color: var(--white);
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: 95px 0 78px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(18, 182, 203, 0.24), transparent 26%),
    radial-gradient(circle at 8% 0%, rgba(74, 163, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #020817 0%, #07162f 64%, #1769e0 100%);
}

.page-header::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 182, 203, 0.28), transparent 68%);
  animation: pulseGlow 7s ease-in-out infinite;
}

.stats-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  margin-top: 1.25rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.07), rgba(18, 182, 203, 0.09));
}

.about-photo-panel,
.contact-photo {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.about-photo-panel {
  height: 280px;
}

.stacked-panel {
  margin: 1.25rem 0 0;
}

.contact-photo {
  height: 230px;
  margin-bottom: 1.2rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
}

.stats-panel div {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.stats-panel strong,
.stats-panel span {
  display: block;
}

.stats-panel strong {
  color: var(--blue);
  font-size: 1.35rem;
}

.max-text {
  max-width: 650px;
}

.contact-form,
.contact-details {
  padding: 2rem;
}

.form-alert {
  display: none;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  font-weight: 700;
}

.form-alert.show {
  display: block;
}

.form-alert.success {
  color: #075e43;
  border: 1px solid rgba(16, 185, 129, 0.26);
  background: rgba(16, 185, 129, 0.1);
}

.form-alert.error {
  color: #8a1f1f;
  border: 1px solid rgba(220, 38, 38, 0.24);
  background: rgba(220, 38, 38, 0.1);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-sidebar .contact-details {
  flex: 1 1 auto;
  height: auto;
}

.form-label {
  color: var(--navy);
  font-weight: 750;
}

.form-control {
  min-height: 52px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 0.2rem rgba(18, 182, 203, 0.16);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
  min-width: 0;
}

.contact-item i {
  color: var(--blue);
  font-size: 1.45rem;
}

.contact-item strong,
.contact-item span {
  display: block;
}

.contact-item span {
  color: var(--gray-600);
}

.contact-item div,
.contact-item a {
  min-width: 0;
}

.site-footer {
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 8% 0%, rgba(18, 182, 203, 0.16), transparent 26%),
    linear-gradient(135deg, var(--midnight), var(--navy));
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  font-weight: 800;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--white);
}

.site-footer h4 {
  font-size: 1rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-button {
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  /* Elements become visible when main.js observes them in the viewport. */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridDrift {
  from {
    transform: perspective(900px) rotateX(58deg) translateY(-16%) translateX(0);
  }
  to {
    transform: perspective(900px) rotateX(58deg) translateY(-16%) translateX(52px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes shimmer {
  0%, 55% {
    transform: translateX(-120%);
  }
  72%, 100% {
    transform: translateX(120%);
  }
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.24;
  }
  50% {
    transform: translate3d(16px, -24px, 0) scale(1.35);
    opacity: 0.56;
  }
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visualFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 991px) {
  .navbar .nav-link {
    margin-left: 0;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 0.4rem;
  }

  .navbar .nav-link::after {
    left: 0;
    right: auto;
    width: 34px;
  }

  .hero-section,
  .page-header {
    padding: 82px 0 68px;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .confidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .hero-section h1,
  .page-header h1 {
    font-size: 2.35rem;
  }

  .trust-strip {
    gap: 0.55rem;
  }

  .trust-strip span {
    width: 100%;
  }

  .cta-panel,
  .contact-form,
  .contact-details {
    padding: 1.5rem;
  }

  .hero-photo-frame {
    min-height: 360px;
    animation: none;
  }

  .confidence-band {
    margin-top: 0;
    padding-top: 1rem;
  }

  .confidence-grid {
    padding: 0.75rem;
  }

  .stacked-panel {
    margin-top: 1rem;
  }

  .navbar-brand {
    font-size: 1.12rem;
  }

  .navbar-brand img {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/*Header CSS*/
:root {
  --navy: #07162f;
  --midnight: #020817;
  --blue: #1769e0;
  --blue-light: #4aa3ff;
  --cyan: #12b6cb;
  --white: #ffffff;
}

.navbar {
  background: rgba(2, 8, 23, 0.78) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.14) !important;
  backdrop-filter: blur(14px);
}

.navbar.navbar-scrolled {
  background: rgba(2, 8, 23, 0.94) !important;
  border-color: rgba(18, 182, 203, 0.18) !important;
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.22) !important;
}

.navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.navbar-brand img {
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  background: #ffffff !important;
  box-shadow: 0 10px 26px rgba(18, 182, 203, 0.18) !important;
}

.navbar-brand strong {
  color: var(--blue-light) !important;
}

.navbar .nav-link {
  position: relative !important;
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600 !important;
  margin-left: 0.4rem !important;
  padding: 0.65rem 0.85rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffffff !important;
}

.nav-cta {
  border: 1px solid rgba(18, 182, 203, 0.36) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
