body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Rubik', sans-serif !important;
}

.circle-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#bgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.why {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  left: 48%;
  margin-left: -2px;
}

.what {
  position: absolute;
  top: calc(42% - 70px);
  left: 43%;
}

.how {
  position: absolute;
  top: calc(46% - 143px);
  left: 45%;
  margin-left: -5px;
}

.circle-text {
  font-size: 25px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.navbar {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 16px;
  font-weight: bold;
  z-index: 3;
}

.navbar a {
  position: relative;
  text-decoration: none;
  color: #fff;
      letter-spacing: 1px !important;
  /* updated from #333 for better contrast on dark background */
  padding: 5px 0;
  transition: color 0.3s ease-in-out;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  /* underline color */
  transition: width 0.4s ease-in-out;
  transform-origin: left;
}

.navbar a:hover::after {
  width: 100%;
}

/* Remove animation keyframes and unused states */
.circle-svg,
.text-overlay {
  opacity: 0;
  transform: scale(0.8) translateY(50px);
}

.circle-svg.animate-in,
.text-overlay.animate-in {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: none;
}

.circle-svg,
.text-overlay {
  opacity: 1;
  transform: none;
}

.svg-main-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

.circle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.circle-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 90vw;
  max-width: 500px;
  flex-direction: column;
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.circle-svg {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 0;
  margin-left: 30px;
}

.circle-text.how {
  margin-top: 80px;
  margin-left: 23px;
}

.circle-text {
  font-size: 30px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}

.text-columns {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25px;
  gap: 18px;
  width: 100%;
  height: 100%;
}

.logo-text {
  margin-left: -170px;
  margin-top: 0px;
}

.logo-text .w {
  font-family: "Great Vibes", cursive;
  font-weight: 500;
  color: white;
  font-size: 210px;
  text-shadow: #00000040 10px 10px 10px;
}

.logo-text .ellysian {
  font-family: 'Rubik', sans-serif !important;
  font-weight: 300;
  margin-left: -30px;
  font-size: 82px;
  text-transform: lowercase;
}

.logo-text .consulting {
  font-size: 25px;
  letter-spacing: 0.1em;
  text-align: end;
  margin-top: -70px;
}

.consulting.services {
  margin-top: -5px;
}

.logo-container {
  font-size: 64px;
  display: flex;
  align-items: center;
}

:root {
  --bg: white;
  --link-color: grey;
  --overlay-body: black;
}

.overlay {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: 0;
}

.overlay {
  transform-origin: top right;
}

svg path {
  fill: fill;
  transition: fill 0.3s;
}

#toggle-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2em;
  z-index: 9999;
  cursor: pointer;
}

.btn-outline {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid white;
}

.btn-outline-1 {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 4s linear infinite;
}

.btn-outline-2 {
  border-radius: 53% 47% 43% 57% / 51% 39% 61% 49%;
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 40% 70% 40%;
  }
}

#hamburger {
  position: relative;
  width: 20px;
  height: 20px;
  z-index: 2;
}

#hamburger span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2.25px;
  background: white;
  transition: transform 0.25s;
}

#hamburger span::before {
  position: absolute;
  right: 0;
  content: "";
  width: 18px;
  height: 1.25px;
  background: white;
  transform: translateY(-6px);
  transition: transform 0.25s;
}

#hamburger.active span {
  transform: rotate(45deg);
}

#hamburger.active span::before {
  top: unset;
  width: 24px;
  transform: rotate(-90deg);
  background: white;
}

.menu {
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  pointer-events: none;
  opacity: 0;
  z-index: 4;
}

.menu>div {
  height: 100%;
  width: 100%;
  display: flex;
}

.menu a {
  position: relative;
  top: 120px;
  line-height: 70%;
  text-decoration: none;
  color: white;
  font-size: 32px;
}

.menu a span {
  font-size: 20px;
  margin-right: 1em;
}

.menu-item {
  position: relative;
  margin-bottom: 10px;
}

.menu-container {
  width: 70%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.primary-menu {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.primary-menu .menu-container .wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.primary-menu a {
  text-transform: uppercase;
  font-size: 64px;
  font-weight: 500;
}

.secondary-menu {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.menu-item a {
  position: relative;
  overflow: hidden;
}

.menu-item a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: white;
  transition: width 0.4s ease-in-out;
}

.menu-item a:hover::after {
  width: 100%;
}
.text-columns {
  z-index: 1;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
  width: 100%;
  height: 80%;
  margin-left: -10px;
}

div#curved-text1 {
  margin-bottom: 0px;
}
.site-log {
  position: absolute;
  left: 0;
top: 0px;
  cursor: pointer;
  z-index: 9; 
}

img.log {
  margin: 10px;
  width: 260px;
}
@media screen and (max-width: 780px) {
  .navbar {
    display: none;
  }

  .circle-content {
    width: 100vw;
  }

  .logo-text .w {
    font-family: "Great Vibes", cursive;
    font-weight: 500;
    font-size: 80px;
  }

  .logo-text {
    margin-left: 0px;
    margin-top: 60px;
  }

  .logo-text .ellysian {
    font-family: museo-sans, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 300;
    margin-left: 0px;
    font-size: 60px;
    text-transform: lowercase;
  }

  .logo-text .consulting {
    font-size: 25px;
    letter-spacing: 0.1em;
    text-align: end;
    line-height: 35px;
    margin-top: -10px;
  }

  .circle-text.how {
    margin-top: 65px;
    margin-left: 20px;
  }

  .how {
    position: absolute;
    top: calc(46% - 114px);
    left: 45%;
    margin-left: -5px;
  }

  /* .text-columns {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    gap: 5px;
    width: 100%;
    height: 100%;
  } */
.text-columns {

    gap: 5px;
 
}
div#curved-text1 {
    margin-bottom: 0px;
    margin-left: 5px;
}
  .menu {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    pointer-events: none;
    background-color: #150029;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    z-index: 4;
    justify-content: center;
  }
.btn-outline.btn-outline-2 {
    height: 80px !important;
    width: 80px !important;
}
.btn-outline.btn-outline-1 {
    height: 80px !important;
    width: 80px !important;
}
  .primary-menu a {
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 500;
    line-height: 36px;
  }

  .primary-menu .menu-container .wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 100px;
  }
  img.log {
    margin: 10px;
    width: 200px;
}
.site-log {
    position: absolute;
    left: 0;
    top: 30px;
    cursor: pointer;
    z-index: 9;
}
}

.secondary-menu .menu-item {

  position: relative;
  margin-bottom: 20px;
}

body:not(.menu-open) #toggle-btn:hover .btn-outline {
   border-color: #f0a8ff !important;
    filter: drop-shadow(0 0 5px #f0a8ff);
}

body:not(.menu-open) #toggle-btn:hover #hamburger span,
body:not(.menu-open) #toggle-btn:hover #hamburger span::before {
  background: #f0a8ff !important;
}

/* Hover state when menu is open (force white) */
body.menu-open #toggle-btn:hover .btn-outline {
  border-color: white !important;
  filter: drop-shadow(0 0 5px white);
}

body.menu-open #toggle-btn:hover #hamburger span,
body.menu-open #toggle-btn:hover #hamburger span::before {
  background: white;
}


