@font-face {
    font-family: "Degila";
    src: url("assets/Degila.woff2") format("woff2"),
         url("assets/Degila.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    background-color: #ffffff;
    color: #374151;
    overflow-x: hidden;
    font-size: 1.125rem;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #ffffff;
}
::-webkit-scrollbar-thumb {
    background: #8f7ab5;
    border-radius: 4px;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 4px 12px -2px rgba(17, 24, 39, 0.06);
}

.service-card {
    opacity: 1; 
    transform: translateY(0);
}

/* Marquee: two identical groups, each at least as wide as the strip
   (script.js repeats the items to guarantee it), both shifted by their own
   width, so the loop restarts on an identical frame with no empty gap. */
.marquee {
    display: flex;
    overflow: hidden;
}
.marquee__group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    animation: marquee 30s linear infinite;
}
.marquee__group li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.marquee__group li::after {
    content: "•";
    margin: 0 2rem;
    color: rgb(255 255 255 / 0.3);
}
@keyframes marquee {
    to { transform: translateX(-100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.animate-float {
    will-change: transform;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ede1f0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}