/* ==========================================================================
   NEON INDUSTRIAL ENTERPRISE THEME (END LEVEL DESIGN V3.2)
   ========================================================================== */

:root {
    --bg-base: #02050c;             /* Premium Deep Luxury Space Black */
    --bg-surface: #070d1a;          /* Rich Elevated Slate Layer */
    --bg-surface-accent: #0b1426;   /* Glossy Interactive Inner Card Matrix */
    --pure-white: #FFFFFF;
    --text-primary: #F3F4F6;
    --text-secondary: #94A3B8;
    --text-dark-muted: #475569;
    
    /* Hyper-Glow Signature Electric Colors */
    --cyber-cyan: #06B6D4;          
    --cyber-blue: #3B82F6;          
    --studio-border: rgba(255, 255, 255, 0.05);
    --studio-border-glow: rgba(6, 182, 212, 0.25);
}

body {
    background-color: var(--bg-base);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

#three-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Isse ye sab content ke peeche chala jayega */
    pointer-events: none; /* Taake mouse click website ke links par kaam kare */
}
/* Loader */
#loader-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-base); z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }

.loader-mark {
    width: 40px; height: 40px; border: 2px solid var(--cyber-cyan);
    border-radius: 8px; animation: pulse-glow 1.5s infinite ease-in-out;
}

.loader-text {
    font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem;
    letter-spacing: 0.3em; color: var(--cyber-cyan);
    text-transform: uppercase;
}

@keyframes pulse-glow {
    0% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.5; }
}

/* Background Atmospheric Shaders */
.cyber-grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 50px 50px; z-index: 0; pointer-events: none;
}
.ambient-studio-glow {
    position: fixed; top: -15%; right: -10%; width: 65vw; height: 65vh;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    z-index: 0; pointer-events: none; filter: blur(50px);
}
.ambient-secondary-glow {
    position: fixed; bottom: -10%; left: -10%; width: 55vw; height: 55vh;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    z-index: 0; pointer-events: none; filter: blur(50px);
}

.relative-z { position: relative; z-index: 10; }
.studio-section-padding { padding: 120px 0; }
.space-layer-dark { background-color: #040813; }
.text-cyan { color: var(--cyber-cyan); }
.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-weight-600 { font-weight: 600; }
.font-weight-700 { font-weight: 700; }

/* Premium Navigation Interface */
.enterprise-nav {
    background: rgba(2, 5, 12, 0.8) !important;
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--studio-border);
    padding: 18px 0; z-index: 9999;
}
.clean-nav-links .nav-link {
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em;
    color: var(--text-secondary) !important;
    transition: color 0.25s ease;
}
.clean-nav-links .nav-link:hover, 
.clean-nav-links .nav-link.active {
    color: var(--cyber-cyan) !important;
}

/* Logo Design */
.corporate-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
    width: 26px; height: 26px; border: 2px solid var(--cyber-cyan);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mark-core { width: 6px; height: 6px; background-color: var(--pure-white); border-radius: 1px; }
/* .logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; color: var(--pure-white); } */
.logo-text { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1.6rem; 
    font-weight: 800; 
    letter-spacing: 0.25em; /* Thodi zyada spacing for high-end look */
    color: var(--pure-white); 
    text-transform: uppercase;
    
    /* Premium Glossy Metallic Effect */
    background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 50%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Subtle Glow */
    filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.3));
    
    /* Animation for smooth feel */
    transition: all 0.4s ease;
}
.corporate-logo:hover .logo-mark { transform: rotate(90deg); border-color: var(--pure-white); }
/* Hover effect for text */
.corporate-logo:hover .logo-text {
    letter-spacing: 0.35em; /* Hover par text thoda aur fail jaye */
    filter: drop-shadow(0px 0px 12px var(--cyber-cyan));
}
/* Hero Interface */
.hero-layout { min-height: 100vh; padding-top: 80px; }
.engine-runtime-tag {
    display: inline-flex; align-items: center;
    background: rgba(6, 182, 212, 0.04); border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 6px 14px; border-radius: 6px; font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem; font-weight: 500; color: var(--cyber-cyan); letter-spacing: 0.05em;
}
.status-indicator {
    width: 6px; height: 6px; background-color: var(--cyber-cyan);
    border-radius: 50%; margin-right: 8px; box-shadow: 0 0 8px var(--cyber-cyan);
}
.hero-headline {
    font-size: 4rem; font-weight: 700; line-height: 1.1; color: var(--pure-white); letter-spacing: -0.03em;
}
.slate-gradient {
    background: linear-gradient(135deg, var(--pure-white) 40%, var(--cyber-blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtext { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.65; max-width: 580px; }

/* Premium High-End Hyper Glow Button */
.btn-hyper-glow {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    background: var(--pure-white); border: none; padding: 14px 32px; border-radius: 8px;
    cursor: pointer; text-decoration: none; overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.5);
}
.btn-hyper-glow .glow-text {
    font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 600;
    color: var(--bg-base); z-index: 2; display: flex; align-items: center;
}
.btn-hyper-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
    background-color: var(--cyber-cyan);
}
.btn-hyper-glow:hover .glow-text { color: var(--bg-base); }

.btn-premium-outline {
    display: inline-flex; align-items: center; justify-content: center;
    background-color: transparent; color: var(--text-primary);
    border: 1px solid var(--studio-border); font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem; font-weight: 500; padding: 14px 32px; border-radius: 8px;
    text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease;
}
.btn-premium-outline:hover {
    border-color: var(--text-secondary); background-color: rgba(255, 255, 255, 0.02); color: var(--pure-white);
}

/* ==========================================================================
   VIBRANT OFFICIAL BRAND COLORS FOR SKILLS MARQUEE (FIXED ONE-LINE LAYOUT)
   ========================================================================== */
.corporate-marquee-strip { 
    background: #010307; 
    border-top: 1px solid var(--studio-border); 
    border-bottom: 1px solid var(--studio-border); 
    overflow: hidden; 
}
.marquee-viewport { display: flex; overflow: hidden; width: 100%; }
.marquee-slide-track { display: flex; align-items: center; padding: 10px 0; animation: runMarqueeRTL 25s linear infinite; }

.marquee-cell { 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1rem; 
    font-weight: 600; 
    padding: 0 38px; 
    letter-spacing: 0.06em;
    white-space: nowrap; /* CRITICAL FIX: Stops text/versions from wrapping down */
}

/* Core Vibrant Tech Brand Color Mapping */
.tech-icon-laravel   { color: #FF2D20; filter: drop-shadow(0 0 8px rgba(255, 45, 32, 0.3)); font-size: 1.45rem; }
.tech-icon-php       { color: #777BB4; filter: drop-shadow(0 0 8px rgba(119, 123, 180, 0.3)); font-size: 1.45rem; }
.tech-icon-livewire  { color: #FB70A9; filter: drop-shadow(0 0 8px rgba(251, 112, 169, 0.3)); font-size: 1.3rem; }
.tech-icon-filament  { color: #FFAA00; filter: drop-shadow(0 0 8px rgba(255, 170, 0, 0.3)); font-size: 1.3rem; }
.tech-icon-react     { color: #61DAFB; filter: drop-shadow(0 0 8px rgba(97, 218, 251, 0.3)); font-size: 1.45rem; }
.tech-icon-js        { color: #F7DF1E; filter: drop-shadow(0 0 8px rgba(247, 223, 30, 0.3)); font-size: 1.35rem; }
.tech-icon-bootstrap { color: #7952B3; filter: drop-shadow(0 0 8px rgba(121, 82, 179, 0.3)); font-size: 1.45rem; }
.tech-icon-tailwind  { color: #06B6D4; filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3)); font-size: 1.3rem; }
.tech-icon-mysql     { color: #00758F; filter: drop-shadow(0 0 8px rgba(0, 117, 143, 0.3)); font-size: 1.45rem; }
.tech-icon-html      { color: #E34F26; filter: drop-shadow(0 0 8px rgba(227, 79, 38, 0.3)); font-size: 1.45rem; }
.tech-icon-css       { color: #1572B6; filter: drop-shadow(0 0 8px rgba(21, 114, 182, 0.3)); font-size: 1.45rem; }

.tech-name { color: var(--text-primary); white-space: nowrap; }

@keyframes runMarqueeRTL {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}


/* ==========================================================================
   ALTRA-PREMIUM INFINITE TESTIMONIAL SLIDER (VERCEL INTERFACE STYLE)
   ========================================================================== */
.testimonial-marquee-viewport {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* Fade effects on edges for premium blend look */
.testimonial-marquee-viewport::before,
.testimonial-marquee-viewport::after {
    content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 5; pointer-events: none;
}
.testimonial-marquee-viewport::before { left: 0; background: linear-gradient(90deg, var(--bg-base) 0%, transparent 100%); }
.testimonial-marquee-viewport::after { right: 0; background: linear-gradient(-90deg, var(--bg-base) 0%, transparent 100%); }

.testimonial-marquee-track {
    display: flex;
    gap: 30px;
    animation: runTestimonialMarquee 40s linear infinite;
    width: max-content;
}

/* Pause the slider smoothly when client hovers over cards */
.testimonial-marquee-viewport:hover .testimonial-marquee-track {
    animation-play-state: paused;
}

.premium-review-card {
    background: var(--bg-surface); border: 1px solid var(--studio-border);
    border-radius: 12px; padding: 35px; width: 420px; min-width: 420px; position: relative;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.review-quote-icon { font-size: 1.8rem; color: rgba(255,255,255,0.02); position: absolute; top: 25px; right: 35px; }
.review-text { font-size: 0.95rem; color: var(--text-primary); line-height: 1.65; position: relative; z-index: 2; margin-bottom: 30px; }
.review-author-meta { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--studio-border); padding-top: 20px; }
.author-avatar-stub { width: 38px; height: 38px; background: rgba(255,255,255,0.02); border: 1px solid var(--studio-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 0.9rem; }
.author-name { font-size: 0.95rem; font-weight: 600; color: var(--pure-white); margin: 0; }
.author-title { font-size: 0.75rem; color: var(--text-dark-muted); margin: 2px 0 0 0; font-family: 'Space Grotesk', sans-serif; }

.premium-review-card:hover {
    background: var(--bg-surface-accent);
    border-color: rgba(6, 182, 212, 0.3);
    transform: scale(1.01);
}

@keyframes runTestimonialMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc(-50% - 15px), 0, 0); } /* Dynamically offsets exact half with gap math */
}

/* 3D Viewport Base */
.stage-3d-viewport { position: relative; width: 100%; max-width: 480px; height: 380px; }
#three-solid-laptop { width: 100%; height: 100%; position: relative; z-index: 5; }
.subtle-floor-shadow {
    position: absolute; bottom: 8%; left: 15%; width: 70%; height: 15%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.08) 0%, transparent 70%); z-index: 1;
}

/* System Details Structure */
.section-top-hint { font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 600; color: var(--cyber-cyan); letter-spacing: 0.15em; margin-bottom: 10px; text-transform: uppercase; }
.studio-section-title { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
.text-muted-studio { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.65; }
.tech-metric-indicator { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; color: var(--text-dark-muted); border: 1px solid var(--studio-border); padding: 6px 14px; border-radius: 6px; }

/* Code Editor Block */
.code-editor-mock { background: #010307; border: 1px solid var(--studio-border); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.editor-header { background: rgba(255, 255, 255, 0.005); padding: 14px 20px; border-bottom: 1px solid var(--studio-border); display: flex; align-items: center; gap: 6px; }
.window-dot { width: 8px; height: 8px; border-radius: 50%; }
.window-dot.gray { background: #1e293b; }
.editor-filename { font-size: 0.75rem; color: var(--text-dark-muted); font-family: monospace; margin-left: 10px; }
.editor-body { padding: 25px; margin: 0; font-family: monospace; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.editor-body span { color: var(--cyber-blue); }
.premium-bullet-list { list-style: none; padding: 0; }
.premium-bullet-list li { margin-bottom: 14px; font-size: 0.95rem; color: var(--text-secondary); }

/* Cyber System Projects Grid */
.cyber-project-card {
    background: var(--bg-surface); border: 1px solid var(--studio-border);
    border-radius: 12px; overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-visual-container {
    height: 160px; background: linear-gradient(135deg, #030814, #010307);
    position: relative; display: flex; align-items: center; padding: 0 30px;
    border-bottom: 1px solid var(--studio-border); overflow: hidden;
}
.project-grid-deco {
    position: absolute; inset: 0; opacity: 0.12;
    background-image: radial-gradient(var(--text-dark-muted) 1px, transparent 0); background-size: 12px 12px;
}
.project-icon-wrapper {
    width: 48px; height: 48px; background: rgba(6, 182, 212, 0.04); border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-size: 1.35rem; color: var(--cyber-cyan); position: relative; z-index: 2;
}
.project-scope-tag {
    position: absolute; top: 20px; right: 20px; font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--text-secondary); background: rgba(255,255,255,0.02); padding: 4px 10px; border-radius: 4px; border: 1px solid var(--studio-border);
}
.project-meta-box { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.project-title { font-size: 1.3rem; font-weight: 700; color: var(--pure-white); margin-bottom: 10px; letter-spacing: -0.01em; }
.project-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.project-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.badge-tech {
    font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 500;
    color: #94A3B8; background: rgba(148, 163, 184, 0.03); border: 1px solid rgba(148, 163, 184, 0.1);
    padding: 3px 10px; border-radius: 4px;
}
.project-action-bar { border-top: 1px solid var(--studio-border); margin-top: 24px; padding-top: 18px; }
.project-btn-link {
    font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 600;
    color: var(--cyber-cyan); text-decoration: none; display: inline-flex; align-items: center; transition: gap 0.2s ease;
}
.project-btn-link i { transition: transform 0.2s ease; }
.project-btn-link:hover i { transform: translateX(4px); }

.cyber-project-card:hover {
    border-color: var(--studio-border-glow);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.04);
    transform: translateY(-3px);
}

/* Contact Network Display Components */
.network-globe-container { position: relative; width: 100%; max-width: 380px; height: 380px; margin: 0 auto; }
#three-moving-world { width: 100%; height: 100%; position: relative; z-index: 5; }
.globe-backdrop-shadow { position: absolute; width: 80%; height: 80%; top: 10%; left: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%); z-index: 1; }

.studio-clean-form-card { background: var(--bg-surface); border: 1px solid var(--studio-border); border-radius: 12px; padding: 45px; }
.form-input-field { width: 100%; background: #010308; border: 1px solid var(--studio-border); border-radius: 8px; padding: 15px; color: var(--pure-white); font-size: 0.9rem; transition: border-color 0.2s ease; }
.form-input-field:focus { outline: none; border-color: var(--cyber-cyan); background: #02050c; }
.enterprise-footer { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    background-color: var(--bg-base);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Professional Copyright Text */
.footer-brand {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* Sleek Social Icons */
.social-links-wrapper { display: flex; gap: 20px; }

.social-icon {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
}

/* Hover par neon glow effect */
.social-icon:hover {
    color: var(--cyber-cyan);
    transform: translateY(-4px);
    text-shadow: 0 0 12px var(--cyber-cyan);
}

@media (max-width: 768px) {
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
}