:root {
  --navy-950: #08131f;
  --navy-900: #102235;
  --navy-800: #183852;
  --navy-700: #1f4d70;
  --sand-100: #f7f1e6;
  --sand-200: #efe5d4;
  --gold-400: #d3a24c;
  --gold-500: #b98529;
  --mist: #d7e8f8;
  --slate-900: #17222d;
  --slate-700: #51606d;
  --white: #ffffff;
  --shadow-lg: 0 24px 60px rgba(8, 19, 31, 0.18);
  --shadow-md: 0 18px 40px rgba(8, 19, 31, 0.14);
  --border-soft: 1px solid rgba(255, 255, 255, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  color: var(--slate-900);
  background: linear-gradient(180deg, #fbf8f1 0%, #f3ebdf 100%);
}

h1,
h2,
h3,
h4,
.navbar-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}

a {
  text-decoration: none;
}

.site-navbar {
  background: rgba(8, 19, 31, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.site-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(211, 162, 76, 0.28));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.btn-warning {
  background: linear-gradient(135deg, #d7a44b, #f1c16e);
  border-color: transparent;
  color: #17222d;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(211, 162, 76, 0.28);
}

.btn-warning:hover,
.btn-warning:focus {
  background: linear-gradient(135deg, #c89743, #e9ba63);
  color: #17222d;
}

.btn-outline-light,
.btn-outline-dark {
  font-weight: 700;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(211, 162, 76, 0.26), transparent 28%),
    radial-gradient(circle at bottom right, rgba(132, 186, 233, 0.18), transparent 30%),
    linear-gradient(140deg, #08131f 0%, #153048 52%, #1b4c71 100%);
}

.hero-section {
  padding: 110px 0 96px;
}

.page-hero {
  padding: 88px 0 72px;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 86%);
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -120px;
  bottom: -180px;
  border-radius: 42% 58% 52% 48%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  animation: morphFloat 12s ease-in-out infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--gold-500);
}

.lead,
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
}

.section-space {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p,
.section-space p {
  color: var(--slate-700);
}

.section-contrast {
  background: linear-gradient(180deg, #f8f3e9 0%, #efe4d2 100%);
}

.glass-tile,
.service-card,
.process-card,
.tilt-panel,
.content-card,
.contact-card,
.info-card,
.timeline-card,
.cta-banner {
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.glass-tile {
  padding: 22px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: var(--border-soft);
  backdrop-filter: blur(12px);
}

.glass-tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.glass-tile span {
  color: rgba(255, 255, 255, 0.74);
}

.scene-wrap {
  perspective: 1300px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-core {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 460px;
  transform-style: preserve-3d;
  animation: sceneTilt 12s ease-in-out infinite;
}

.center-orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 270px;
  height: 270px;
  transform: translate3d(-50%, -50%, 90px);
  display: grid;
  place-items: center;
}

.orb-face {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 36px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: var(--border-soft);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 60px rgba(7, 14, 20, 0.34);
}

.orb-face h2 {
  margin: 0;
  font-size: 3rem;
}

.orb-face p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.orb-ring {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform-style: preserve-3d;
}

.ring-one {
  width: 300px;
  height: 300px;
  margin-left: -150px;
  margin-top: -150px;
  transform: rotateX(70deg);
  animation: spinY 14s linear infinite;
}

.ring-two {
  width: 360px;
  height: 360px;
  margin-left: -180px;
  margin-top: -180px;
  transform: rotateY(70deg);
  animation: spinX 18s linear infinite reverse;
}

.floating-card {
  position: absolute;
  width: 180px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.07));
  border: var(--border-soft);
  color: var(--white);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.floating-card span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.card-a {
  top: 20px;
  left: 20px;
  transform: translateZ(110px) rotateY(-18deg);
  animation: floatA 8s ease-in-out infinite;
}

.card-b {
  top: 78px;
  right: 18px;
  transform: translateZ(70px) rotateY(18deg);
  animation: floatB 9s ease-in-out infinite;
}

.card-c {
  left: 0;
  bottom: 56px;
  transform: translateZ(80px) rotateX(10deg);
  animation: floatC 10s ease-in-out infinite;
}

.card-d {
  right: 0;
  bottom: 12px;
  transform: translateZ(120px) rotateX(-10deg);
  animation: floatD 11s ease-in-out infinite;
}

.icon-chip {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(24, 56, 82, 0.24);
}

.service-card,
.process-card,
.content-card,
.contact-card,
.info-card,
.timeline-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 56, 82, 0.08);
  backdrop-filter: blur(10px);
}

.service-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover,
.process-card:hover,
.timeline-card:hover {
  transform: translateY(-7px) rotateX(3deg);
  box-shadow: 0 30px 64px rgba(8, 19, 31, 0.18);
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(24, 56, 82, 0.08);
  box-shadow: var(--shadow-md);
}

.tilt-panel {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(145deg, #102235, #214b6d);
  color: var(--white);
  transform-style: preserve-3d;
  animation: tiltCard 10s ease-in-out infinite;
}

.tilt-layer {
  position: absolute;
  inset: auto;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: var(--border-soft);
}

.layer-back {
  width: 76%;
  height: 68%;
  right: 40px;
  top: 34px;
  transform: translateZ(30px) rotate(8deg);
}

.layer-mid {
  width: 60%;
  height: 52%;
  left: 38px;
  bottom: 48px;
  transform: translateZ(80px) rotate(-10deg);
}

.tilt-content {
  position: relative;
  z-index: 2;
  padding: 42px;
  transform: translateZ(110px);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.details-list li,
.contact-lines li,
.footer-links li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(24, 56, 82, 0.12);
}

.details-list li:last-child,
.contact-lines li:last-child,
.footer-links li:last-child {
  border-bottom: 0;
}

.details-list span,
.contact-lines span {
  color: var(--slate-700);
}

.details-list strong,
.contact-lines strong,
.contact-lines a {
  color: var(--slate-900);
}

.page-scene {
  position: relative;
  min-height: 320px;
  perspective: 1000px;
}

.scene-panel,
.scene-disc,
.scene-pillar {
  position: absolute;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: var(--border-soft);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.scene-panel {
  inset: 60px 40px auto auto;
  width: 240px;
  height: 160px;
  transform: rotateY(-26deg) translateZ(60px);
  animation: panelDrift 10s ease-in-out infinite;
}

.scene-disc {
  width: 180px;
  height: 180px;
  left: 80px;
  bottom: 10px;
  border-radius: 50%;
  transform: rotateX(72deg);
  animation: spinY 14s linear infinite;
}

.scene-pillar {
  width: 110px;
  height: 220px;
  right: 40px;
  bottom: 10px;
  transform: rotateX(8deg) rotateY(16deg);
  animation: floatB 9s ease-in-out infinite;
}

.content-card h3,
.service-card h3,
.process-card h3,
.contact-card h3,
.info-card h3,
.timeline-card h3 {
  margin-bottom: 14px;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-list div {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(24, 56, 82, 0.08);
}

.service-list strong {
  display: block;
  margin-bottom: 6px;
}

.timeline-card {
  height: 100%;
}

.timeline-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(24, 56, 82, 0.08);
  color: var(--navy-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-card.dark-card {
  background: linear-gradient(145deg, #0d1e2f, #17344d);
  color: var(--white);
}

.info-card.dark-card p {
  color: rgba(255, 255, 255, 0.76);
}

.info-card.dark-card .contact-lines li,
.tilt-panel .details-list li,
.site-footer .footer-links li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.info-card.dark-card .contact-lines span,
.tilt-panel .details-list span {
  color: rgba(255, 255, 255, 0.68);
}

.info-card.dark-card .contact-lines strong,
.info-card.dark-card .contact-lines a,
.tilt-panel .details-list strong {
  color: var(--white);
}

.contact-lines {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-lines a {
  color: inherit;
}

.cta-section {
  background:
    radial-gradient(circle at top right, rgba(211, 162, 76, 0.2), transparent 26%),
    linear-gradient(145deg, #09141f 0%, #13324a 100%);
  color: var(--white);
}

.cta-banner {
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: var(--border-soft);
  backdrop-filter: blur(12px);
}

.site-footer {
  padding: 34px 0;
  background: #08131f;
  color: rgba(255, 255, 255, 0.74);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 64px;
  height: 64px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

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

@keyframes sceneTilt {
  0%, 100% { transform: rotateX(8deg) rotateY(-8deg); }
  50% { transform: rotateX(-2deg) rotateY(8deg); }
}

@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 110px) rotateY(-18deg); }
  50% { transform: translate3d(12px, -16px, 150px) rotateY(-8deg); }
}

@keyframes floatB {
  0%, 100% { transform: translate3d(0, 0, 70px) rotateY(18deg); }
  50% { transform: translate3d(-10px, 12px, 120px) rotateY(6deg); }
}

@keyframes floatC {
  0%, 100% { transform: translate3d(0, 0, 80px) rotateX(10deg); }
  50% { transform: translate3d(12px, -10px, 140px) rotateX(0deg); }
}

@keyframes floatD {
  0%, 100% { transform: translate3d(0, 0, 120px) rotateX(-10deg); }
  50% { transform: translate3d(-12px, 14px, 170px) rotateX(-2deg); }
}

@keyframes spinY {
  from { transform: rotateY(0deg) rotateX(70deg); }
  to { transform: rotateY(360deg) rotateX(70deg); }
}

@keyframes spinX {
  from { transform: rotateX(0deg) rotateY(70deg); }
  to { transform: rotateX(360deg) rotateY(70deg); }
}

@keyframes morphFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(14deg); }
}

@keyframes tiltCard {
  0%, 100% { transform: rotateX(0deg) rotateY(0deg); }
  50% { transform: rotateX(8deg) rotateY(-8deg); }
}

@keyframes panelDrift {
  0%, 100% { transform: rotateY(-26deg) translate3d(0, 0, 60px); }
  50% { transform: rotateY(-10deg) translate3d(-20px, -12px, 100px); }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 92px;
  }

  .scene-wrap {
    min-height: 420px;
  }

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

  .details-list li,
  .contact-lines li,
  .footer-links li {
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .site-logo {
    width: 48px;
    height: 48px;
  }

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

  .scene-wrap {
    min-height: 340px;
  }

  .scene-core {
    min-height: 320px;
  }

  .center-orb {
    width: 200px;
    height: 200px;
  }

  .orb-face {
    width: 140px;
    height: 140px;
  }

  .ring-one {
    width: 220px;
    height: 220px;
    margin-left: -110px;
    margin-top: -110px;
  }

  .ring-two {
    width: 270px;
    height: 270px;
    margin-left: -135px;
    margin-top: -135px;
  }

  .floating-card {
    width: 140px;
    padding: 14px 16px;
  }

  .service-card,
  .process-card,
  .content-card,
  .contact-card,
  .info-card,
  .timeline-card,
  .cta-banner {
    padding: 24px;
  }

  .section-space {
    padding: 76px 0;
  }
}
