/* Custom CSS for Virat Transformers & Electricals */

/* Hide scrollbar for cleaner look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F7F8FA; 
}
.dark ::-webkit-scrollbar-track {
    background: #081C35;
}
::-webkit-scrollbar-thumb {
    background: #0066FF; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0052cc; 
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #0066FF;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 102, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 255, 0.1);
    border-color: #0066FF;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass {
    background: rgba(8, 28, 53, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Lenis Scroll Reset */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Text Reveal Animation Utility */
.text-reveal-mask {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Glowing Border */
.glow-border {
    position: relative;
}
.glow-border::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, #0066FF, #FFC107, #0066FF);
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-border:hover::before {
    opacity: 1;
}

/* Infinite Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
