html, body {
    width: 100%;
    overflow-x: hidden;
}
body {
    background-color: #ffffff;
    color: #09090b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Lenis Base */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

::selection { background: #09090b; color: #ffffff; }

/* Animation utilities */
.clip-reveal {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
}

.img-reveal {
    clip-path: inset(100% 0 0 0);
}

/* Custom Underline */
.hover-underline {
    position: relative;
    display: inline-block;
}
.hover-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom right;
    transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
}
.hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Magnetic Button Base */
.magnetic-wrap {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.magnetic-content {
    display: flex;
    align-items: center;
    justify-content: center;
}
.magnetic-content * {
    pointer-events: none;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Service Hover Image Wrapper */
.service-img-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 300px;
    height: 200px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    z-index: 10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
