:root {
  /* Font families */
  --font-heading: "Archivo", sans-serif;
  --font-body: "Roboto", sans-serif;

  /* Brutalist scale (can be tweaked) */
  --text-xs: 0.5rem; /* 12px */
  --text-sm: 0.75rem; /* 14px */
  --text-base: 0.85rem; /* 16px */
  --text-lg: 1.5rem; /* 18px */
  --text-xl: 2rem; /* 24px */
  --text-2xl: 3rem; /* 36px */
  --text-3xl: 4rem; /* 48px */
  --text-4xl: 5rem; /* 64px */
}

::selection {
  background-color: #000;
  color: #fff;
}

body.admin-bar {
  margin-top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    margin-top: 46px;
  }
}

/* Hide on mobile */
@media (max-width: 991px) {
  .ttc-cursor {
    display: none !important;
  }
}

.ttc-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  background-color: white;
  mix-blend-mode: difference;
  border-radius: 50%;
  z-index: 9999;
  transition: width 0.25s ease-out, height 0.25s ease-out,
    border-radius 0.25s ease-out, transform 0.08s ease-out;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(2px);
}

/* Hover state on <a> */
.ttc-cursor.is-hovering {
  width: 50px;
  height: 50px;
  border-radius: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: #000;
  background: white; /* or any color/image */
  overflow-x: hidden;
}

body,
a,
button,
input,
textarea,
select {
  cursor: none !important;
}

html {
  scroll-behavior: auto !important;
}

.container-fluid {
  --bs-gutter-x: 4rem;
  padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
  padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
}

.container-fluid.full {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  font-size: var(--text-4xl);
}
h2 {
  font-size: var(--text-3xl);
}
h3 {
  font-size: var(--text-2xl);
}
h4 {
  font-size: var(--text-xl);
}
h5 {
  font-size: var(--text-lg);
}
h6 {
  font-size: var(--text-base);
}

.text-xs {
  font-size: var(--text-xs);
} /* 12px */
.text-sm {
  font-size: var(--text-sm);
} /* 14px */
.text-base {
  font-size: var(--text-base);
} /* 16px */
.text-lg {
  font-size: var(--text-lg);
} /* 18px */
.text-xl {
  font-size: var(--text-xl);
} /* 24px */
.text-2xl {
  font-size: var(--text-2xl);
} /* 36px */
.text-3xl {
  font-size: var(--text-3xl);
} /* 48px */
.text-4xl {
  font-size: var(--text-4xl);
} /* 64px */

p,
ul,
ol,
li {
  font-size: var(--text-base);
  font-family: var(--font-body);
  margin-bottom: 0;
}

.vh-10 {
  min-height: 10vh;
}
.vh-20 {
  min-height: 20vh;
}
.vh-30 {
  min-height: 30vh;
}
.vh-40 {
  min-height: 40vh;
}
.vh-50 {
  min-height: 50vh;
}
.vh-60 {
  min-height: 60vh;
}
.vh-70 {
  min-height: 70vh;
}
.vh-80 {
  min-height: 80vh;
}
.vh-90 {
  min-height: 90vh;
}
.vh-100 {
  min-height: 100vh;
}

.ls-wide {
  letter-spacing: 2px;
}

.fw-medium {
  font-weight: 500;
}

.fw-semibold {
  font-weight: 600;
}

.blur-in {
  filter: blur(20px);
  opacity: 0;
  scale: 1.1;
}

.blur-up-in {
  opacity: 0;
  scale: 1.1;
  filter: blur(20px);
  transform: translateY(60px);
}

.slide-down-delay {
  opacity: 0;
  transform: translateY(-30px);
}

.opacity-word {
  opacity: 0.1;
  filter: blur(10px);
  display: inline-block;
  will-change: opacity, filter;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.navbar.unfixed {
  position: absolute;
  top: auto;
  bottom: 0; /* optional: stick it to the bottom of its parent */
}

.navbar-btn {
  background-color: #000;
  color: #fff;
  font-family: "Founders Grotesk", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 5px;
  backdrop-filter: blur(10px);
  padding: 15px 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: all 300ms ease-out;
}

.navbar-btn .btn-text-wrapper {
  overflow: hidden;
  height: 12px;
}
.navbar-btn .shuffle-text {
  display: flex;
  flex-direction: column;
  transition: all 300ms ease-out;
  line-height: 12px;
}

.navbar-btn .shuffle-text::after {
  content: attr(data-text);
  display: block;
  opacity: 0;
  transition: all 300ms ease-out;
}

.navbar-btn:hover .shuffle-text {
  transform: translateY(-12px);
}

.navbar-btn:hover .shuffle-text::after {
  opacity: 1;
}

.navbar-btn i {
  margin-left: 10px;
  transform: rotate(-45deg);
  transition: all 300ms ease-out;
  /* line-height: 40px; */
}

.navbar-btn.cta {
  min-height: 100%;
}

.navbar-btn.large {
  font-size: 16px;
}

.navbar-btn.large .btn-text-wrapper {
  height: 16px;
}

.navbar-btn.large .shuffle-text {
  line-height: 16px;
}

.navbar-btn.large:hover .shuffle-text {
  transform: translateY(-16px);
}

.navbar-btn.extra {
  font-size: 24px;
  font-weight: 400;
}

.navbar-btn.extra .btn-text-wrapper {
  height: 24px;
}

.navbar-btn.extra .shuffle-text {
  line-height: 24px;
}

.navbar-btn.extra:hover .shuffle-text {
  transform: translateY(-24px);
}

.navbar-btn.filter {
  background-color: #f0f0f0;
  color: #000;
}

.navbar-btn.filter.active {
  background-color: #000;
  color: #fff;
}

.navbar-logo img {
  height: 20px !important;
  width: auto !important;
}

.navbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  mix-blend-mode: difference;
  top: 60px;
  position: fixed;
  z-index: 99999;
}

.navbar-menu {
  padding: 10px;
  border-radius: 5px;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.navbar-btn:hover {
  background-color: #000;
  color: #fff;
}

.navbar-btn:hover i {
  transform: rotate(0deg);
}

.navbar-btn.light {
  background-color: #fff;
  color: #000;
}

.navbar-btn.light:hover,
.navbar-btn.light:focus,
.navbar-btn.light:active {
  background-color: #f0f0f0;
}

.navbar-menu:hover .navbar-btn:hover {
  background-color: #000;
  color: #fff;
}

.navbar-menu:hover .navbar-btn:not(:hover) {
  background-color: transparent;
  color: #000;
}

.mobile-nav {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}

.mobile-nav .dropdown-menu {
  padding: 0px;
  gap: 10px;
  background-color: transparent;
  border: none;
  margin-bottom: 10px !important;
  width: 100%;
}

.dropdown-menu.show {
  display: flex;
  flex-direction: column;
}

.navbar-end-wrapper {
  display: flex;
  gap: 10px;
  width: fit-content;
  align-items: center;
}

.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 calc(100% / 1.1);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .carousel-card {
    flex: 0 0 calc(100% / 3.2);
  }
}

.carousel-card {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 0px;
  transition: all 300ms ease-out;
}

.carousel-card:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.carousel-card img {
  border-radius: 0px;
}

.img-about {
  height: 60vh;
  border-radius: 0px;
  overflow: hidden;
  display: inline-block;
  position: relative;
  width: 100%;
}

.img-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform;
  filter: grayscale(100%);
}

#twirl-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0px;
}

/* .img-about:hover img {
  transform: scale(1.05);
} */

.img-service-list {
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 10vh;
}

.pill-title {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000;
  padding: 10px 30px;
  border-radius: 0px;
  width: fit-content;
}

.service-card {
  background-color: #fff;
  border-radius: 0px;
  transition: all 300ms ease-out;
  gap: 20px;
  align-items: stretch;
}

.service-card .service-text {
  width: calc(40% - 10px);
}

.service-card .img-service-list {
  width: calc(60% - 10px);
  filter: grayscale(100%);
  border-radius: 0px;
  transition: all 500ms ease-out;
}

/* .service-card:hover {
  background-color: #e2e2e2;
} */

.service-card:hover .img-service-list {
  filter: grayscale(0%);
}

.service-content {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-content * {
  /* width: calc(50% - 10px); */
  width: 100%;
}

.service-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-content ul li {
  width: 100%;
  font-size: var(--text-sm);
  margin-bottom: 10px;
}

.service-content ul li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.section-service {
  position: relative;
}

.service-stack {
  position: relative;
}

.service-card:last-child {
  position: relative;
  z-index: 99;
}

.client-wrapper {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.client-logo {
  background-color: #fff;
  aspect-ratio: 1 / 1;
  border-radius: 0px;
  overflow: hidden;
  display: block;
  width: calc(20% - 10px);
  padding: 20px;
  transition: all 500ms ease-out;
}

.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 500ms ease-out;
}

.client-logo:hover img {
  filter: grayscale(100%);
  opacity: 1;
}

.blog-list:first-of-type {
  border-top: 1px solid #000;
}

.blog-list {
  border-bottom: solid 1px #000;
  color: #000;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 500ms ease-out;
}

.blog-list:hover {
  color: #fff;
}

.blog-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  transform: translateY(100%); /* Hidden below initially */
  z-index: 0;
}

.blog-list .category {
  width: 15%;
}

.blog-list .title {
  width: 70%;
}

.blog-list .icon {
  width: 15%;
  transition: all 500ms ease-out;
  transform: translateX(-10px);
}

.blog-list:hover .icon {
  transform: translateX(0px);
}

.blog-hover-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  z-index: 999;
  transform-origin: center;
  transform: scale(0) translate(-50%, -60%);
}

.cta-card {
  color: #fff;
  background-color: #000;
  border-radius: 0px;
}

.footer img {
  opacity: 0.1;
  transition: all 500ms ease-out;
}

.footer img:hover {
  opacity: 1;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  transition: all 300ms ease-out;
}

.footer-list:hover .footer-link:not(:hover) {
  opacity: 0.2;
}

.work-list {
  color: #000;
  text-decoration: none;
  padding: 30px;
  transition: all 300ms ease-out;
}

.work-list:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.work-list-thumb {
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  height: 50vh;
  transition: none;
  border-radius: 0px;
}

.work-service-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}

.list-pill {
  flex-grow: 1;
  padding: 5px 25px;
  border-radius: 0px;
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  width: fit-content;
}

.work-details {
  column-count: 2;
  column-gap: 20px;
  text-align: justify;
}

.gallery img {
  border-radius: 0px;
}

.service a {
  text-decoration: none;
  color: #000;
  transition: all 300ms ease-out;
}

.service a i {
  opacity: 0;
  transition: all 300ms ease-out;
  transform: rotate(-45deg);
}

.service a:hover {
  transform: translateX(20px);
}

.service a:hover i {
  opacity: 1;
  transform: rotate(0deg);
}

.service img {
  border-radius: 0px;
}

#serviceImage {
  transition: opacity 0.3s ease;
  opacity: 1;
}
#serviceImage.fade-out {
  opacity: 0;
}

.parallax-wrapper {
  position: relative;
  height: 50vh;
  overflow: hidden;
  border-radius: 0px;
}

.parallax-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0%);
}

.service-box .service-box-inner {
  background-color: rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 300ms ease-out;
}

.service-box-inner:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.service-other {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0px;
}

.service-row:hover .service-box-inner:not(:hover) {
  background-color: rgba(0, 0, 0, 0);
  filter: blur(10px);
}

.service-box-inner h3 {
  transition: all 300ms ease-out;
}
.service-box-inner p {
  opacity: 0;
  transition: all 300ms ease-out;
}

.service-box-inner .spacer {
  height: 20vh;
  transition: all 300ms ease-out;
}

.service-box:hover .spacer {
  height: 20vh;
}

.service-box:hover p {
  opacity: 1;
}

.post-content {
  text-align: justify;
  line-height: 200% !important;
}

.contact-list {
  color: #000;
  display: flex;
  justify-content: space-between;
  text-decoration: none;
}

.contact-list .label {
  font-size: var(--text-sm);
  transition: all 300ms ease-out;
  opacity: 0;
  transform: translateY(5px);
}

.contact-list .title {
  font-size: var(--text-xl);
}

.contact-list:hover .label {
  transform: translateX(0px);
  opacity: 1;
}
