/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES (SaaS / Linear + Stripe Inspired)
   ========================================================================== */
:root {
    --bg-primary: #0B1120;
    --bg-secondary: #070B13;
    --bg-glass: rgba(15, 22, 42, 0.65);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    --primary: #6366F1;       /* Indigo */
    --secondary: #06B6D4;     /* Cyan */
    --accent: #8B5CF6;        /* Purple */
    --orange: #F97316;
    --yellow: #F59E0B;
    --green: #10B981;
    
    --text-main: #F8FAFC;     /* Off-white */
    --text-muted: #CBD5E1;    /* Light slate for high readability */
    
    --primary-gradient: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
    --secondary-gradient: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    --cyan-gradient: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --text-gradient: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    --text-gradient-alt: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.2);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    height: -webkit-fill-available;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
    border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.6);
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text-main);
}

/* ==========================================================================
   GLOWING DECORATIVE ELEMENTS & CURSOR
   ========================================================================== */
.cursor-trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* Background Glowing Orbs */
.orb {
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
    animation: pulseOrbs 20s infinite alternate ease-in-out;
}
.orb-1 {
    top: -10vw;
    left: -10vw;
    background: var(--primary);
}
.orb-2 {
    top: 40vh;
    right: -10vw;
    background: var(--secondary);
    animation-delay: -5s;
}
.orb-3 {
    bottom: -10vw;
    left: 20vw;
    background: var(--accent);
    animation-delay: -10s;
}

@keyframes pulseOrbs {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(8%, 10%) scale(1.15);
    }
}

/* ==========================================================================
   UTILITY CLASSES & DESIGN TOKENS
   ========================================================================== */
.text-cyan { color: var(--secondary) !important; }
.text-purple { color: var(--accent) !important; }
.text-orange { color: var(--orange) !important; }
.text-yellow { color: var(--yellow) !important; }
.text-green { color: var(--green) !important; }

.bg-dark-deep {
    background-color: var(--bg-secondary) !important;
}

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.lead-sm { font-size: 1.1rem; }

.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.1em; }
.italic { font-style: italic; }

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-alt {
    background: var(--text-gradient-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism System */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}
.glass-panel:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.border-glass {
    border: 1px solid var(--border-glass);
}
.border-top-glass {
    border-top: 1px solid var(--border-glass);
}

/* Badge Premium */
.badge-premium {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    color: #C7D2FE;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--secondary);
    animation: flashDot 2s infinite;
}
@keyframes flashDot {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.badge-expertise {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}
.badge-expertise:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: var(--text-main);
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR (HEADER)
   ========================================================================== */
.header-glass {
    background: rgba(11, 17, 32, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
    padding: 15px 0;
}
.header-glass.scrolled {
    padding: 10px 0;
    background: rgba(7, 11, 19, 0.85);
    border-bottom-color: rgba(99, 102, 241, 0.15);
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted) !important;
    font-size: 0.95rem;
    padding: 6px 16px !important;
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-main) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-gradient-primary {
    background: var(--primary-gradient);
    border: none;
    color: var(--text-main);
    box-shadow: var(--shadow-glow);
}
.btn-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-gradient);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}
.btn-gradient-primary:hover::before {
    opacity: 1;
}
.btn-gradient-primary:hover {
    color: var(--text-main);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

.btn-glass-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}
.btn-glass-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glass-hover);
    color: var(--text-main);
    transform: translateY(-2px);
}

.btn-gradient-glow {
    background: var(--secondary-gradient);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-main);
}
.btn-gradient-glow:hover {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    border-color: var(--accent);
    color: var(--text-main);
    transform: translateY(-1px);
}

.btn-arrow {
    transition: var(--transition-fast);
}
.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    z-index: 1;
}

.hero-visual-container {
    position: relative;
    width: 320px;
    height: 320px;
}

@media(min-width: 992px) {
    .hero-visual-container {
        width: 420px;
        height: 420px;
    }
}

.glowing-mesh {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

/* Floating Metrics Cards */
.floating-card {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    width: 220px;
}

.card-conversion {
    top: 10%;
    left: -20%;
}
.card-seo {
    bottom: 25%;
    right: -25%;
}
.card-satisfaction {
    bottom: -10%;
    left: -10%;
}

.card-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.bg-soft-primary { background: rgba(99, 102, 241, 0.15); }
.bg-soft-cyan { background: rgba(6, 182, 212, 0.15); }
.bg-soft-purple { background: rgba(139, 92, 246, 0.15); }

/* Technical Orbit Ring Visual */
.tech-ring-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    z-index: 1;
}
.tech-orbit-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}
.circle-1 {
    transform: scale(0.8) rotate(0deg);
    animation: rotateOrbit 30s linear infinite;
}
.circle-2 {
    transform: scale(1.1) rotate(0deg);
    border-style: solid;
    border-color: rgba(6, 182, 212, 0.05);
    animation: rotateOrbitReverse 40s linear infinite;
}
.tech-center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass-hover);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotateOrbit {
    from { transform: scale(0.8) rotate(0deg); }
    to { transform: scale(0.8) rotate(360deg); }
}
@keyframes rotateOrbitReverse {
    from { transform: scale(1.15) rotate(360deg); }
    to { transform: scale(1.15) rotate(0deg); }
}

/* Animations for Floating Elements */
.animate-float-slow { animation: floatSlow 8s ease-in-out infinite alternate; }
.animate-float-medium { animation: floatMedium 6s ease-in-out infinite alternate; }
.animate-float-fast { animation: floatFast 4s ease-in-out infinite alternate; }
.animate-pulse { animation: pulseGlow 3s ease-in-out infinite alternate; }

@keyframes floatSlow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes floatMedium {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-8px) rotate(-1.5deg); }
}
@keyframes floatFast {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}
@keyframes pulseGlow {
    0% { opacity: 0.7; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Scroll Mouse Indicator */
.scroll-down-indicator {
    bottom: 30px;
    z-index: 2;
    opacity: 0.6;
    transition: var(--transition-fast);
}
.scroll-down-indicator:hover {
    opacity: 1;
}
.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: block;
    position: relative;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    80% { transform: translate(-50%, 12px); opacity: 0; }
    100% { opacity: 0; }
}

/* ==========================================================================
   2. ABOUT SECTION
   ========================================================================== */
.about-image-wrapper {
    z-index: 1;
}
.border-glass-image {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}
.glow-backdrop {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 60%);
    filter: blur(25px);
    z-index: -1;
}
.experience-years-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 140px;
    z-index: 3;
    border: 1px solid var(--border-glass-hover);
}

/* ==========================================================================
   3. SERVICES SECTION
   ========================================================================== */
.service-card {
    height: 100%;
    padding: 40px 30px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(99, 102, 241, 0.08), transparent 40%);
    z-index: 0;
    pointer-events: none;
}
.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    position: relative;
    z-index: 1;
    transform: translateZ(30px);
    transition: var(--transition-smooth);
}
.service-card:hover .service-icon {
    transform: translateZ(50px) scale(1.1);
}
.service-card h4 {
    transform: translateZ(20px);
    position: relative;
    z-index: 1;
}
.service-card p {
    transform: translateZ(10px);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   4. SKILLS SECTION
   ========================================================================== */
.progress-container {
    background: rgba(255, 255, 255, 0.03);
    height: 6px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.progress-bar-fill {
    height: 100%;
    width: 0; /* Animated dynamically */
    border-radius: 100px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bg-gradient-primary { background: var(--primary-gradient); }
.bg-gradient-cyan { background: var(--cyan-gradient); }
.bg-gradient-purple { background: var(--secondary-gradient); }

.skill-infocard {
    position: relative;
}

/* ==========================================================================
   5. TIMELINE SECTION
   ========================================================================== */
.timeline-container {
    max-width: 850px;
    margin: 0 auto;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    opacity: 0.15;
}

@media(min-width: 768px) {
    .timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
    padding-left: 45px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

@media(min-width: 768px) {
    .timeline-item {
        width: 50%;
        padding-left: 0;
    }
    .timeline-item:nth-child(odd) {
        margin-left: auto;
        padding-left: 40px;
    }
    .timeline-item:nth-child(even) {
        margin-right: auto;
        padding-right: 40px;
        text-align: right;
    }
}

.timeline-dot {
    position: absolute;
    left: 6px;
    top: 24px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 2;
}

@media(min-width: 768px) {
    .timeline-dot {
        left: auto;
        right: -10px;
    }
    .timeline-item:nth-child(odd) .timeline-dot {
        left: -10px;
        right: auto;
    }
}

.timeline-card {
    padding: 30px;
    border-radius: 16px;
    position: relative;
}

.timeline-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   6. PORTFOLIO SHOWCASE
   ========================================================================== */
.btn-portfolio-filter {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.btn-portfolio-filter:hover, .btn-portfolio-filter.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: var(--text-main);
}

.portfolio-grid {
    position: relative;
    min-height: 400px;
}

.portfolio-item {
    transition: var(--transition-smooth);
}
.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    position: absolute;
}

.portfolio-card {
    border-radius: 18px;
    height: 100%;
}
.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-img {
    transform: scale(1.06);
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.lightbox-trigger {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}
.portfolio-card:hover .lightbox-trigger {
    transform: scale(1);
}

/* Lightbox Modal System */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 11, 19, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-modal.active {
    display: flex;
    animation: fadeInModal 0.3s forwards;
}
.lightbox-content-wrapper {
    max-width: 900px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-img {
    max-height: 75vh;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    object-fit: contain;
}
.lightbox-caption {
    width: 100%;
    margin-top: 20px;
    padding: 20px 25px;
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--text-muted);
    font-size: 40px;
    font-weight: 200;
    cursor: pointer;
    transition: var(--transition-fast);
}
.lightbox-close:hover {
    color: var(--text-main);
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   7. ACHIEVEMENTS SECTION
   ========================================================================== */
.stat-card {
    border-radius: 16px;
    height: 100%;
}
.stat-icon i {
    opacity: 0.8;
}

/* ==========================================================================
   8. TESTIMONIALS CAROUSEL
   ========================================================================== */
.carousel-container {
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}
.carousel-track {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-slide {
    width: 100%;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 0.95rem;
}

.btn-carousel-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.btn-carousel-control:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glass-hover);
}

.carousel-dots-container {
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}
.carousel-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   9. INFOGRAPHIC / MARKETING EXPERTISE SECTION
   ========================================================================== */
.min-vh-infographic {
    min-height: 450px;
}

.marketing-nodes-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

@media(min-width: 992px) {
    .marketing-nodes-container {
        width: 380px;
        height: 380px;
    }
}

/* Base Nodes Styling */
.marketing-node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-smooth);
}

.node-inner {
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.node-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-gradient);
    filter: blur(10px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.center-node {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.center-node .node-inner {
    width: 80px;
    height: 80px;
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* Positioning Outer Nodes via Angle parameter */
.outer-node {
    width: 54px;
    height: 54px;
    top: 50%;
    left: 50%;
    /* Calculated in JS using angle and radius offset, but setting layout bases */
    transform: translate(-50%, -50%);
}
.outer-node .node-inner {
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
}

.outer-node:hover .node-inner, .outer-node.active .node-inner {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}
.outer-node:hover .node-glow, .outer-node.active .node-glow {
    opacity: 0.35;
}

.node-label {
    position: absolute;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    white-space: nowrap;
    transition: var(--transition-fast);
}
.outer-node:hover .node-label, .outer-node.active .node-label {
    color: var(--text-main);
}

/* Central Info Panel display states */
.infographic-detail-panel {
    border-radius: 20px;
    min-height: 320px;
    overflow: hidden;
}
.panel-glow-orb {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: var(--primary-gradient);
    filter: blur(70px);
    opacity: 0.15;
}

.info-content-panel {
    display: none;
    animation: slideInText 0.4s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
.info-content-panel.active {
    display: block;
}

@keyframes slideInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-metric-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.highlight-quote-soft {
    border-left: 2px solid;
    padding-left: 15px;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
}
.border-cyan { border-left-color: var(--secondary) !important; }
.border-purple { border-left-color: var(--accent) !important; }

/* ==========================================================================
   10. CONTACT SECTION & FORMS
   ========================================================================== */
.contact-card-form {
    border-radius: 22px;
}

.form-floating-custom {
    position: relative;
    width: 100%;
}
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 16px;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.form-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

/* Floating Label Animation */
.form-floating-custom label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-fast);
}
.form-input:focus ~ label,
.form-input:not(:placeholder-shown) ~ label {
    top: 0;
    left: 12px;
    transform: translateY(-50%) scale(0.8);
    background-color: var(--bg-primary);
    padding: 0 6px;
    color: var(--primary);
}

/* Textarea customization */
.text-area-input {
    resize: none;
    height: 150px;
}
.form-floating-custom textarea ~ label {
    top: 26px;
}
.form-floating-custom textarea:focus ~ label,
.form-floating-custom textarea:not(:placeholder-shown) ~ label {
    top: 0;
}

/* Dropdown list customization */
.select-input {
    appearance: none;
    color: var(--text-muted);
}
.select-input:focus, .select-input:valid {
    color: var(--text-main);
}
.select-custom::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
}

/* Validation Outline */
.form-input.is-invalid {
    border-color: rgba(239, 68, 68, 0.5) !important;
}
.invalid-feedback-custom {
    display: none;
    color: #EF4444;
    font-size: 0.75rem;
    margin-top: 4px;
    padding-left: 8px;
}
.form-input.is-invalid ~ .invalid-feedback-custom {
    display: block;
}

/* Success Form Feedback screen overlay */
.form-feedback-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 10;
    padding: 30px;
}
.form-feedback-success.active {
    opacity: 1;
    pointer-events: auto;
}

/* Info Details links */
.contact-detail-link {
    transition: var(--transition-fast);
}
.contact-detail-link:hover {
    transform: translateX(4px);
}
.icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.bg-soft-green { background: rgba(16, 185, 129, 0.15); }

/* Social Network Grid boxes */
.network-link {
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-smooth);
}
.network-link:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-glass-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   11. FOOTER & BACK TO TOP
   ========================================================================== */
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    text-decoration: none;
}
.social-icon:hover {
    color: var(--text-main);
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Back to top button style */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px; /* Hidden initially offscreen */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass-hover);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    z-index: 99;
    cursor: pointer;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, transform 0.2s;
}
.btn-back-to-top.visible {
    right: 30px;
}
.btn-back-to-top:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: scale(1.05);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER TARGETS)
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left-delayed {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   ANIMATED GRADIENT ENTRANCES
   ========================================================================== */
.animate-fade-in {
    animation: fadeInHeader 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInHeader {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


.text-muted{ color: #637296 !important;}
