* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden
}

#preloader {
    position: fixed;
    inset: 0;
    background: #020617;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s, visibility .6s
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden
}

.loader {
    width: 60px;
    height: 60px;
    position: relative
}

.loader-circle {
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #2563EB;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute
}

.loader-circle:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    border-top-color: #06B6D4;
    animation-direction: reverse;
    animation-duration: .8s
}

.loader-circle:nth-child(3) {
    width: 20px;
    height: 20px;
    top: 20px;
    left: 20px;
    border-top-color: #3B82F6;
    animation-duration: .6s
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #0F172A
}

::-webkit-scrollbar-thumb {
    background: #2563EB;
    border-radius: 4px
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

.mobile-menu.active {
    transform: translateX(0)
}

.mobile-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s, visibility .4s
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all .3s;
    border-radius: 2px
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.active span:nth-child(2) {
    opacity: 0
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px)
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s
}

.mobile-dropdown-content.open {
    max-height: 300px
}

.navbar-scrolled {
    background: rgba(2, 6, 23, .95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .3)
}

.gradient-text {
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #06B6D4);
    border-radius: 2px
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all .3s
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible
}

.page-header {
    background: linear-gradient(135deg, #020617 0%, #0F172A 40%, #1E293B 100%);
    position: relative;
    overflow: hidden
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .15), transparent 70%)
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, .1), transparent 70%)
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #2563EB;
    border-radius: 50%;
    opacity: .3;
    animation: pf 8s infinite ease-in-out
}

@keyframes pf {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: .3
    }

    50% {
        transform: translate(-20px, -40px);
        opacity: .6
    }
}

/* Image Zoom */
.img-zoom {
    overflow: hidden
}

.img-zoom img {
    transition: transform .5s
}

.img-zoom:hover img {
    transform: scale(1.05)
}

/* Counter */
.counter-box {
    position: relative;
    overflow: hidden;
    transition: all .3s
}

.counter-box:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .3)
}

.counter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(37, 99, 235, .05), transparent);
    animation: shimmer 3s infinite
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg)
    }

    100% {
        transform: translateX(100%) rotate(45deg)
    }
}

/* Value Card */
.value-card {
    transition: all .4s ease
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, .12);
    border-color: rgba(37, 99, 235, .3)
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    color: white;
    transform: scale(1.1)
}

.value-icon {
    transition: all .4s ease
}

/* Timeline */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2563EB, #06B6D4, #2563EB);
    transform: translateX(-50%)
}

@media(max-width:767px) {
    .timeline-line {
        left: 20px
    }
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #06B6D4);
    border: 3px solid #020617;
    position: absolute;
    z-index: 2
}

@media(min-width:768px) {
    .timeline-dot {
        left: 50%;
        transform: translateX(-50%)
    }
}

@media(max-width:767px) {
    .timeline-dot {
        left: 13px
    }
}

.timeline-card {
    transition: all .3s
}

.timeline-card:hover {
    border-color: rgba(37, 99, 235, .3);
    transform: translateY(-3px)
}

/* Team Card */
.team-card {
    transition: all .4s
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, .12)
}

.team-card:hover .team-img img {
    transform: scale(1.05)
}

.team-img img {
    transition: transform .5s
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0)
}

.team-social {
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s .1s
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, .9), transparent);
    opacity: 0;
    transition: opacity .4s
}

.team-card:hover .team-overlay {
    opacity: 1
}

/* Client Logo */
.client-logo {
    filter: grayscale(1);
    opacity: .4;
    transition: all .3s
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1
}

/* Testimonial */
.testimonial-slider {
    transition: transform .5s ease
}

.testimonial-card {
    transition: all .3s
}

.testimonial-card:hover {
    border-color: rgba(37, 99, 235, .2)
}

/* Award */
.award-card {
    transition: all .3s
}

.award-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, .3)
}

/* Skill Bar */
.skill-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #2563EB, #06B6D4);
    width: 0;
    transition: width 1.5s ease
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .4)
    }

    50% {
        box-shadow: 0 0 0 20px rgba(37, 99, 235, 0)
    }
}

.cta-pulse {
    animation: ctaPulse 2.5s infinite
}

/* Marquee */
@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.marquee-track {
    animation: marquee 30s linear infinite
}

.marquee-track:hover {
    animation-play-state: paused
}

html, body {
  overflow-x: hidden;
}