* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #07070d
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,#00b4d8,#7c3aed);
    border-radius: 3px
}

body {
    overflow-x: hidden
}

.texture-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);
    background-size: 24px 24px
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07070d;
    transition: opacity .8s ease,visibility .8s ease
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

#preloader canvas {
    position: absolute;
    inset: 0
}

.preloader-text {
    position: relative;
    z-index: 10;
    font-family: 'Space Grotesk',sans-serif;
    font-size: clamp(2.5rem,8vw,5rem);
    font-weight: 700;
    letter-spacing: .05em
}

.preloader-text .raa {
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: raaGlow 2s ease-in-out infinite alternate
}

.preloader-text .codex {
    color: #e2e8f0;
    animation: codexReveal 1.5s ease forwards;
    opacity: 0
}

/* Animated Underline under RAACodex */
.preloader-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00b4d8, #7c3aed, #00b4d8);
    background-size: 200% 100%;
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: center;
    animation: underlineReveal 2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards, underlineShimmer 1.5s ease-in-out 2.8s infinite;
    box-shadow: 0 0 18px rgba(0, 180, 216, 0.5), 0 0 6px rgba(124, 58, 237, 0.4);
}

@keyframes underlineReveal {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes underlineShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes raaGlow {
    0% {
        filter: brightness(1);
        text-shadow: 0 0 20px rgba(0,180,216,.3)
    }

    100% {
        filter: brightness(1.3);
        text-shadow: 0 0 40px rgba(124,58,237,.5)
    }
}

@keyframes codexReveal {
    0% {
        opacity: 0;
        transform: translateX(20px)
    }

    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

/* ✅ REMOVED: .preloader-bar and @keyframes loadBar */
.logo-raa {
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: raaGlow 2s ease-in-out infinite alternate;
    display: inline-block
}


.nav-glass {
    background: rgba(7,7,13,.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.05)
}

.nav-link {
    position: relative;
    transition: color .3s ease
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,#00b4d8,#7c3aed);
    transition: width .3s ease;
    border-radius: 2px
}

.nav-link:hover::after,.nav-link.active::after {
    width: 100%
}

.nav-link:hover,.nav-link.active {
    color: #00b4d8
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #00b4d8;
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)!important;
    z-index: 11;
}

@keyframes scrollBounce {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(10px)
    }
}

.glass-card {
    background: rgba(12,12,22,.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.05);
    transition: all .4s ease;
    position: relative;
    overflow: hidden
}
form#contactForm {height: 100%;padding: 80px 32px;z-index: 11!important;}
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgba(0,180,216,.05),rgba(124,58,237,.05));
    opacity: 0;
    transition: opacity .4s ease;
    z-index: -1;
}

.glass-card:hover::before {
    opacity: 1
}

.glass-card:hover {
    border-color: rgba(0,180,216,.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.3)
}

.btn-gradient {
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.btn-gradient:hover {
    box-shadow: 0 8px 30px rgba(0,180,216,.3);
    transform: translateY(-2px)
}

.btn-outline {
    border: 1px solid rgba(0,180,216,.4);
    transition: all .3s ease
}

.btn-outline:hover {
    background: rgba(0,180,216,.1);
    border-color: #00b4d8;
    transform: translateY(-2px)
}

.heading-gradient {
    background: linear-gradient(135deg,#e2e8f0,#00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease,transform .8s ease
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0)
}

.process-line {
    position: relative
}

.process-line::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 32px;
    right: 32px;
    height: 2px;
    background: linear-gradient(90deg,#00b4d8,#7c3aed);
    z-index: 0
}

@media(max-width: 768px) {
    .process-line::before {
        display:none
    }
}

.tech-card {
    background: rgba(12,12,22,.5);
    border: 1px solid rgba(255,255,255,.05);
    transition: all .4s ease;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(30px);
}

.tech-card:hover {
    border-color: rgba(0,180,216,.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
    background: rgba(12,12,22,.8)
}

.tech-card i {
    font-size: 2.5rem;
    transition: transform .3s ease,filter .3s ease
}

.tech-card:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(0,180,216,.4))
}

.filter-btn {
    transition: all .3s ease;
    border: 1px solid rgba(255,255,255,.1);
    padding: .5rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: .875rem;
    background: transparent;
    color: #cbd5e1
}

.filter-btn.active,.filter-btn:hover {
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    border-color: transparent;
    color: #fff
}

.portfolio-item {
    transition: all .5s ease
}

.portfolio-item.hide {
    opacity: 0;
    transform: scale(.8);
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0
}

.portfolio-overlay {
    opacity: 0;
    transition: opacity .4s ease
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1
}

.product-card {
    transition: all .4s ease
}

.product-card:hover {
    transform: translateY(-6px)
}

.wishlist-btn {
    transition: all .3s ease
}

.wishlist-btn.active {
    color: #f43f5e
}

.wishlist-btn:hover {
    transform: scale(1.2)
}

.testimonial-track {
    display: flex;
    transition: transform .5s ease;
    padding-top: 10px;
}

.testi-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    cursor: pointer;
    transition: all .3s ease;
    border: none;
    outline: none
}

.testi-dot.active {
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(0,180,216,.4)
}

.testi-dot:hover {
    background: rgba(0,180,216,.5)
}

.testi-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(12,12,22,.6);
    backdrop-filter: blur(8px);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
    font-size: 1rem
}

.testi-arrow:hover {
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease,padding .4s ease
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 1rem
}

.faq-item.open .faq-icon {
    transform: rotate(45deg)
}

.faq-icon {
    transition: transform .3s ease
}

.wishlist-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 90vw;
    height: 100vh;
    background: rgba(12,12,22,.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,.05);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform .4s ease;
    overflow-y: auto
}

.wishlist-panel.open {
    transform: translateX(0)
}

.wishlist-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.wishlist-overlay.open {
    opacity: 1;
    visibility: visible
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgb(10 10 18);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,.05);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform .4s ease
}

.mobile-menu.open {
    transform: translateX(0)
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    background: rgba(12,12,22,.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,180,216,.3);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all .4s ease;
    font-size: .9rem;
    pointer-events: none;
    color: #e2e8f0
}

.toast.show {
    transform: translateY(0);
    opacity: 1
}

.stat-number {
    font-variant-numeric: tabular-nums
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.05)
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0,180,216,.3);
    border: none;
    color: #fff
}

#backToTop.visible {
    opacity: 1;
    visibility: visible
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,180,216,.4)
}

.text-gradient-mixed {
    background: linear-gradient(135deg,#00b4d8,#7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.gradient-border {
    position: relative
}

.gradient-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,rgba(0,180,216,.3),rgba(124,58,237,.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none
}

.gradient-border:hover::after {
    opacity: 1
}

@media(max-width: 768px) {
    .preloader-text {
        font-size:2rem
    }
}
/* RAkib */
/* Arif */