/* SG Web Solutions - Shakir Husain Custom CSS System */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

:root {
    --bg-dark: #060e1a;
    --card-bg: rgba(15, 27, 49, 0.85);
    --cyan-glow: #00d2ff;
    --blue-glow: #0052ff;
    --emerald-glow: #00f5a0;
    --purple-glow: #7000ff;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, #0e203f 0%, #060e1a 75%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #f1f5f9;
    overflow-x: hidden;
}

/* Ambient Animated Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #0052ff 0%, #00d2ff 100%);
    top: -200px;
    left: -100px;
}

.orb-2 {
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, #7000ff 0%, #0052ff 100%);
    top: 35%;
    right: -200px;
    animation-delay: -7s;
}

.orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #00f5a0 0%, #0052ff 100%);
    bottom: 10%;
    left: 15%;
    animation-delay: -14s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 80px) scale(1.1); }
    100% { transform: translate(-40px, 40px) scale(0.95); }
}

/* Cyber Grid Overlay */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Navigation & Glassmorphism */
.nav-glass {
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-slide {
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.hero-slide.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide.active {
    display: grid !important;
    opacity: 1;
    transform: translateY(0);
}

/* Button Glow Effects */
.btn-glow {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

/* Service & Tech Cards Hover */
.service-card, .tech-card, .review-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.15);
}

/* Slow Floating Animation */
@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
    animation: bounceSlow 4s ease-in-out infinite;
}

/* Estimator Selection Options */
.estimator-opt input:checked + i + span {
    color: #00f2fe;
}

.estimator-opt:has(input:checked) {
    background-color: rgba(0, 242, 254, 0.12) !important;
    border-color: #00f2fe !important;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

/* Tailwind Utilities Fallback & Smooth Scroll Header Offset */
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 80px;
}
section, main {
    scroll-margin-top: 80px;
}

/* Continuous Infinite Technology Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

.mask-gradient {
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Custom Scrollbar Hiding for Mobile Touch Slider */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

