* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #2563eb #1e293b
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #1e293b
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 3px
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    cursor: none
}

@media(max-width:768px) {
    body {
        cursor: auto
    }
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .6s, visibility .6s
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

#loader .logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem
}

#loader .bar-track {
    width: 200px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    overflow: hidden
}

#loader .bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    border-radius: 2px;
    transition: width .3s
}

#loader .percent {
    color: #94a3b8;
    font-size: .8rem;
    margin-top: .75rem;
    letter-spacing: 2px
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform .1s
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(37, 99, 235, .5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transition: width .3s, height .3s, border-color .3s
}

.cursor-dot.hover {
    transform: translate(-50%, -50%) scale(2.5)
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: #2563eb
}

.cursor-dot.click {
    transform: translate(-50%, -50%) scale(0.5)
}

.cursor-ring.click {
    width: 28px;
    height: 28px
}

@media(max-width:768px) {

    .cursor-dot,
    .cursor-ring {
        display: none !important
    }
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    z-index: 9999;
    transition: width .05s
}

.page {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0)
}

nav {
    backdrop-filter: blur(12px);
    transition: all .3s
}

nav.scrolled {
    background: rgba(15, 23, 42, .95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, .3)
}

nav.scrolled .nav-link {
    color: #94a3b8 !important
}

nav.scrolled .nav-link:hover {
    color: #60a5fa !important
}

nav.scrolled .nav-link.active-link {
    color: #60a5fa !important
}

.reveal {
    opacity: 0;
    transition: all .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal.active {
    opacity: 1
}

.reveal.fade-up {
    transform: translateY(60px)
}

.reveal.fade-up.active {
    transform: translateY(0)
}

.reveal.slide-left {
    transform: translateX(-80px)
}

.reveal.slide-left.active {
    transform: translateX(0)
}

.reveal.slide-right {
    transform: translateX(80px)
}

.reveal.slide-right.active {
    transform: translateX(0)
}

.reveal.scale {
    transform: scale(.8)
}

.reveal.scale.active {
    transform: scale(1)
}

.reveal.rotate {
    transform: rotate(-5deg) scale(.9)
}

.reveal.rotate.active {
    transform: rotate(0) scale(1)
}

.reveal.flip {
    transform: perspective(800px) rotateY(30deg);
    transform-origin: left
}

.reveal.flip.active {
    transform: perspective(800px) rotateY(0)
}

.stagger-child {
    opacity: 0;
    transform: translateY(40px);
    transition: all .6s cubic-bezier(.16, 1, .3, 1)
}

.stagger-child.active {
    opacity: 1;
    transform: translateY(0)
}

.char-reveal .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-40deg);
    transition: all .5s cubic-bezier(.16, 1, .3, 1)
}

.char-reveal.active .char {
    opacity: 1;
    transform: translateY(0) rotateX(0)
}

.img-reveal {
    position: relative;
    overflow: hidden
}

.img-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    z-index: 2;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 1s cubic-bezier(.77, 0, .175, 1)
}

.img-reveal.active::before {
    transform: scaleX(0)
}

.img-reveal img {
    transform: scale(1.15);
    transition: transform 1.2s cubic-bezier(.16, 1, .3, 1) .3s
}

.img-reveal.active img {
    transform: scale(1)
}

.tilt-card {
    transition: transform .15s ease-out;
    transform-style: preserve-3d;
    will-change: transform
}

.magnetic-btn {
    transition: transform .2s ease-out
}

.ripple-container {
    position: relative;
    overflow: hidden
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    transform: scale(0);
    animation: rippleAnim .6s ease-out;
    pointer-events: none
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0
    }
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #2563eb;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .15;
    animation: blobMorph 8s ease-in-out infinite alternate
}

@keyframes blobMorph {
    0% {
        border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
        transform: translate(0, 0) scale(1)
    }

    33% {
        border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
        transform: translate(30px, -20px) scale(1.1)
    }

    66% {
        border-radius: 50% 60% 30% 60%/30% 60% 70% 40%;
        transform: translate(-20px, 20px) scale(.95)
    }

    100% {
        border-radius: 60% 40% 70% 30%/60% 40% 30% 70%;
        transform: translate(10px, -10px) scale(1.05)
    }
}

.wave-wrap {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0
}

.wave-wrap svg {
    position: relative;
    display: block;
    width: 3100px !important;
    height: 60px
}

.wave-anim {
    animation: waveMove 4s linear infinite
}

@keyframes waveMove {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.rotating-border {
    position: relative;
    overflow: hidden
}

.rotating-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, #60a5fa, #2563eb, #1e40af, #60a5fa);
    animation: borderSpin 3s linear infinite;
    border-radius: inherit
}

.rotating-border::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #1e293b;
    border-radius: inherit;
    z-index: 0
}

.rotating-border>* {
    position: relative;
    z-index: 1
}

@keyframes borderSpin {
    to {
        transform: rotate(360deg)
    }
}

.star-spin .iconify {
    transition: transform .3s
}

.star-spin:hover .iconify {
    animation: starSpin .6s ease
}

@keyframes starSpin {
    to {
        transform: rotate(360deg)
    }
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite
}

.marquee-track:hover {
    animation-play-state: paused
}

@keyframes marqueeScroll {
    to {
        transform: translateX(-50%)
    }
}

.float-shape {
    position: absolute;
    opacity: .15;
    will-change: transform
}

.float-1 {
    animation: float1 6s ease-in-out infinite
}

.float-2 {
    animation: float2 8s ease-in-out infinite
}

.float-3 {
    animation: float3 7s ease-in-out infinite
}

.float-4 {
    animation: float4 9s ease-in-out infinite
}

.float-5 {
    animation: float5 5s ease-in-out infinite
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(-30px) rotate(15deg)
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(20px) rotate(-20deg)
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0) translateX(0)
    }

    50% {
        transform: translateY(-25px) translateX(15px)
    }
}

@keyframes float4 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg)
    }

    50% {
        transform: translateY(15px) rotate(25deg)
    }
}

@keyframes float5 {

    0%,
    100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-20px) scale(1.1)
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    opacity: .3
}

.particle:nth-child(odd) {
    animation: particleFloat 4s ease-in-out infinite
}

.particle:nth-child(even) {
    animation: particleFloat 5s ease-in-out infinite reverse
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: .3
    }

    50% {
        transform: translateY(-20px);
        opacity: .6
    }
}

.skill-bar-fill {
    width: 0;
    transition: width 1.5s cubic-bezier(.16, 1, .3, 1)
}

.skill-bar-fill.active {
    width: var(--target-width)
}

.card-glow {
    transition: all .4s
}

.card-glow:hover {
    box-shadow: 0 0 40px rgba(37, 99, 235, .15);
    transform: translateY(-5px)
}

.pulse-ring {
    animation: pulseRing 2s ease-out infinite
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1
    }

    100% {
        transform: scale(1.5);
        opacity: 0
    }
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.grid-pattern {
    background-image: radial-gradient(circle, rgba(37, 99, 235, .08) 1px, transparent 1px);
    background-size: 30px 30px
}

.nav-link {
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width .3s
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%
}

.counter {
    font-variant-numeric: tabular-nums
}

.testimonial-card {
    transition: all .4s
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, .15)
}

.chat-bubble {
    animation: bubbleIn .5s ease-out
}

@keyframes bubbleIn {
    from {
        transform: scale(.8) translateY(10px);
        opacity: 0
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1
    }
}

.form-input {
    transition: all .3s
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1)
}

html {
    scroll-behavior: smooth
}

.blog-card:hover .blog-img {
    transform: scale(1.08)
}

.service-icon {
    transition: all .4s;
    transform-style: preserve-3d
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: #2563eb;
    color: #fff
}

.team-overlay {
    opacity: 0;
    transition: all .4s
}

.team-card:hover .team-overlay {
    opacity: 1
}

.team-card:hover .team-img {
    transform: scale(1.1)
}

.popular-badge {
    animation: badgePulse 2s ease-in-out infinite
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .4)
    }

    50% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0)
    }
}

.hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
}

.diagonal-lines {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(37, 99, 235, .03) 10px, rgba(37, 99, 235, .03) 20px)
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1)
}

.mobile-menu.open {
    transform: translateX(0)
}

.map-area {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden
}

.map-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(37, 99, 235, .15) 1px, transparent 1px);
    background-size: 20px 20px
}

/* Blue section themes */
.section-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%)
}

.section-blue-light {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%)
}