:root {
  --b9: #0a0d1e;
  --b8: #0f1228;
  --b7: #161b38;
  --b6: #1e2448;
  --b5: #252c5c;
  --b4: #3040a0;
  --b3: #5060c0;
  --b2: #8090d8;
  --muted: #7880b0;
  --o6: #c05e05;
  --o5: #e8750a;
  --o4: #f48b28;
  --o3: #f4a840;
  --o2: #f8c878;
  --o1: #fde9c4;
  --cream: #f5efe3;
  --ivory: #faf7f0;
  --fd: "Playfair Display", Georgia, serif;
  --fb: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--b9);
  color: var(--ivory);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  font-family: "DM Sans", sans-serif;
}

html.advait-loader-pending,
html.advait-loader-pending body {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.15rem;
  min-height: 100svh;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  background:
    radial-gradient(circle at 50% 44%,
      rgba(70, 18, 122, 0.38) 0%,
      rgba(22, 27, 56, 0.88) 34%,
      rgba(10, 13, 30, 0.98) 72%),
    var(--b9);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.advait-loader-pending .site-loader {
  display: flex;
}

.site-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 168, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 168, 64, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9), transparent 78%);
  opacity: 0.65;
}

.site-loader-stage {
  position: relative;
  z-index: 1;
  width: min(76vw, 430px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-loader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(244, 168, 64, 0.16);
  transform: translate(-50%, -50%);
  animation: advaitLoaderSpin linear infinite;
}

.site-loader-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  animation-duration: 78s;
  box-shadow: inset 0 0 44px rgba(232, 117, 10, 0.05);
}

.site-loader-ring:nth-child(2) {
  width: 76%;
  height: 76%;
  border-style: dashed;
  border-color: rgba(244, 168, 64, 0.12);
  animation-duration: 48s;
  animation-direction: reverse;
}

.site-loader-ring:nth-child(3) {
  width: 56%;
  height: 56%;
  border-color: rgba(248, 200, 120, 0.22);
  animation-duration: 34s;
}

.site-loader-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(248, 200, 120, 0.24) 0%, transparent 38%),
    radial-gradient(circle, rgba(232, 117, 10, 0.2) 12%, rgba(86, 24, 142, 0.28) 58%, transparent 80%);
  filter: blur(1px);
  animation: advaitLoaderGlow 3.2s ease-in-out infinite;
}

.site-loader-logo-frame {
  position: relative;
  z-index: 2;
  width: 62%;
  height: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: clamp(10px, 3vw, 20px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(90, 28, 148, 0.95) 0%, rgba(45, 14, 80, 0.98) 62%, rgba(15, 18, 40, 1) 100%);
  border: 1px solid rgba(248, 200, 120, 0.24);
  box-shadow:
    0 0 0 10px rgba(86, 24, 142, 0.16),
    0 0 34px rgba(232, 117, 10, 0.45),
    0 0 86px rgba(100, 30, 160, 0.36);
  animation: advaitLoaderFloat 5.4s ease-in-out infinite;
}

.site-loader-logo-frame::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(248, 200, 120, 0.16);
  pointer-events: none;
}

.site-loader-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.site-loader-text {
  position: relative;
  z-index: 1;
  color: var(--o3);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.82rem, 2.2vw, 1.05rem);
  letter-spacing: 0.36em;
  line-height: 1;
  text-indent: 0.36em;
  text-shadow: 0 0 18px rgba(232, 117, 10, 0.42);
  animation: advaitLoaderText 2.4s ease-in-out infinite;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--b8);
}

::-webkit-scrollbar-thumb {
  background: var(--o5);
  border-radius: 3px;
}

.btn-p {
  background: var(--o5);
  color: var(--b9);
  padding: 0.85rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition:
    background 0.3s,
    transform 0.2s,
    box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(232, 117, 10, 0.35);
}

.btn-p:hover {
  background: var(--o3);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 117, 10, 0.5);
}

.btn-g {
  border: 1px solid rgba(244, 168, 64, 0.4);
  color: var(--o3);
  padding: 0.85rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-g:hover {
  border-color: var(--o4);
  background: rgba(244, 168, 64, 0.07);
  transform: translateY(-2px);
}

.btn-begin {
  background: #d4a437;
  color: var(--ivory);
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  transition:
    background 0.25s,
    transform 0.2s;
}

.btn-begin:hover {
  background: #c89535;
  transform: translateY(-1px);
}

.nav-link {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c89535;
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

footer {
  background: var(--b9);
  border-top: 1px solid rgba(244, 168, 64, 0.08);
}

footer .hero-grid-overlay {
  z-index: 0;
  pointer-events: none;
}

.footer-logo-frame {
  width: 150px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
  background: var(--b7);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand {
  color: var(--o4);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-site {
  color: var(--muted);
  font-size: 0.80rem;
  line-height: 1.8;
  font-family: "DM Sans", sans-serif;
}

.pragma {
  color: var(--o4);
}

.footer-title {
  color: var(--o5);
  font-family: "DM Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1;
  margin-bottom: 1.55rem;
  text-transform: uppercase;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-link {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
  text-decoration: none;
  transition:
    color 0.2s,
    transform 0.2s;
}

.footer-link:hover {
  color: var(--ivory);
  transform: translateX(2px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--o4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  width: min(86vw, 22rem);
  max-width: 100vw;
  overflow-y: auto;
}

#mobile-menu.open {
  transform: translateX(0);
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-services {
  width: 100%;
}

.mobile-services-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.mobile-services-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-services-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 1rem;
  padding: 0.45rem 0 0.45rem 1rem;
  border-left: 1px solid rgba(244, 168, 64, 0.45);
  background: rgba(15, 18, 40, 0.56);
}

.mobile-services-submenu.hidden {
  display: none;
}

.mobile-service-link {
  display: block;
  padding: 0.65rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-service-link:hover {
  color: var(--ivory);
  padding-left: 0.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.side-btn {
  width: 48px;
  height: 48px;
  background: #d4a437;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s;
}

.side-btn:hover {
  background: #c89535;
}

.side-btn svg {
  color: var(--ivory);
  width: 18px;
  height: 18px;
}

.process-sec {
  background: var(--b9);
  position: relative;
}

.sec {
  padding: 5.5rem 6%;
}

.process-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
      rgba(232, 117, 10, 0.04) 0%,
      transparent 70%);
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--o4);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.sec-title {
  font-family: var(--fd);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--ivory);
}

.sec-title .a {
  color: var(--o4);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.sec-label-line {
  width: 26px;
  height: 1px;
  background: var(--o4);
}

.p-step {
  text-align: center;
  padding: 0 1.2rem;
}

.p-bubble {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  border: 1px solid rgba(244, 168, 64, 0.35);
  background: var(--b8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--fd);
  font-size: 1.2rem;
  color: var(--o4);
  font-weight: 400;
  transition:
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  z-index: 1;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: calc(12.5% + 2.4rem);
  right: calc(12.5% + 2.4rem);
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(244, 168, 64, 0.35) 20%,
      rgba(244, 168, 64, 0.35) 80%,
      transparent);
}

.p-step:hover .p-bubble {
  background: rgba(232, 117, 10, 0.12);
  border-color: var(--o4);
  box-shadow: 0 0 28px rgba(232, 117, 10, 0.25);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 65% 110%,
      rgba(232, 117, 10, 0.14) 0%,
      transparent 55%),
    radial-gradient(ellipse 50% 50% at 5% 20%,
      rgba(37, 44, 92, 0.7) 0%,
      transparent 60%),
    radial-gradient(ellipse 80% 80% at 90% 5%,
      rgba(80, 40, 120, 0.1) 0%,
      transparent 50%),
    var(--b9);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(244, 168, 64, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 168, 64, 0.035) 1px, transparent 1px);
  background-size: 55px 55px;
  z-index: -1;
}


.hero-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s 0.3s ease both;
}

.logo-stage {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(240, 120, 32, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spinR linear infinite;
}

.ring:nth-child(1) {
  width: 100%;
  height: 100%;
  animation-duration: 80s;
}

.ring:nth-child(2) {
  width: 76%;
  height: 76%;
  animation-duration: 55s;
  animation-direction: reverse;
  border-style: dashed;
  border-color: rgba(240, 120, 32, 0.08);
}

.ring:nth-child(3) {
  width: 54%;
  height: 54%;
  animation-duration: 38s;
  border-color: rgba(240, 120, 32, 0.16);
}

.logo-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(240, 120, 32, 0.18) 0%,
      rgba(100, 30, 160, 0.15) 50%,
      transparent 80%);
  animation: pulseG 4s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 280px;
  object-fit: contain;
  border-radius: 50%;
  background: radial-gradient(circle,
      #4a1880 0%,
      #2d0e50 60%,
      transparent 100%);
  padding: 10px;
  filter: drop-shadow(0 0 25px rgba(240, 120, 32, 0.55)) drop-shadow(0 0 60px rgba(160, 60, 240, 0.25));
  animation: floatL 6s ease-in-out infinite;
}

@keyframes advaitLoaderSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes advaitLoaderGlow {

  0%,
  100% {
    opacity: 0.62;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes advaitLoaderFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-9px) scale(1.025);
  }
}

@keyframes advaitLoaderText {

  0%,
  100% {
    opacity: 0.62;
  }

  50% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spinR {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulseG {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes floatL {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-loader-ring,
  .site-loader-glow,
  .site-loader-logo-frame,
  .site-loader-text {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}

.banner-loader {
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.advait-loader-pending .banner-loader {
  display: flex;
}

/* .banner-loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 168, 64, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 168, 64, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9), transparent 78%);
  opacity: 0.65;
} */

.banner-loader-stage {
  position: relative;
  z-index: 1;
  width: min(76vw, 430px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-loader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(244, 168, 64, 0.16);
  transform: translate(-50%, -50%);
  animation: advaitLoaderSpin linear infinite;
}

.banner-loader-ring:nth-child(1) {
  width: 100%;
  height: 100%;
  animation-duration: 78s;
  box-shadow: inset 0 0 44px rgba(232, 117, 10, 0.05);
}

.banner-loader-ring:nth-child(2) {
  width: 76%;
  height: 76%;
  border-style: dashed;
  border-color: rgba(244, 168, 64, 0.12);
  animation-duration: 48s;
  animation-direction: reverse;
}

.banner-loader-ring:nth-child(3) {
  width: 56%;
  height: 56%;
  border-color: rgba(248, 200, 120, 0.22);
  animation-duration: 34s;
}

.banner-loader-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(248, 200, 120, 0.24) 0%, transparent 38%),
    radial-gradient(circle, rgba(232, 117, 10, 0.2) 12%, rgba(86, 24, 142, 0.28) 58%, transparent 80%);
  filter: blur(1px);
  animation: advaitLoaderGlow 3.2s ease-in-out infinite;
}

.banner-loader-logo-frame {
  position: relative;
  z-index: 2;
  width: 62%;
  height: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: clamp(10px, 3vw, 20px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(90, 28, 148, 0.95) 0%, rgba(45, 14, 80, 0.98) 62%, rgba(15, 18, 40, 1) 100%);
  border: 1px solid rgba(248, 200, 120, 0.24);
  box-shadow:
    0 0 0 10px rgba(86, 24, 142, 0.16),
    0 0 34px rgba(232, 117, 10, 0.45),
    0 0 86px rgba(100, 30, 160, 0.36);
  animation: advaitLoaderFloat 5.4s ease-in-out infinite;
}

.banner-loader-logo-frame::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(248, 200, 120, 0.16);
  pointer-events: none;
}

.banner-loader-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.banner-loader-text {
  position: relative;
  z-index: 1;
  color: var(--o3);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.82rem, 2.2vw, 1.05rem);
  letter-spacing: 0.36em;
  line-height: 1;
  text-indent: 0.36em;
  text-shadow: 0 0 18px rgba(232, 117, 10, 0.42);
  animation: advaitLoaderText 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {

  .banner-loader-ring,
  .banner-loader-glow,
  .banner-loader-logo-frame,
  .banner-loader-text {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
@media (min-width: 220px) and (max-width: 992px) {
  .banner-loader {
    display: none;
  }
}
