/* --- CUSTOM PROPERTIES & CORE TOKENS --- */
:root {
    --bg-color: #081B33;
    --purple-neon: #7B3FF2;
    --cyan-neon: #00C2FF;
    --white: #FFFFFF;
    --text-muted: #8EA1B9;
    --glass-bg: rgba(8, 27, 51, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- SYSTEM RESETS & BASE STYLING --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- TYPOGRAPHY & GRADIENTS --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan-neon) 0%, var(--purple-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- AMBIENT CYBER SCENERY ANIMATIONS --- */
.glowing-sphere {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.35;
    animation: floatingSpheres 12s infinite ease-in-out alternate;
}

.sphere-1 {
    width: 450px;
    height: 450px;
    background: var(--purple-neon);
    top: -10%;
    right: -5%;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: var(--cyan-neon);
    bottom: 15%;
    left: -10%;
    animation-delay: -4s;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

@keyframes floatingSpheres {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -50px) scale(1.15); }
}

.wave-lines-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: 
        radial-gradient(circle at 50% 50%, rgba(8, 27, 51, 0) 0%, var(--bg-color) 85%),
        repeating-linear-gradient(45deg, rgba(0, 194, 255, 0.015) 0px, rgba(0, 194, 255, 0.015) 2px, transparent 2px, transparent 40px),
        repeating-linear-gradient(-45deg, rgba(123, 63, 242, 0.015) 0px, rgba(123, 63, 242, 0.015) 2px, transparent 2px, transparent 40px);
}

/* --- BUTTON ARCHITECTURE --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    text-decoration: none;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-neon) 0%, #5d26cc 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(123, 63, 242, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(123, 63, 242, 0.7), 0 0 15px var(--cyan-neon);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan-neon);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

/* --- GLASSMORPHIC NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

.navbar.sticky {
    padding: 14px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan-neon), var(--purple-neon));
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.desktop-cta { display: inline-flex; }
.mobile-cta { display: none; }
.hamburger { display: none; }

/* --- HERO SECTION LAYOUT --- */
.hero-section {
    position: relative;
    padding: 160px 0 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(123, 63, 242, 0.12);
    border: 1px solid rgba(123, 63, 242, 0.3);
    color: #bfa3ff;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    box-shadow: inset 0 0 12px rgba(123, 63, 242, 0.2);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- CYBER LAPTOP GENERATOR & GRID DISPLAY --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.laptop-container {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.ambient-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(0,194,255,0.2) 0%, rgba(123,63,242,0.1) 50%, transparent 70%);
    top: -5%; left: -5%;
    z-index: -1;
    filter: blur(20px);
}

.wave-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background: radial-gradient(rgba(0, 194, 255, 0.1) 1px, transparent 0);
    background-size: 16px 16px;
    mask-image: radial-gradient(circle, white, transparent);
    -webkit-mask-image: radial-gradient(circle, white, transparent);
    transform: scale(1.4);
    z-index: -1;
}

.mini-sphere {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.5);
    animation: floatAnimation 6s infinite ease-in-out alternate;
}

.ms-1 { width: 30px; height: 30px; top: -10px; left: -20px; }
.ms-2 { width: 18px; height: 18px; bottom: 40px; right: -10px; animation-delay: -2.5s; }

@keyframes floatAnimation {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(15deg); }
}

/* --- LAPTOP BODY OBJECT --- */
.laptop-mockup {
    position: relative;
    animation: floatAnimation 5s infinite ease-in-out alternate;
    width: 100%;
}

.screen-frame {
    background: #0d1726;
    border: 3px solid #1c2e4a;
    border-radius: 16px 16px 0 0;
    padding: 10px;
    box-shadow: 0 0 35px rgba(123, 63, 242, 0.25), inset 0 0 15px rgba(0, 0, 0, 0.6);
    position: relative;
}

.screen-frame::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
    z-index: -1;
    opacity: 0.6;
}

.screen-content {
    background: #050d1a;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dots { display: flex; gap: 5px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.d1 { background: #ff5f56; } .d2 { background: #ffbd2e; } .d3 { background: #27c93f; }
.address-bar {
    background: rgba(0,0,0,0.4);
    font-size: 0.65rem;
    padding: 3px 15px;
    border-radius: 4px;
    color: var(--text-muted);
    font-family: monospace;
    width: 100%;
    max-width: 280px;
}

.dashboard-body {
    padding: 12px;
    position: relative;
    height: calc(100% - 31px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-row { display: flex; gap: 10px; }
.dash-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 8px;
    flex: 1;
}

.dash-card .label { font-size: 0.6rem; color: var(--text-muted); display: block; margin-bottom: 4px;}
.bar-chart { background: rgba(255,255,255,0.05); height: 5px; border-radius: 3px; overflow: hidden; }
.bar-chart .fill { width: 72%; height: 100%; background: var(--cyan-neon); }

.pulse-indicator { display: flex; align-items: center; gap: 6px; position: relative;}
.p-dot { width: 6px; height: 6px; background: #27c93f; border-radius: 50%; }
.p-ring {
    position: absolute; width: 14px; height: 14px; border: 1px solid #27c93f;
    border-radius: 50%; left: -4px; top: -4px; animation: pulseRing 1.5s infinite linear;
}

@keyframes pulseRing { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.dash-main-chart {
    background: rgba(123, 63, 242, 0.03);
    border: 1px solid rgba(123, 63, 242, 0.1);
    border-radius: 6px;
    flex-grow: 1;
    position: relative;
    padding: 5px;
}

.svg-chart { width: 100%; height: 100%; }
.dash-grid-mesh {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
}

.keyboard-base {
    height: 12px;
    background: #142238;
    border-radius: 0 0 16px 16px;
    border: 3px solid #1c2e4a;
    border-top: none;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.keyboard-base::after {
    content: ''; position: absolute;
    width: 60px; height: 4px; background: rgba(0,0,0,0.3);
    bottom: 4px; left: 50%; transform: translateX(-50%);
    border-radius: 2px;
}

/* --- STRUCTURAL SECTION SUBHEADER ELEMENTS --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 10px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- SERVICES SECTION GRID & GLOW EFFECT --- */
.services-section { padding: 100px 0; position: relative; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-glow {
    position: absolute;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.15) 0%, transparent 70%);
    top: -75px; right: -75px;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.card-icon {
    width: 55px; height: 55px;
    border-radius: 14px;
    background: rgba(123, 63, 242, 0.1);
    border: 1px solid rgba(123, 63, 242, 0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--cyan-neon);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- INTERACTIVE HOVER ACTIONS ON CARD GRID --- */
.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 194, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 194, 255, 0.1);
}

.service-card:hover .service-glow {
    background: radial-gradient(circle, rgba(123, 63, 242, 0.3) 0%, transparent 70%);
    width: 220px; height: 220px;
    top: -110px; right: -110px;
}

.service-card:hover .card-icon {
    background: var(--purple-neon);
    color: var(--white);
    box-shadow: 0 0 15px var(--purple-neon);
}

/* --- WHY CHOOSE US SECTION STYLE --- */
.why-section { padding: 100px 0; position: relative; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.why-icon-wrap {
    font-size: 2rem;
    color: var(--purple-neon);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(123,63,242,0.5);
}

.glass-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.glass-card p { color: var(--text-muted); font-size: 0.95rem; }

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255,255,255,0.02);
    transform: translateY(-4px);
}

/* --- COUNTER STATS SECTION ELEMENTS --- */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(90deg, rgba(123,63,242,0.05) 0%, rgba(0,194,255,0.05) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box h3 {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 30%, var(--cyan-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- PORTFOLIO SYSTEM GRID DESIGN --- */
.portfolio-section { padding: 100px 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-img-container {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #0f243d;
}

.dummy-img {
    width: 100%; height: 100%;
    transition: var(--transition-smooth);
    background-size: cover;
    background-position: center;
    position: relative;
}

.dummy-img::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8,27,51,0.9) 100%);
}

.img-1 { background-image: radial-gradient(rgba(0,194,255,0.2) 1px, transparent 1px); background-size: 20px 20px; }
.img-2 { background-image: repeating-linear-gradient(0deg, rgba(123,63,242,0.15), rgba(123,63,242,0.15) 1px, transparent 1px, transparent 10px); }
.img-3 { background-image: radial-gradient(circle at 100% 100%, var(--purple-neon) 0%, transparent 60%); }
.img-4 { background-image: radial-gradient(circle at 0% 0%, var(--cyan-neon) 0%, transparent 60%); }
.img-5 { background-image: linear-gradient(45deg, rgba(8,27,51,1) 20%, rgba(123,63,242,0.2) 100%); }
.img-6 { background-image: linear-gradient(135deg, rgba(0,194,255,0.1) 0%, rgba(8,27,51,1) 80%); }

.project-overlay {
    position: absolute; top: 15px; left: 15px;
}

.proj-tag {
    background: rgba(8, 27, 51, 0.8);
    border: 1px solid var(--cyan-neon);
    color: var(--cyan-neon);
    padding: 5px 14px; font-size: 0.75rem;
    border-radius: 100px; font-weight: 600;
    backdrop-filter: blur(5px);
}

.project-info { padding: 24px; }
.project-info h3 { font-size: 1.25rem; font-weight: 700; color: var(--white); }

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple-neon);
    box-shadow: 0 15px 35px rgba(123, 63, 242, 0.2);
}

.project-card:hover .dummy-img {
    transform: scale(1.08);
}

/* --- TECH TRAINING EMBEDDED BANNER --- */
.training-section { padding: 60px 0; }
.training-banner {
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(123,63,242,0.3);
    border-radius: 24px;
    background: var(--glass-bg);
}

.training-glow {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(123, 63, 242, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.training-banner h2 { margin-bottom: 16px; }
.training-text {
    max-width: 680px; margin: 0 auto 30px auto;
    color: var(--text-muted); font-size: 1.05rem;
}

/* --- TESTIMONIAL SLIDER INTERFACES --- */
.testimonial-section { padding: 100px 0; position: relative; }
.slider-wrapper {
    max-width: 850px; margin: 0 auto;
    position: relative;
    width: 100%;
}

.testimonial-slider {
    position: relative;
    min-height: 280px;
    display: flex; align-items: center;
    width: 100%;
}

.testimonial-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
}

.testimonial-slide.active {
    opacity: 1; visibility: visible;
    transform: scale(1);
    position: relative;
}

.quote-icon {
    font-size: 2.2rem; color: rgba(0, 194, 255, 0.2);
    margin-bottom: 20px;
}

.test-text {
    font-size: 1.3rem; font-weight: 500; font-style: italic;
    line-height: 1.5; color: var(--white); margin-bottom: 24px;
}

.test-author { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.test-role { font-size: 0.85rem; color: var(--cyan-neon); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.slider-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 30px; margin-top: 40px;
}

.slider-btn {
    background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
    width: 44px; height: 44px; border-radius: 50%; color: var(--white);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: var(--cyan-neon); color: var(--bg-color);
    box-shadow: 0 0 15px var(--cyan-neon); transform: scale(1.05);
}

.slider-dots { display: flex; gap: 8px; }
.dot {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2);
    cursor: pointer; transition: var(--transition-smooth);
}
.dot.active { background: var(--cyan-neon); width: 20px; border-radius: 4px; }

/* --- CONTACT GLASSMORPHISM FORM MATRIX --- */
.contact-section { padding: 100px 0; }
.form-wrapper { max-width: 780px; margin: 0 auto; width: 100%; }
.glass-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 28px; padding: 50px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 24px; }
.glass-form label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
}

.input-wrapper { position: relative; }
.input-wrapper i {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--cyan-neon); font-size: 1rem; pointer-events: none;
}

.input-wrapper textarea ~ i { top: 24px; transform: none; }

.glass-form input, .glass-form textarea {
    width: 100%; background: rgba(0,0,0,0.25);
    border: 1px solid var(--glass-border); border-radius: 12px;
    padding: 14px 16px 14px 46px; color: var(--white);
    font-family: var(--font-primary); font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.glass-form input:focus, .glass-form textarea:focus {
    outline: none; border-color: var(--cyan-neon);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.25), inset 0 0 8px rgba(0,0,0,0.4);
    background: rgba(0,0,0,0.4);
}

.btn-submit { width: 100%; justify-content: center; padding: 16px; border-radius: 14px; margin-top: 10px; }

/* --- FUTURISTIC SYSTEM FOOTER STYLING --- */
.cyber-footer {
    background: #040e1b; border-top: 1px solid var(--glass-border);
    padding: 80px 0 0 0; position: relative;
}

.footer-grid {
    display: grid; grid-template-columns: 1.3fr repeat(3, 0.9fr);
    gap: 50px; margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem; font-weight: 800; color: var(--white);
    text-decoration: none; display: block; margin-bottom: 16px;
}

.footer-tagline { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }

.social-links a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: var(--transition-smooth); font-size: 0.95rem;
}

.social-links a:hover {
    color: var(--white); border-color: var(--cyan-neon);
    background: rgba(0,194,255,0.1); transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(0,194,255,0.2);
}

.footer-links-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--white); }
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 12px; }

.footer-links-col ul li a {
    color: var(--text-muted); text-decoration: none; font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links-col ul li a:hover { color: var(--cyan-neon); padding-left: 4px; }
.contact-info-list { list-style: none; }
.contact-info-list li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.contact-info-list li i { color: var(--purple-neon); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.04); padding: 30px 0; font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); text-decoration: none; transition: var(--transition-smooth); }
.footer-legal a:hover { color: var(--white); }

/* --- CORE INTERSECTION OBSERVER REVEAL LOGIC --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- CURSOR MOUSE GLOW --- */
.cursor-glow-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(0, 194, 255, 0.08), transparent 40%);
    z-index: -1;
    pointer-events: none;
    will-change: background;
}

/* --- THEME TOGGLE BUTTON STYLING --- */
.theme-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--white);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-right: 10px;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan-neon);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.2);
}

/* Toggle icon display states */
.theme-btn .sun-icon { display: none; }
[data-theme="light"] .theme-btn .moon-icon { display: none; }
[data-theme="light"] .theme-btn .sun-icon { display: block; color: #FFB800; }

/* ==========================================================================
   --- LIGHT MODE VARIANT OVERRIDES ---
   ========================================================================== */
[data-theme="light"] {
    --bg-color: #F4F7FA;
    --white: #0F1A2C;                 /* Invert primary text */
    --text-muted: #5A6E85;            /* Darker muted tone for readability */
    --glass-bg: rgba(244, 247, 250, 0.8);
    --glass-border: rgba(15, 26, 44, 0.08);
}

/* Specific component tweaks for bright visibility matrices */
[data-theme="light"] .navbar.sticky {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .service-card, 
[data-theme="light"] .glass-card, 
[data-theme="light"] .glass-form {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .glass-form input,
[data-theme="light"] .glass-form textarea {
    background: rgba(255, 255, 255, 0.9);
    color: #0F1A2C;
}
[data-theme="light"] .cyber-footer {
    background: #EAEFF5;
}
[data-theme="light"] .nav-menu {
    background: rgba(244, 247, 250, 0.98); 
}
[data-theme="light"] .screen-content {
    background: #FFFFFF;
}
[data-theme="light"] .dash-card {
    background: rgba(0, 0, 0, 0.02);
}

/* --- THEME DISPLAY CONTROL ENGINES --- */
.mobile-theme-row {
    display: none; /* Hidden on Desktop by default */
}

/* Responsive Media Breakdown */
@media (max-width: 768px) {
    /* Hide the cluttered desktop version completely */
    .desktop-theme-toggle {
        display: none !important;
    }

    /* Style the new mobile sidebar link row */
    .mobile-theme-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 25px;
        margin-top: 10px;
        border-top: 1px solid var(--glass-border);
        border-bottom: 1px solid var(--glass-border);
    }

    .mobile-theme-row span {
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--white);
    }

    /* Make the button size scale perfectly inside the tray */
    .mobile-theme-toggle {
        margin-right: 0; 
        background: rgba(255, 255, 255, 0.08);
    }
}

/* --- TELEMETRY CURSOR TRAIL --- */
.cursor-trail {
    width: 8px;
    height: 8px;
    background: var(--cyan-neon, #00C2FF);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--cyan-neon, #00C2FF), 0 0 30px var(--purple-neon, #7B3FF2);
    transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* --- FLOATING CYBER ICONS LAYER --- */
.floating-icons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.floating-icon-node {
    position: absolute;
    color: var(--purple-neon, #7B3FF2);
    opacity: 0.15;
    font-size: 1.5rem;
    user-select: none;
    pointer-events: none;
    animation: floatIconAnimation linear infinite;
    will-change: transform, opacity;
}

@keyframes floatIconAnimation {
    0% {
        transform: translateY(105vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.25;
    }
    90% {
        opacity: 0.25;
    }
    100% {
        transform: translateY(-10vh) translateX(var(--drift-x, 50px)) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================================================
   --- WEBTRVIX PRELOADER CORE ENGINE ---
   ========================================================================== */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050C16; /* Deep dark space baseline fallback */
    z-index: 99999;           /* Enforces dominance over custom cursors/navbars */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
    will-change: opacity, visibility;
}

/* Light Mode Override Compatibility Layer */
[data-theme="light"] .preloader-overlay {
    background-color: #F4F7FA;
}

/* Central Alignment Core */
.preloader-content-matrix {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Brand Typography Layout */
.preloader-logo {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin: 0;
    animation: pulseLogo 2s ease-in-out infinite;
}
[data-theme="light"] .preloader-logo {
    color: #0F1A2C;
}

/* Status Loading Write-up Text */
.preloader-status {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #00C2FF; /* Neon Cyan Matrix Color */
    text-shadow: 0 0 10px rgba(0, 194, 255, 0.3);
    margin: 0;
}

/* Progress Micro-Bar System */
.preloader-track-wrapper {
    width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
[data-theme="light"] .preloader-track-wrapper {
    background: rgba(0, 0, 0, 0.06);
}

.preloader-progress-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #00C2FF, #7B3FF2, transparent);
    animation: continuousScan 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Fade Out Hook Modifier class */
.preloader-overlay.fade-away {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Keyframe Performance Matrices */
@keyframes continuousScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px transparent); }
    50% { transform: scale(1.02); filter: drop-shadow(0 0 15px rgba(123, 63, 242, 0.25)); }
}

/* ==========================================================================
   --- SCROLL PROGRESS BAR SYSTEM ---
   ========================================================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;                /* Sleek, thin aesthetic layout */
    background: transparent;
    z-index: 100000;            /* Stays pinned above the sticky header navbar */
    pointer-events: none;       /* Never intercepts mouse clicks */
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;                  /* Managed dynamically via JS engine mapping */
    background: linear-gradient(90deg, #7B3FF2 0%, #00C2FF 100%); /* Brand matching palette */
    box-shadow: 0 0 10px rgba(0, 194, 255, 0.5);
    transition: width 0.1s ease-out; /* Smooths out scroll wheel ticking stutter */
    will-change: width;
}

/* ==========================================================================
   --- BACK TO TOP INTERACTIVE BUTTON ---
   ========================================================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: #00C2FF;             /* Matches your neon cyan palette */
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 999;               /* Sits right beneath your custom mouse overlays */
    opacity: 0;                 /* Hidden by default */
    visibility: hidden;
    transform: translateY(15px); /* Smooth micro-slide entrance transition */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Hover State Matrix */
.back-to-top-btn:hover {
    background: #00C2FF;
    color: #050C16;             /* Inverts colors perfectly on interaction */
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.4);
    transform: translateY(-3px);
}

/* Light Mode Adaptability Layer */
[data-theme="light"] .back-to-top-btn {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .back-to-top-btn:hover {
    background: #7B3FF2;        /* Uses your alternative neon purple on light backgrounds */
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(123, 63, 242, 0.3);
}

/* Toggle Trigger Target State */
.back-to-top-btn.show-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Move button slightly higher on mobile to prevent overlaying bottom navigation menus */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   --- THE RESPONSIVE UPGRADE ENGINE (FIXED VIEWPORT EDITION) ---
   ========================================================================== */

/* Force global viewport lockdown to prevent horizontal scroll parameters entirely */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .navbar { padding: 16px 0; }
    .navbar.sticky { padding: 12px 0; }
    
    .hamburger {
        display: flex; flex-direction: column; justify-content: space-between;
        width: 24px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 1100;
    }
    .hamburger span { width: 100%; height: 2px; background: var(--white); transition: var(--transition-smooth); border-radius: 2px; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed; 
        top: 0; 
        /* FIX: Changed from -100% to a pixel value matching its width to prevent viewport canvas blowout */
        right: -320px; 
        width: 290px; 
        height: 100vh;
        background: rgba(6, 20, 38, 0.98); 
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px); 
        border-left: 1px solid var(--glass-border);
        flex-direction: column; 
        padding: 120px 40px; 
        align-items: flex-start; 
        justify-content: flex-start;
        gap: 28px; 
        transition: var(--transition-smooth);
    }
    .nav-menu.active { right: 0; }
    .desktop-cta { display: none; }
    .mobile-cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 10px; }

    /* Layout Content Containment Fixes */
    .hero-section { padding: 130px 0 60px 0; }
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        text-align: center;
        width: 100%;
        min-width: 0; /* Prevents child blowout */
    }
    
    /* FIX: Drastically downscale large headings and allow word wrapping safely */
    .hero-title { 
        font-size: 2.5rem; 
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
    .hero-desc { margin: 0 auto 30px auto; font-size: 1.05rem; }
    .hero-buttons { justify-content: center; }
    
    .why-grid { grid-template-columns: 1fr; gap: 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .glass-form { padding: 35px 24px; border-radius: 20px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 35px; margin-bottom: 40px; }
    .footer-bottom-flex { flex-direction: column; gap: 20px; text-align: center; }
    .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
    html { font-size: 14px; } /* Automatically scales fluid font sizing elements safely */
    
    .container { padding: 0 20px; }
    /* FIX: Tighten text for small mobile devices so nothing pushes containers */
    .hero-title { font-size: 2.1rem; letter-spacing: -0.5px; }
    .section-title { font-size: 1.8rem; }
    
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    
    /* Safely lock nested laptop mockups to prevent responsive breakage */
    .laptop-container { width: 100%; max-width: 100%; }
    .screen-content { height: 190px; }
    .dashboard-body { gap: 6px; padding: 8px; }
    .dash-card .label { font-size: 0.55rem; }
    .address-bar { max-width: 140px; font-size: 0.6rem; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .stat-box h3 { font-size: 2.6rem; }
    
    .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .service-card { padding: 30px 20px; }
    
    .training-banner { padding: 40px 20px; border-radius: 16px; }
    .test-text { font-size: 1.05rem; }
    .slider-controls { gap: 15px; }
    
    .glass-form { padding: 25px 16px; }
    .glass-form input, .glass-form textarea { padding-left: 40px; }
    .input-wrapper i { left: 14px; }
}

/* ==========================================================================
   PREMIUM SAAS TECH STACK STYLES (FIXED GLASS CARDS)
   ========================================================================== */
:root {
    --bg-dark: #081B33;
    --purple-glow: #7B3FF2;
    --cyan-neon: #00C2FF;
}

.tech-stack {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, rgba(123, 63, 242, 0.25) 0%, transparent 60%);
    overflow: hidden;
}

/* Background Systems */
.tech-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}
.orb-1 {
    top: 15%; left: 5%;
    width: 350px; height: 350px;
    background: var(--purple-glow);
}
.orb-2 {
    bottom: 10%; right: 5%;
    width: 350px; height: 350px;
    background: var(--cyan-neon);
}

.particles-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Typography Header Setup */
.tech-stack .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 3;
}

.tech-stack .section-header {
    text-align: center;
    margin-bottom: 70px;
}

.tech-stack .subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    background: rgba(123, 63, 242, 0.25);
    border: 1px solid rgba(123, 63, 242, 0.6);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(123, 63, 242, 0.4);
    margin-bottom: 22px;
}

.tech-stack h2 {
    font-size: 44px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 18px 0;
    letter-spacing: -1px;
}

.tech-stack .section-header p {
    font-size: 16.5px;
    color: #A3B3CC;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Beautiful Premium Grid Framework */
.stack-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    width: 100%;
}

/* Enhanced High-Contrast Glassmorphism Cards */
.stack-card {
    position: relative;
    background: rgba(13, 27, 51, 0.65) !important; /* Deep tint allows clear contrast */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 40px 20px !important;
    text-align: center;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer;
    overflow: hidden;
}

.stack-card i {
    display: inline-block;
    font-size: 48px !important;
    margin-bottom: 18px;
    animation: elementFloat 5s ease-in-out infinite;
}

.stack-card h4 {
    font-size: 16px !important;
    font-weight: 600;
    color: #FFFFFF !important; /* Crisp visibility text */
    margin: 0;
    letter-spacing: 0.5px;
}

/* Brand Colors Styling */
.html-icon     { color: #E34F26; filter: drop-shadow(0 4px 12px rgba(227,79,38,0.35)); animation-delay: 0s; }
.css-icon      { color: #1572B6; filter: drop-shadow(0 4px 12px rgba(21,114,182,0.35)); animation-delay: -0.5s; }
.js-icon       { color: #F7DF1E; filter: drop-shadow(0 4px 12px rgba(247,223,30,0.35)); animation-delay: -1s; }
.php-icon      { color: #777BB4; filter: drop-shadow(0 4px 12px rgba(119,123,180,0.35)); animation-delay: -1.5s; }
.laravel-icon  { color: #FF2D20; filter: drop-shadow(0 4px 12px rgba(255,45,32,0.35)); animation-delay: -2s; }
.react-icon    { color: #61DAFB; filter: drop-shadow(0 4px 12px rgba(97,218,251,0.35)); animation-delay: -2.5s; }
.node-icon     { color: #339933; filter: drop-shadow(0 4px 12px rgba(51,153,51,0.35)); animation-delay: -3s; }
.mysql-icon    { color: #4479A1; filter: drop-shadow(0 4px 12px rgba(68,121,161,0.35)); animation-delay: -3.5s; }
.flutter-icon  { color: #02569B; filter: drop-shadow(0 4px 12px rgba(2,86,155,0.35)); animation-delay: -4s; }
.wp-icon       { color: #21759B; filter: drop-shadow(0 4px 12px rgba(33,117,155,0.35)); animation-delay: -4.5s; }
.git-icon      { color: #F05032; filter: drop-shadow(0 4px 12px rgba(240,80,50,0.35)); animation-delay: -5s; }
.figma-icon    { 
    background: linear-gradient(180deg, #F24E1E 0%, #A259FF 50%, #0ACF83 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(162,89,255,0.35));
    animation-delay: -5.5s;
}

/* Micro-Interactions Hover State */
.stack-card:hover {
    transform: translateY(-10px) scale(1.08) !important;
    background: rgba(15, 32, 67, 0.85) !important;
    border-color: var(--cyan-neon) !important;
    box-shadow: 0 20px 40px rgba(0, 194, 255, 0.25), 
                0 0 15px rgba(0, 194, 255, 0.15),
                inset 0 1px 1px rgba(255,255,255,0.3) !important;
}

.stack-card:hover i {
    transform: rotate(8deg) scale(1.1);
}

/* Neon Streak Effect */
.stack-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.2), transparent);
}
.stack-card:hover::before {
    left: 200%;
    transition: left 0.8s ease-in-out;
}

/* Layout Keyframe Loop animations */
@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}
@keyframes elementFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Device Breakpoints Adaptations */
@media (max-width: 1024px) {
    .stack-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; }
    .tech-stack h2 { font-size: 36px; }
}

@media (max-width: 768px) {
    .stack-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
    .tech-stack { padding: 70px 0; }
    .tech-stack h2 { font-size: 28px; }
}

/* ==========================================================================
   PREMIUM FUTURISTIC ABOUT SECTION STYLES
   ========================================================================== */
.about-section {
    position: relative;
    width: 100%;
    padding: 120px 0;
    background-color: #081B33;
    overflow: hidden;
}

/* Background Ambient Matrix Layer */
.about-bg-waves {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.7;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    z-index: 1;
}

.about-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
    animation: slowBlob 16s ease-in-out infinite alternate;
}
.orb-purple {
    top: -10%; right: 10%;
    width: 450px; height: 450px;
    background: #7B3FF2;
}
.orb-cyan {
    bottom: -5%; left: 5%;
    width: 400px; height: 400px;
    background: #00C2FF;
    animation-delay: -5s;
}

.about-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Layout Framework */
.about-section .container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 3;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Column: Image Composition & Experience Badge */
.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: imageFloat 6s ease-in-out infinite;
}

.main-about-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.image-neon-glow {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    background: linear-gradient(135deg, #7B3FF2, #00C2FF);
    border-radius: 40px;
    filter: blur(25px);
    opacity: 0.25;
    z-index: 1;
    pointer-events: none;
}

/* Floating Glassmorphism Experience Card */
.experience-card {
    position: absolute;
    bottom: -20px;
    right: 10px;
    background: rgba(13, 27, 51, 0.75);
    border: 1px solid rgba(123, 63, 242, 0.4);
    box-shadow: 0 20px 40px rgba(123, 63, 242, 0.2), inset 0 1px 1px rgba(255,255,255,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 30px;
    width: 190px;
    text-align: center;
    z-index: 3;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.experience-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: #00C2FF;
}
.experience-card h2 {
    font-size: 48px;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FFFFFF, #00C2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 4px 0;
}
.experience-card span {
    font-size: 13px;
    font-weight: 500;
    color: #A3B3CC;
    line-height: 1.4;
    display: block;
}

/* Right Side Text Layout */
.about-content {
    max-width: 600px;
}

.about-section .section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    background: rgba(123, 63, 242, 0.2);
    border: 1px solid rgba(123, 63, 242, 0.5);
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(123, 63, 242, 0.3);
    margin-bottom: 24px;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
}

.content-text p {
    font-size: 16px;
    line-height: 1.65;
    color: #A3B3CC;
    margin: 0 0 16px 0;
}
.content-text p strong {
    color: #FFFFFF;
}

/* Premium Mini Feature Cards Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0 40px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(123, 63, 242, 0.08);
    border-color: rgba(123, 63, 242, 0.4);
    box-shadow: 0 10px 20px rgba(123, 63, 242, 0.15);
}

.feature-card .icon-box i {
    font-size: 18px;
    color: #00C2FF;
    filter: drop-shadow(0 0 8px rgba(0, 194, 255, 0.5));
}
.feature-card span {
    font-size: 14.5px;
    font-weight: 500;
    color: #FFFFFF;
}

/* Luxury Interactive CTA Button Controls */
.about-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-premium-primary, .btn-premium-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-premium-primary {
    background: linear-gradient(135deg, #7B3FF2, #5627be);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(123, 63, 242, 0.3);
}
.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(123, 63, 242, 0.5), 0 0 15px rgba(0, 194, 255, 0.3);
}

.btn-premium-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}
.btn-premium-secondary:hover {
    transform: translateY(-2px);
    border-color: #00C2FF;
    box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
    background: rgba(0, 194, 255, 0.02);
}

/* ==========================================================================
   ANIMATIONS DESCRIPTIONS SETUP
   ========================================================================== */
@keyframes slowBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -20px) scale(1.1); }
}
@keyframes imageFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================================================
   FIXED FOR IMMEDIATE VISIBILITY (No JavaScript required)
   ========================================================================== */
.about-image-wrapper[data-reveal="left"] {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.about-content[data-reveal="right"] {
    opacity: 1 !important;
    transform: translateX(0) !important;
}
.about-image-wrapper.revealed, .about-content.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid { gap: 40px; }
    .about-content h2 { font-size: 34px; }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-image-wrapper {
        order: 1; /* Renders Image First */
    }
    .about-content {
        order: 2; /* Content Second */
        max-width: 100%;
    }
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .experience-card {
        padding: 20px;
        width: 160px;
        bottom: -15px;
        right: 0px;
    }
    .experience-card h2 { font-size: 36px; }
    .about-content h2 { font-size: 28px; }
    .about-section { padding: 80px 0; }
}

/* ==========================================================================
   PREMIUM INDUSTRIES WE SERVE STYLES (PURE CSS CAROUSEL)
   ========================================================================== */
.industries {
    position: relative;
    width: 100%;
    padding: 40px 0;
    background-color: #081B33;
    overflow: hidden;
}

/* Background Scene Layers */
.ind-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
    z-index: 1;
}

.ind-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}
.ind-orb-purple {
    top: 20%; left: -10%;
    width: 400px; height: 400px;
    background: #7B3FF2;
}
.ind-orb-cyan {
    bottom: 10%; right: -10%;
    width: 400px; height: 400px;
    background: #00C2FF;
}

/* Header Elements Typography */
.industries .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.industries .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.industries .section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    background: rgba(0, 194, 255, 0.15);
    border: 1px solid rgba(0, 194, 255, 0.4);
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.25);
    margin-bottom: 20px;
}

.industries h2 {
    font-size: 40px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
}

.industries p {
    font-size: 16.5px;
    color: #A3B3CC;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Premium Infinite Marquee Mechanical System */
.marquee-wrapper {
    position: relative;
    width: 100%;
    padding: 20px 0;
    z-index: 2;
}

/* Edge Masking Gradients */
.marquee-fade-left, .marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18%;
    pointer-events: none;
    z-index: 3;
}
.marquee-fade-left {
    left: 0;
    background: linear-gradient(90deg, #081B33 20%, transparent 100%);
}
.marquee-fade-right {
    right: 0;
    background: linear-gradient(-90deg, #081B33 20%, transparent 100%);
}

.marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 24px;
    padding: 10px 0;
    white-space: nowrap;
    animation: marqueeHorizontal 35s linear infinite;
}

/* Hover Behavior: Freeze Scroller Track Safely */
.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* High Contrast Glassmorphism Industry Cards */
.industry-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 260px;
    padding: 24px;
    background: rgba(13, 27, 51, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

.ind-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.ind-icon-box i {
    font-size: 22px;
    color: #00C2FF;
    filter: drop-shadow(0 0 8px rgba(0, 194, 255, 0.4));
    transition: color 0.3s ease;
}

.industry-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Micro-Interaction States */
.industry-card:hover {
    transform: translateY(-8px) scale(1.04);
    background: rgba(15, 32, 67, 0.85);
    border-color: #7B3FF2;
    box-shadow: 0 15px 35px rgba(123, 63, 242, 0.25), 
                0 0 15px rgba(123, 63, 242, 0.1);
}

.industry-card:hover .ind-icon-box {
    transform: scale(1.1);
    background: rgba(123, 63, 242, 0.15);
}

.industry-card:hover .ind-icon-box i {
    color: #7B3FF2;
    filter: drop-shadow(0 0 8px rgba(123, 63, 242, 0.6));
}

/* Horizontal Loop Timeline */
@keyframes marqueeHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Perfect structural half reset */
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1024px) {
    .industries h2 { font-size: 34px; }
    .industry-card { width: 230px; padding: 20px; gap: 14px; }
    .ind-icon-box { width: 44px; height: 44px; }
    .ind-icon-box i { font-size: 19px; }
    .marquee-content { gap: 18px; }
}

@media (max-width: 768px) {
    .industries { padding: 70px 0; }
    .industries h2 { font-size: 26px; }
    .industries p { font-size: 15px; }
    .industry-card { width: 200px; padding: 16px; gap: 12px; border-radius: 16px; }
    .ind-icon-box { width: 38px; height: 38px; border-radius: 10px; }
    .ind-icon-box i { font-size: 17px; }
    .industry-card h4 { font-size: 14.5px; }
    .marquee-fade-left, .marquee-fade-right { width: 25%; } /* Deeper fade masks for small displays */
}

/* ==========================================================================
   PREMIUM WELCOME OVERLAY & CINEMATIC TRANSITIONS
   ========================================================================== */
:root {
    --nav-dark: #081B33;
    --pop-purple: #7B3FF2;
    --pop-cyan: #00C2FF;
}

/* Master Overlay Screen Boundary */
.welcome-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(123, 63, 242, 0.15), rgba(8, 27, 51, 0.75));
    background-color: rgba(8, 27, 51, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: none; /* 🌟 CHANGED: Hide it completely at start */
    opacity: 0;    /* 🌟 CHANGED: Keep it invisible until preloader is done */
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 99999; 
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ambient Visual Effects Engines */
.welcome-bg-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    animation: gridFlow 30s linear infinite;
}

.welcome-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.25;
    z-index: 1;
    animation: orbDrift 12s ease-in-out infinite alternate;
}
.welcome-orb-1 {
    top: 20%; left: 15%;
    width: 300px; height: 300px;
    background: var(--pop-purple);
}
.welcome-orb-2 {
    bottom: 20%; right: 15%;
    width: 350px; height: 350px;
    background: var(--pop-cyan);
    animation-delay: -4s;
}

.welcome-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Premium Glassmorphic Modal Framework */
.welcome-modal {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 50px 40px;
    width: 100%;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(123, 63, 242, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 3;
    
    /* Animation entry initialization state */
    opacity: 0;
    transform: translateY(40px) scale(0.8);
    animation: modalEntrance 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards,
               modalFloat 6s ease-in-out infinite 700ms;
}

/* Typography & Layout Compartments */
.welcome-logo {
    margin-bottom: 28px;
}
.welcome-logo .logo-text {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}
.welcome-logo .accent-color {
    color: var(--pop-cyan);
}

.welcome-modal h2 {
    font-size: 34px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    margin: 0 0 18px 0;
    letter-spacing: -0.5px;
}

.welcome-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #A3B3CC;
    margin: 0 0 8px 0;
}
.welcome-description p:last-child {
    margin-bottom: 0;
    color: #FFFFFF;
    font-weight: 500;
}

/* SaaS Horizontal Badge Ribbon */
.welcome-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 36px 0;
    flex-wrap: wrap;
}

.welcome-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.welcome-badge i {
    color: var(--pop-cyan);
    font-size: 14px;
    filter: drop-shadow(0 0 6px rgba(0, 194, 255, 0.4));
}
.welcome-badge span {
    font-size: 13.5px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.2px;
}

/* Luxury Interactive CTA Trigger */
.btn-explore {
    position: relative;
    background: linear-gradient(135deg, var(--pop-purple), var(--pop-cyan));
    border: none;
    padding: 16px 44px;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(123, 63, 242, 0.4),
                0 0 15px rgba(0, 194, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-explore .btn-text {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Interactive Hover States */
.btn-explore:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(123, 63, 242, 0.6),
                0 0 25px rgba(0, 194, 255, 0.4);
}

/* Native Button Micro-Ripples Layer */
.btn-explore .ripple-layer {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease-out, height 0.5s ease-out;
    z-index: 1;
}
.btn-explore:active .ripple-layer {
    width: 300px;
    height: 300px;
    opacity: 0;
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
}

/* ==========================================================================
   INTERACTIVE ANIMATIONS AND TIMELINES
   ========================================================================== */
@keyframes modalEntrance {
    0% { opacity: 0; transform: translateY(40px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes gridFlow {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}
@keyframes orbDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.15); }
}

/* Outbound Procedural Structural State Hooks */
.welcome-overlay.fading-out {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    pointer-events: none;
}
.welcome-overlay.fading-out .welcome-modal {
    animation: none; /* Decouples float engine loop loop */
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 500ms cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-20px) scale(0.9) !important;
    opacity: 0 !important;
}

/* Hero Cinematic Entry Trigger Blueprint Setup */
/* 🌟 NOTE: Inject this target setup into your active Hero layout code */
/* 🌟 FIXED: Hero shows up by default now so it never gets hidden if the popup fails */
.hero-section {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Keep this block just in case you want to use the fade-in later */
.hero-section.cinematic-reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Breakpoint Adaptations */
@media (max-width: 680px) {
    .welcome-modal { padding: 40px 24px; }
    .welcome-modal h2 { font-size: 26px; }
    .welcome-badges { gap: 10px; }
    .welcome-badge { padding: 6px 12px; }
    .welcome-badge span { font-size: 12px; }
}

/* ==========================================================================
   ABOUT US BUTTONS MOBILE RESPONSIVE FIX
   ========================================================================== */
@media (max-width: 480px) {
    /* 1. Target the container holding the buttons */
    .about-content .btn-group, 
    .about-content .button-area,
    .about-content .about-buttons {
        display: flex !important;
        flex-direction: column !important; /* Stack them vertically on small screens */
        gap: 14px !important;              /* Clean space between the stacked buttons */
        width: 100% !important;
        padding: 0 16px !important;        /* Prevents buttons from touching screen edges */
        box-sizing: border-box !important;
    }

    /* 2. Standardize both buttons to match your premium pill design */
    .about-content .btn-primary,
    .about-content .primary-btn,
    .about-content .btn-outline,
    .about-content .outline-btn,
    .about-content a[class*="btn"] {
        width: 100% !important;            /* Make them full width for easy tapping */
        max-width: 280px !important;       /* Keep them from stretching too wide */
        margin: 0 auto !important;         /* Center them perfectly */
        text-align: center !important;
        justify-content: center !important;
        padding: 14px 30px !important;     /* Uniform comfortable premium padding */
        font-size: 15px !important;
        border-radius: 50px !important;    /* Clean pill shape across both buttons */
    }
}

.logo{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.logo img{
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(123, 63, 242, 0.25);
    transition: all 0.4s ease;
}

.logo img:hover{
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(123, 63, 242, 0.45);
}

.gradient-text{
    background: linear-gradient(90deg, #7B3FF2, #00C2FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*=====================================
    PORTFOLIO SECTION
======================================*/

.portfolio-section{
    padding:120px 0;
    position:relative;
}

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    margin-top:60px;
}

/*=====================================
    PROJECT CARD
======================================*/

.project-card{

    background:#0d2038;

    border-radius:22px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 10px 35px rgba(0,0,0,.35);

    transition:.4s ease;

    position:relative;

}

.project-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 60px rgba(123,63,242,.35);

}

/*=====================================
    BROWSER WINDOW
======================================*/

.browser-window{

    border-radius:20px 20px 0 0;

    overflow:hidden;

}

/*=====================================
    BROWSER HEADER
======================================*/

.browser-top{

    height:42px;

    background:#162b47;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 15px;

}

.browser-buttons{

    display:flex;

    gap:8px;

}

.browser-buttons span{

    width:12px;

    height:12px;

    border-radius:50%;

}

.red{
    background:#ff5f56;
}

.yellow{
    background:#ffbd2e;
}

.green{
    background:#27c93f;
}

.browser-title{

    color:#cfd9e7;

    font-size:12px;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

/*=====================================
    IMAGE
======================================*/

.project-image{

    height:250px;

    overflow:hidden;

    background:#09172b;

}

.project-image img{

    width:100%;

    display:block;

    transition:8s linear;

}

/*=====================================
    AUTO SCROLL
======================================*/

.project-card:hover .project-image img{

    transform:translateY(calc(-100% + 250px));

}

/*=====================================
    DETAILS
======================================*/

.project-details{

    padding:22px;

}

.project-category{

    display:inline-block;

    padding:7px 16px;

    border-radius:30px;

    background:rgba(0,194,255,.15);

    color:#00C2FF;

    font-size:12px;

    margin-bottom:18px;

}

.project-details h3{

    color:#fff;

    font-size:22px;

    margin-bottom:12px;

}

.project-details p{

    color:#9fb0c5;

    line-height:1.7;

    margin-bottom:25px;

}

.project-btn{

    display:inline-flex;

    align-items:center;

    gap:8px;

    color:#7B3FF2;

    font-weight:600;

    text-decoration:none;

    transition:.3s;

}

.project-btn:hover{

    color:#00C2FF;

}

/*=====================================
    IMAGE HOVER
======================================*/

.project-card:hover img{

    filter:brightness(1.05);

}

/*=====================================
    RESPONSIVE
======================================*/

@media(max-width:1100px){

.portfolio-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.portfolio-grid{

grid-template-columns:1fr;

}

.project-image{

height:220px;

}

.project-card:hover .project-image img{

transform:translateY(calc(-100% + 220px));

}

}

/*=====================================
    MORE PROJECTS SECTION
======================================*/

.portfolio-more{
    width:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    margin:70px auto 0;
}

.portfolio-more-text{
    max-width:700px;
    color:#9fb0c5;
    font-size:18px;
    line-height:1.8;
    margin-bottom:30px;
}

.portfolio-more-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:18px 40px;

    background:linear-gradient(135deg,#7B3FF2,#00C2FF);

    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:16px;

    border-radius:50px;

    transition:.4s ease;

    box-shadow:0 10px 35px rgba(123,63,242,.35);
}

.portfolio-more-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 45px rgba(123,63,242,.55);

}

.portfolio-more-btn i{

    transition:.4s;

}

.portfolio-more-btn:hover i{

    transform:translateX(6px);

}

/* Welcome Logo */

.welcome-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-bottom:25px;
}

.welcome-logo-img{
    width:60px;
    height:60px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(123,63,242,.35);
}

.logo-text{
    font-size:38px;
    font-weight:800;
    color:#fff;
    line-height:1;
}

.accent-color{
    color:#7B3FF2;
}

/*==============================
    FOOTER LOGO
==============================*/

.footer-logo{
    display:flex;
    align-items:center;
    gap:15px;
    text-decoration:none;
    margin-bottom:15px;
}

.footer-logo-img{
    width:55px;
    height:55px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(123,63,242,.25);
    transition:.3s ease;
}

.footer-logo:hover .footer-logo-img{
    transform:scale(1.08);
    box-shadow:0 10px 30px rgba(123,63,242,.45);
}

.footer-logo-text{
    font-size:28px;
    font-weight:700;
    color:#fff;
    line-height:1.2;
}

/*=========================================
WEBTROVIX AI ASSISTANT
=========================================*/

.wt-chat-toggle{

position:fixed;

right:30px;

bottom:25px;

z-index:99999;

cursor:pointer;

display:flex;

align-items:center;

animation:floatBot 3s ease-in-out infinite;

}

@keyframes floatBot{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

}

.chat-wave{

font-size:34px;

margin-right:10px;

animation:wave 1.4s infinite;

}

@keyframes wave{

0%{transform:rotate(0deg);}

20%{transform:rotate(15deg);}

40%{transform:rotate(-15deg);}

60%{transform:rotate(15deg);}

100%{transform:rotate(0deg);}

}

.chat-circle{

width:72px;

height:72px;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

background:linear-gradient(135deg,#7B3FF2,#00C2FF);

box-shadow:0 20px 45px rgba(123,63,242,.45);

color:#fff;

font-size:30px;

transition:.4s;

}

.chat-circle:hover{

transform:scale(1.08);

}

.wt-chat-box{
    position:fixed;
    right:30px;
    bottom:110px;

    width:380px;
    max-width:calc(100vw - 40px);

    height:650px;
    max-height:calc(100vh - 140px);

    background:rgba(10,22,40,.95);
    backdrop-filter:blur(30px);

    border-radius:25px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    z-index:99999;

    opacity:0;
    visibility:hidden;
    transform:translateY(40px);
    transition:.4s;
}

.wt-chat-box.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.wt-header{
    flex-shrink:0;
    height:80px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:18px 20px;

    background:linear-gradient(135deg,#081B33,#162B52);

    border-bottom:1px solid rgba(255,255,255,.08);
}

.wt-title{

display:flex;

align-items:center;

gap:15px;

}

.wt-avatar{

width:50px;

height:50px;

border-radius:50%;

border:2px solid #7B3FF2;

}

.wt-title h4{

color:#fff;

margin:0;

font-size:18px;

}

.wt-title small{

color:#9FB0C5;

}

#closeChat{

background:none;

border:none;

font-size:20px;

color:white;

cursor:pointer;

}

.wt-body{

flex:1;

padding:20px;

overflow-y:auto;

}

.bot-msg{

background:#132743;

padding:14px 18px;

border-radius:18px 18px 18px 6px;

margin-bottom:15px;

display:inline-block;

max-width:85%;

color:#fff;

animation:fadeUp .4s;

}

.user-msg{

background:linear-gradient(135deg,#7B3FF2,#00C2FF);

padding:14px 18px;

border-radius:18px 18px 6px 18px;

margin-bottom:15px;

margin-left:auto;

display:block;

width:max-content;

max-width:85%;

color:white;

animation:fadeUp .4s;

}

.options{

display:flex;

flex-direction:column;

gap:12px;

margin-top:20px;

}

.options button{

background:#182F4C;

border:1px solid rgba(255,255,255,.08);

color:white;

padding:14px;

border-radius:14px;

cursor:pointer;

transition:.35s;

font-size:15px;

}

.options button:hover{

background:linear-gradient(135deg,#7B3FF2,#00C2FF);

}

.chatInput{

width:100%;

padding:15px;

border-radius:14px;

background:#132743;

border:none;

outline:none;

margin-top:15px;

color:white;

}

.nextBtn{

width:100%;

margin-top:15px;

padding:15px;

border:none;

border-radius:14px;

background:linear-gradient(135deg,#7B3FF2,#00C2FF);

font-size:16px;

font-weight:600;

color:white;

cursor:pointer;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:translateY(0);

}

}

.wt-body::-webkit-scrollbar{

width:5px;

}

.wt-body::-webkit-scrollbar-thumb{

background:#7B3FF2;

border-radius:50px;

}

@media(max-width:768px){

.wt-chat-box{

width:95%;

right:2.5%;

height:75vh;

bottom:100px;

}

.chat-circle{

width:65px;

height:65px;

font-size:26px;

}

}

/*=====================================
CHAT INVITE LABEL
======================================*/

.wt-chat-toggle{
    position:fixed;
    right:30px;
    bottom:25px;
    z-index:99999;
    display:flex;
    flex-direction:column;
    align-items:center;
    cursor:pointer;
}

.chat-invite{

    margin-bottom:12px;

    background:#fff;

    color:#081B33;

    padding:10px 18px;

    border-radius:30px;

    font-size:15px;

    font-weight:700;

    white-space:nowrap;

    box-shadow:0 10px 30px rgba(0,0,0,.18);

    animation:inviteFloat 2s ease-in-out infinite;

    position:relative;

}

.chat-invite::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    transform:translateX(-50%);

    border-width:8px 8px 0;

    border-style:solid;

    border-color:#fff transparent transparent;

}

@keyframes inviteFloat{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-6px);
    }

}