html {
    font-size: 16.5px;
}

@media (max-width: 640px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    font-size: 1.02rem;
}

.glass {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 50%, #e879f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animated ONLY for "BOJA" */
.animate-color-flow {
    background: linear-gradient(90deg, #22d3ee, #3b82f6, #e879f9, #f43f5e, #fbbf24, #34d399, #22d3ee);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorFlowShift 7s ease-in-out infinite;
    filter: drop-shadow(0 0 22px rgba(232, 121, 249, 0.28));
}

@keyframes colorFlowShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.blob {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    filter: blur(145px);
    opacity: 0.22;
    animation: floatBlob 14s ease-in-out infinite alternate;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(20px, -25px) scale(1.06) rotate(8deg); }
    100% { transform: translate(40px, -40px) scale(1.12) rotate(16deg); }
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spinSlow 22s linear infinite;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
}

.animate-float-gentle {
    animation: floatGentle 4.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 211, 238, 0.28); }
    50% { box-shadow: 0 0 38px rgba(232, 121, 249, 0.45); }
}

.animate-pulse-glow {
    animation: pulseGlow 3.6s ease-in-out infinite;
}

/* Scroll reveal animations */
.reveal-item {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hover animations for buttons, methodology & social icons */
.nav-link {
    position: relative;
    transition: color 0.3s ease, transform 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee, #e879f9);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #22d3ee;
    transform: translateY(-1px);
}

.footer-nav-link {
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-nav-link:hover {
    color: #22d3ee;
    transform: translateX(4px);
}

.footer-services-link {
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-services-link:hover {
    color: #3b82f6;
    transform: translateX(4px);
}

.btn-anim {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.btn-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 75%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    transition: left 0.65s ease;
    pointer-events: none;
}

.btn-anim:hover::before {
    left: 140%;
}

.btn-anim:hover {
    transform: translateY(-3px) scale(1.03);
}

.hover-scale {
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.38s ease;
}

.hover-scale:hover {
    transform: translateY(-7px) scale(1.025);
    box-shadow: 0 22px 45px -18px rgba(34, 211, 238, 0.28);
}

.methodology-card {
    transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.methodology-card:hover {
    transform: translateY(-11px) scale(1.035);
    box-shadow: 0 22px 48px -15px rgba(6, 182, 212, 0.4);
}

.social-icon {
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.si-whatsapp:hover {
    background-color: #25D366 !important;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.si-viber:hover {
    background-color: #7360f2 !important;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 10px 25px rgba(115, 96, 242, 0.45);
}

.si-telegram:hover {
    background-color: #0088cc !important;
    color: #ffffff !important;
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 10px 25px rgba(0, 136, 204, 0.45);
}

/* Mobile Overlay */
#mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

#mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: #e2e8f0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-nav-link:hover {
    color: #22d3ee;
    transform: scale(1.06);
}

/* FAQ Accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 340px;
    padding-top: 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: #22d3ee;
}

@media (prefers-reduced-motion: reduce) {
    .animate-color-flow,
    .blob,
    .animate-spin-slow,
    .animate-float-gentle,
    .animate-pulse-glow {
        animation: none !important;
    }
    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Custom Colorful Scrollbar (Mike Design Palette) */
        html {
            scrollbar-width: thin;
            scrollbar-color: #22d3ee #020617;
        }
        ::-webkit-scrollbar {
            width: 11px;
            height: 11px;
        }
        ::-webkit-scrollbar-track {
            background: #020617;
            border-left: 1px solid rgba(255, 255, 255, 0.06);
        }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #22d3ee 0%, #3b82f6 50%, #e879f9 100%);
            border-radius: 9999px;
            border: 2px solid #020617;
            transition: all 0.3s ease;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #67e8f9 0%, #60a5fa 50%, #f0abfc 100%);
            box-shadow: 0 0 12px rgba(34, 211, 238, 0.65);
        }
        ::-webkit-scrollbar-corner {
            background: #020617;
        }
