/* Candemsoft - Ultra Premium Dark-Tech CSS */
/* Tesla x Stripe x Linear x Cyberpunk Design */

/* ================================
   ROOT VARIABLES - DARK-TECH PALETTE
   ================================ */
:root {
    /* Primary Colors - NEON ORANGE */
    --primary-400: #ff8533;
    --primary-500: #FF6A00;
    --primary-600: #e65c00;
    --primary-700: #cc5200;

    /* Secondary Colors - SOFT AMBER */
    --secondary-400: #ffb366;
    --secondary-500: #FF9F43;
    --secondary-600: #e68a00;

    /* Dark Colors - MATTE BLACK */
    --dark-100: #1a1a1f;
    --dark-200: #151518;
    --dark-300: #121217;
    --dark-400: #0f0f12;
    --dark-500: #0B0B0E;

    /* Gray Colors - ELECTRIC GRAY */
    --gray-50: #F5F5F7;
    --gray-100: #e5e5e7;
    --gray-200: #c5c5c7;
    --gray-300: #A1A1AA;
    --gray-400: #71717a;
    --gray-500: #52525b;
    --gray-600: #3f3f46;
    --gray-700: #27272a;
    --gray-800: #1e1e21;
    --gray-900: #18181b;

    /* Legacy support */
    --primary-color: #FF6A00;
    --secondary-color: #FF9F43;
    --text-dark: #F5F5F7;
    --text-muted: #A1A1AA;

    /* Gradients - ORANGE & BLACK */
    --gradient-primary: linear-gradient(135deg, #FF6A00 0%, #FF9F43 100%);
    --gradient-hero: linear-gradient(135deg, #0B0B0E 0%, #121217 50%, #0B0B0E 100%);
    --gradient-card: linear-gradient(135deg, rgba(18, 18, 23, 0.9) 0%, rgba(11, 11, 14, 0.95) 100%);
    --gradient-dark: linear-gradient(180deg, #0B0B0E 0%, #121217 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(255, 106, 0, 0.15) 0%, transparent 70%);

    /* Glass Effect - DARK GLASS */
    --glass-bg: rgba(18, 18, 23, 0.8);
    --glass-bg-light: rgba(26, 26, 31, 0.95);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-orange: rgba(255, 106, 0, 0.2);

    /* Shadows - ORANGE GLOW */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(255, 106, 0, 0.4);
    --shadow-glow-soft: 0 0 60px rgba(255, 106, 0, 0.2);
    --shadow-glow-intense: 0 0 80px rgba(255, 106, 0, 0.5);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

/* ================================
   BASE STYLES - DARK MODE
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-50);
    background-color: var(--dark-500);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Selection Colors */
::selection {
    background: var(--primary-500);
    color: white;
}

/* ================================
   NAVBAR - DARK GLASS EFFECT
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 11, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 1000;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-500), var(--secondary-500), transparent);
    opacity: 0.5;
}

.navbar.scrolled {
    background: rgba(11, 11, 14, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar.scrolled::after {
    opacity: 1;
}

.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 45px;
    max-height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.3));
    transition: var(--transition);
}

.navbar.scrolled .navbar-logo {
    height: 35px;
    max-height: 35px;
}

/* Footer Logo */
.footer-brand img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 106, 0, 0.25));
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
    color: var(--gray-300);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--primary-500);
    text-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.navbar .nav-link.active {
    color: var(--primary-500) !important;
    text-shadow: 0 0 20px rgba(255, 106, 0, 0.4);
}

/* Navbar Toggler for Mobile */
.navbar-toggler {
    border: 1px solid var(--glass-border);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 106, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Navbar */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--glass-bg-light);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
        margin-top: 1rem;
        border: 1px solid var(--glass-border);
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .nav-link::after {
        display: none;
    }
}

.navbar .btn-primary {
    background: var(--gradient-primary) !important;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: white !important;
    box-shadow: var(--shadow-glow-soft);
    transition: var(--transition);
}

.navbar .btn-primary:hover,
.navbar .btn-primary.active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: white !important;
}

/* Fix contrast for text inside glass cards */
.glass-card .text-muted {
    color: var(--gray-100) !important;
}

/* ================================
   HERO SECTION - ULTRA PREMIUM DARK
   ================================ */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding: 6rem 0;
    color: white;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    /* Enable 3D space */
}

/* Animated Radial Glow Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 106, 0, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 159, 67, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 106, 0, 0.08) 0%, transparent 60%);
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Floating Orange Orbs */
.hero-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: orbFloat 12s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-50px, 50px) scale(1.1);
    }

    50% {
        transform: translate(-20px, -30px) scale(0.95);
    }

    75% {
        transform: translate(30px, 20px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-content h1 .gradient-text {
    background: linear-gradient(135deg, #FF6A00 0%, #FF9F43 50%, #FF6A00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(255, 106, 0, 0.5));
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    color: var(--gray-300);
    max-width: 500px;
}

.hero-illustration {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 60px rgba(255, 106, 0, 0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Hero CTA Buttons */
.hero-cta {
    background: var(--gradient-primary);
    border: none;
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(255, 106, 0, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 106, 0, 0.5);
}

/* Secondary CTA */
.btn-secondary-dark {
    background: transparent;
    border: 2px solid var(--glass-border-orange);
    color: var(--gray-50);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

/* 3D Animation Styles */
.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    /* Adjust as needed */
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    /* Smooth follow */
}

.tech-card {
    transition: transform 0.1s ease-out;
    /* Smooth parallax */
    /* Add initial positions if needed, but JS will handle offsets */
}

/* Ensure neural-core also transitions smoothly if we animate it */
.neural-core {
    transition: transform 0.1s ease-out;
}

.btn-secondary-dark:hover {
    background: rgba(255, 106, 0, 0.1);
    border-color: var(--primary-500);
    color: var(--primary-500);
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.2);
}

/* ================================
   CARDS - DARK GLASSMORPHISM
   ================================ */
.card {
    border: none;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    overflow: hidden;
    background: rgba(18, 18, 23, 0.95);
    /* More opaque */
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    position: relative;
}

.text-gray-400 {
    color: var(--gray-400);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(255, 106, 0, 0.1);
    border-color: var(--glass-border-orange);
}

.card:hover::before {
    opacity: 1;
}

/* Service Cards - Dark Theme */
.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--gradient-card);
}

.service-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.4));
}

.service-card i::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-50);
}

.service-card p {
    color: var(--gray-400);
    flex-grow: 1;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-400);
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: bold;
}

/* Reference/Project Cards - Cinematic */
.reference-card {
    transition: var(--transition);
    overflow: hidden;
}

.reference-card:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow-soft);
}

.reference-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.3);
    transition: var(--transition);
}

.reference-card:hover .reference-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 106, 0, 0.4);
}

.reference-icon i {
    font-size: 1.25rem;
    color: white;
}

/* Team Cards */
/* Team Cards - Dark Tech Redesign */
.team-card {
    padding: 0;
    transition: var(--transition);
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    height: 100%;
}

.team-card:hover {
    border-color: var(--primary-500);
    box-shadow: 0 15px 40px rgba(255, 106, 0, 0.2);
    transform: translateY(-10px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 3rem auto 1.5rem;
    border-radius: 50%;
    background: var(--dark-300);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid var(--glass-border-orange);
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.15);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    transform: scale(1.1);
    border-color: var(--primary-500);
    box-shadow: 0 0 50px rgba(255, 106, 0, 0.4);
}

.team-avatar i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-card .card-body {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-card h5 {
    color: var(--gray-50);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-card .role {
    color: var(--primary-400);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Social Links in Team Card */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0.7;
    transition: var(--transition);
}

.team-card:hover .social-links {
    opacity: 1;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: var(--transition);
    border: 1px solid transparent;
}

.social-links a:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
}

.team-card h5 {
    font-weight: 600;
    color: var(--gray-50);
    margin-bottom: 0.5rem;
}

.team-card .text-muted {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ================================
   BUTTONS - ENERGETIC 3D EFFECT
   ================================ */
.btn {
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.5);
    color: white;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-500);
    color: var(--primary-500);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-soft);
}

/* ================================
   SECTIONS - DARK THEME
   ================================ */
section {
    position: relative;
    background: var(--dark-500);
}

section h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gray-50);
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.5);
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Stats Section */
.text-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.4));
}

/* Background Dark Section */
.bg-dark-section {
    background: var(--gradient-dark);
    position: relative;
}

.bg-light {
    background: linear-gradient(180deg, var(--dark-300) 0%, var(--dark-400) 100%);
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* Technology Icons - Orbital Style */
.tech-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.3));
}

.tech-icon:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.5));
}

/* ================================
   FOOTER - DARK PREMIUM
   ================================ */
.footer {
    background: linear-gradient(180deg, var(--dark-400) 0%, var(--dark-500) 100%);
    color: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.5);
}

.footer::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.05) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    pointer-events: none;
}

.footer h5 {
    color: var(--gray-50);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: 0.02em;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-brand img {
    height: 50px;
    filter: brightness(1.2) drop-shadow(0 0 20px rgba(255, 106, 0, 0.3));
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-500);
    padding-left: 5px;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--gray-300);
    font-size: 1.25rem;
    transition: var(--transition);
    margin-right: 0.5rem;
}

.social-icons a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.footer .border-top {
    border-color: var(--glass-border);
}

.footer small {
    color: var(--gray-500);
}

/* ================================
   FORM ELEMENTS - DARK THEME
   ================================ */
.form-control,
.form-select {
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: var(--dark-300);
    color: var(--gray-50);
}

.form-control::placeholder {
    color: var(--gray-500);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
    outline: none;
    background: var(--dark-200);
}

.form-label {
    font-weight: 600;
    color: var(--gray-200);
    margin-bottom: 0.5rem;
}

/* Contact Card Styles */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--dark-300);
    border: 1px solid var(--glass-border);
    color: var(--primary-500);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-soft);
}

/* Map Container */
.map-responsive {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.map-responsive iframe {
    border-radius: var(--radius-md);
}

/* ================================
   PRELOADER - DARK THEME
   ================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-500);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ================================
   SCROLL PROGRESS BAR
   ================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.6);
}

/* ================================
   TOAST NOTIFICATIONS
   ================================ */
.toast-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--dark-200);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10002;
    transition: right 0.3s ease;
    min-width: 300px;
    max-width: 400px;
    backdrop-filter: blur(10px);
    color: var(--gray-50);
}

.toast-notification.show {
    right: 20px;
}

.toast-notification i {
    font-size: 1.5rem;
}

.toast-notification.toast-success {
    border-left: 4px solid #14b8a6;
}

.toast-notification.toast-success i {
    color: #14b8a6;
}

.toast-notification.toast-error {
    border-left: 4px solid #f43f5e;
}

.toast-notification.toast-error i {
    color: #f43f5e;
}

.toast-notification span {
    flex: 1;
    font-weight: 500;
}

/* ================================
   COOKIE CONSENT - DARK
   ================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 23, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent p {
    margin: 0;
    color: var(--gray-300);
    font-size: 0.95rem;
}

/* ================================
   BACK TO TOP BUTTON
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-glow-soft);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ================================
   WHATSAPP BUTTON
   ================================ */
.whatsapp-button {
    position: fixed !important;
    bottom: 2rem !important;
    left: 2rem !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 10000 !important;
    transition: var(--transition);
    text-decoration: none;
    animation: wpFloat 3s ease-in-out infinite;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-button i {
    animation: shake 3s ease infinite;
}

.whatsapp-button:hover i {
    animation: none;
}

@keyframes wpFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: rotate(-5deg);
    }

    20%,
    40%,
    60%,
    80% {
        transform: rotate(5deg);
    }
}

/* ================================
   ALERTS
   ================================ */
.alert {
    border-radius: var(--radius-md);
    border: none;
    padding: 1rem 1.5rem;
    animation: slideInDown 0.3s ease-out;
    background: var(--dark-200);
    color: var(--gray-50);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.05));
    border-left: 4px solid #14b8a6;
    color: #5eead4;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(244, 63, 94, 0.05));
    border-left: 4px solid #f43f5e;
    color: #fda4af;
}

/* ================================
   ABOUT PAGE
   ================================ */
.about-illustration {
    filter: drop-shadow(0 0 40px rgba(255, 106, 0, 0.2));
    animation: heroFloat 6s ease-in-out infinite;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .card {
        margin-bottom: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 1.5rem !important;
        left: 1.5rem !important;
    }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .toast-notification {
        min-width: calc(100% - 40px);
        right: -100%;
    }

    .toast-notification.show {
        right: 20px;
    }

    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .footer::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
    }

    .service-card i {
        font-size: 2.5rem;
    }

    .reference-icon {
        width: 60px;
        height: 60px;
    }

    .reference-icon i {
        font-size: 1.5rem;
    }
}

/* ================================
   ANIMATIONS - ENTRANCE
   ================================ */
.fade-enter {
    opacity: 0;
}

.fade-enter-active {
    opacity: 1;
    transition: opacity 0.5s;
}

/* Smooth reveal for AOS */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ================================
   UTILITY CLASSES
   ================================ */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-muted {
    color: var(--gray-300);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

/* Orange Glow Effect */
.glow-orange {
    box-shadow: var(--shadow-glow);
}

/* Dark Section Helper */
.section-dark {
    background: var(--dark-500);
    color: var(--gray-50);
}

/* Card Body Dark */
.card-body h5,
.card-body h4,
.card-body h3 {
    color: var(--gray-50);
}

.card-body p,
.card-body .text-muted {
    color: var(--gray-400);
}

/* =========================================
   MERGED CSS: ORBITAL
   ========================================= */
/* Orbital Rings */
.orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 106, 0, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(255, 106, 0, 0.1);
    animation: spinSlow 20s linear infinite;
}

.ring-2 {
    width: 450px;
    height: 450px;
    border-color: rgba(255, 106, 0, 0.15);
    border-style: solid;
    border-width: 1px;
    opacity: 0.3;
    animation: spinSlow 30s linear infinite reverse;
}

.ring-3 {
    width: 600px;
    height: 600px;
    border: 1px dotted rgba(255, 106, 0, 0.1);
    animation: spinSlow 40s linear infinite;
}

/* Data Flow Particles */
.flow-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FF6A00;
    border-radius: 50%;
    box-shadow: 0 0 10px #FF6A00;
    top: 50%;
    left: 50%;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
}

/* Particles moving outwards to cards */
.flow-1 {
    animation: flowToWeb 3s ease-out infinite;
}

.flow-2 {
    animation: flowToMobile 3.5s ease-out infinite 0.5s;
}

.flow-3 {
    animation: flowToAI 4s ease-out infinite 1s;
}

.flow-4 {
    animation: flowToCode 4.5s ease-out infinite 1.5s;
}

@keyframes flowToWeb {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    100% {
        transform: translate(-180px, -120px);
        opacity: 0;
    }
}

@keyframes flowToMobile {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    100% {
        transform: translate(160px, 140px);
        opacity: 0;
    }
}

@keyframes flowToAI {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    100% {
        transform: translate(140px, -140px);
        opacity: 0;
    }
}

@keyframes flowToCode {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }

    100% {
        transform: translate(-140px, 140px);
        opacity: 0;
    }
}

/* =========================================
   MERGED CSS: ILLUSTRATIONS
   ========================================= */
/* Concept: Neural Core with Orbiting Tech Elements (Home Page) */

.hero-visual-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    margin-top: -50px;
}

/* Core Orb - The 'Brain' */
.neural-core {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, #FF9F43, #FF6A00);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 60px rgba(255, 106, 0, 0.4), inset 0 0 40px rgba(255, 255, 255, 0.2);
    animation: corePulse 4s ease-in-out infinite;
    z-index: 10;
}

.neural-core::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border: 1px dashed rgba(255, 106, 0, 0.3);
    border-radius: 50%;
    animation: spinSlow 20s linear infinite;
}

.neural-core::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 106, 0, 0.1);
    border-radius: 50%;
    animation: spinSlow 30s linear infinite reverse;
}

/* Floating Tech Cards */
.tech-card {
    position: absolute;
    background: rgba(18, 18, 23, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 12;
    transition: all 0.3s ease;
}

.tech-card i {
    color: #FF6A00;
    font-size: 1.2rem;
}

.tech-card:hover {
    transform: scale(1.1);
    border-color: #FF6A00;
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.3);
    cursor: pointer;
}

/* Positioning Cards */
.card-web {
    top: 20%;
    left: 10%;
    animation: float1 6s ease-in-out infinite;
}

.card-mobile {
    bottom: 25%;
    right: 5%;
    animation: float2 7s ease-in-out infinite 1s;
}

.card-ai {
    top: 15%;
    right: 15%;
    animation: float3 8s ease-in-out infinite 0.5s;
}

.card-code {
    bottom: 15%;
    left: 20%;
    animation: float1 9s ease-in-out infinite 2s;
}

/* Connecting Lines */
.connection-line {
    position: absolute;
    background: linear-gradient(90deg, #FF6A00, transparent);
    height: 2px;
    opacity: 0.4;
    z-index: 5;
    transform-origin: left center;
}

.line-1 {
    width: 150px;
    top: 130px;
    left: 100px;
    transform: rotate(45deg);
    animation: pulseLine 3s infinite;
}

.line-2 {
    width: 120px;
    top: 250px;
    right: 120px;
    transform: rotate(140deg);
    animation: pulseLine 4s infinite 1s;
}


/* =========================================
   About Us Animation - Digital Synergy
   ========================================= */

.synergy-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Center Hexagon */
.hex-core {
    width: 160px;
    height: 180px;
    background: rgba(255, 106, 0, 0.1);
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: hexPulse 4s ease-in-out infinite;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 106, 0, 0.5);
    /* Fake border via box-shadow or inset not possible with clip-path easily, using svg or just filter */
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.4));
}

.hex-core::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 160px;
    background: linear-gradient(135deg, #FF6A00, #FF9F43);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}

.hex-icon {
    font-size: 4rem;
    color: white;
    z-index: 11;
    animation: iconFloat 3s ease-in-out infinite;
}

/* Orbiting Nodes */
.orbit-path {
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px dashed rgba(255, 106, 0, 0.2);
    border-radius: 50%;
    animation: spinSlow 40s linear infinite;
}

.orbit-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border: 1px solid #FF6A00;
    border-radius: 12px;
    /* Soft square */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FF6A00;
    box-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
    font-size: 1.2rem;
    animation: nodeCounterSpin 40s linear infinite;
    /* Counter rotate to keep icon upright */
}

.node-1 {
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.node-2 {
    bottom: 50px;
    right: 20px;
}

.node-3 {
    bottom: 50px;
    left: 20px;
}

/* Data Particles */
.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #FF6A00;
}

.p1 {
    top: 50%;
    left: 50%;
    animation: particleShoot1 3s infinite;
}

.p2 {
    top: 50%;
    left: 50%;
    animation: particleShoot2 3s infinite 1s;
}

.p3 {
    top: 50%;
    left: 50%;
    animation: particleShoot3 3s infinite 2s;
}

/* Mission/Vision Boxes */
.vision-box,
.mission-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.vision-box {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-color: #FF6A00;
}

.mission-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 106, 0, 0.05));
    border-color: #FF9F43;
}

.vision-box h3 {
    color: #FF6A00;
    font-size: 1.25rem;
    font-weight: 700;
}

.mission-box h3 {
    color: #FFB347;
    font-size: 1.25rem;
    font-weight: 700;
}

.vision-box p,
.mission-box p {
    color: var(--gray-400);
}

.vision-box:hover,
.mission-box:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.15), rgba(255, 165, 0, 0.1));
}


/* Animation Keyframes */
@keyframes corePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(255, 106, 0, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 90px rgba(255, 106, 0, 0.6);
    }
}

@keyframes spinSlow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes nodeCounterSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes hexPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 35px rgba(255, 106, 0, 0.7));
    }
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px) translateX(10px);
    }
}

@keyframes pulseLine {

    0%,
    100% {
        opacity: 0.1;
        width: 50%;
    }

    50% {
        opacity: 0.6;
        width: 100%;
    }
}

@keyframes particleShoot1 {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(150px, -150px);
        opacity: 0;
    }
}

@keyframes particleShoot2 {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-150px, 100px);
        opacity: 0;
    }
}

@keyframes particleShoot3 {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(120px, 120px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 991px) {

    .hero-visual-wrapper,
    .synergy-wrapper {
        height: 400px;
        transform: scale(0.8);
        margin-top: 20px;
    }
}

@media (max-width: 576px) {

    .hero-visual-wrapper,
    .synergy-wrapper {
        height: 350px;
        transform: scale(0.65);
    }

    .tech-card,
    .orbit-node {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* =========================================
   MERGED CSS: TERMINAL
   ========================================= */
/* Terminal Window Styles */
.terminal-window {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
    transition: transform 0.3s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.terminal-window:hover {
    transform: translateY(-5px);
    border-color: var(--primary-500, #ff6a00);
    box-shadow: 0 25px 60px rgba(255, 106, 0, 0.2);
}

.terminal-header {
    background: #252526;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.terminal-title {
    margin-left: 20px;
    color: #999;
    font-size: 0.8rem;
    font-weight: 500;
    flex-grow: 1;
    text-align: center;
}

.terminal-body {
    padding: 20px;
    min-height: 300px;
    max-height: 400px;
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-y: auto;
    background: #1e1e1e;
}

/* Syntax Highlighting Colors (Simple) */
.code-keyword {
    color: #569cd6;
}

/* Blue */
.code-string {
    color: #ce9178;
}

/* Orange/Brown */
.code-function {
    color: #dcdcaa;
}

/* Yellow */
.code-comment {
    color: #6a9955;
}

/* Green */

#typewriter-code {
    white-space: pre-wrap;
    word-break: break-all;
    display: inline;
}

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: var(--primary-500, #ff6a00);
    vertical-align: sub;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* =========================================
   PERFORMANCE: CRITICAL CSS ANIMATIONS
   ========================================= */
.animate-in {
    opacity: 0;
    animation: fadeInMove 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

@keyframes fadeInMove {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent CLS on Logo */
.navbar-logo {
    width: auto;
    height: 50px;
    aspect-ratio: 3.5 / 1;
}