/* Portfolio Styles - CR CHALLA RAVI */

/* Variables */
:root {
    --primary: #FACC15;
    --secondary: #F97316;
    --accent: #14B8A6;
    --purple: #A855F7;
    --dark: #0A0A0A;
    --darker: #000000;
    --light: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.01);
    --neon-glow: 0 0 20px rgba(250, 204, 21, 0.6);
    --bg-primary: #111418;
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --text-xs: 0.75rem;
    --text-sm: 0.85rem;
    --text-base: 1rem;
    --text-lg: 1.1rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-hero: clamp(3rem, 7vw, 5.5rem);
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 900;
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;
    --radius-sm: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;
    --radius-circle: 50%;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(250, 204, 21, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --hover-lift: translateY(-3px);
    --hover-scale: scale(1.02);
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 50;
    --z-fixed: 100;
    --z-modal: 1000;
    --z-tooltip: 10000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: 120px 0;
    position: relative;
}

#home {
    padding-bottom: 140px;
}

#about {
    padding-top: 140px;
    padding-bottom: 120px;
    position: relative;
    background: radial-gradient(ellipse at center top,
            rgba(250, 204, 21, 0.02) 0%,
            transparent 50%);
}

#about::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(250, 204, 21, 0.3) 50%,
            transparent 100%);
}

#experience {
    padding-top: 140px;
    padding-bottom: 140px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(250, 204, 21, 0.03) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 50%, rgba(20, 184, 166, 0.02) 0%, transparent 40%);
}

.journey-section {
    position: relative;
}

.section-label {
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.section-title {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(250, 204, 21, 0.6),
            rgba(249, 115, 22, 0.4));
    border-radius: 2px;
}

#contact {
    padding-top: 120px;
    padding-bottom: 100px;
}

/* Modern Brand Design */
.brand-container {
    margin-bottom: var(--space-2xl);
}

.brand-split {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    justify-content: center;
    flex-wrap: wrap;
}

/* Monogram Container */
.monogram-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.monogram {
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.monogram-text {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: var(--font-black);
    letter-spacing: -0.05em;
}

/* Orbit Rings */
.orbit-ring {
    animation: rotate 20s linear infinite;
    transform-origin: center;
}

.orbit-ring-reverse {
    animation: rotate-reverse 15s linear infinite;
    transform-origin: center;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* Particles */
.particle {
    filter: blur(0.5px);
    animation: glow 2s ease-in-out infinite alternate;
}

.particle-1 {
    animation: orbit-1 8s linear infinite;
}

.particle-2 {
    animation: orbit-2 10s linear infinite;
}

.particle-3 {
    animation: orbit-3 12s linear infinite;
}

@keyframes orbit-1 {
    from {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

@keyframes orbit-2 {
    from {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
    }

    to {
        transform: rotate(-360deg) translateX(40px) rotate(360deg);
    }
}

@keyframes orbit-3 {
    from {
        transform: rotate(0deg) translateX(45px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(45px) rotate(-360deg);
    }
}

@keyframes glow {
    from {
        opacity: 0.6;
    }

    to {
        opacity: 1;
    }
}

/* Brand Text Wrapper with Particles */
.brand-text-wrapper {
    position: relative;
    text-align: left;
}

.particle-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    pointer-events: none;
    z-index: -1;
}

/* Brand Text */
.brand-text {
    text-align: left;
    position: relative;
    z-index: 1;
}

.brand-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: var(--font-black);
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
    position: relative;

}

.brand-name .letter {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letter-wave 3s ease-in-out infinite;
    animation-delay: calc(var(--letter-index) * 0.1s);
    transition: all 0.3s ease;

}

.brand-name .letter.space {
    width: 0.3em;
}

.brand-name .letter:hover {
    transform: translateY(-5px) scale(1.1);
    filter: brightness(1.3);
}

@keyframes letter-wave {

    0%,
    100% {
        transform: translateY(0);
        font-weight: var(--font-black);
    }

    50% {
        transform: translateY(-3px);
        font-weight: var(--font-bold);
    }
}

/* Brand Tagline */
.brand-tagline {
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-top: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tag-bracket {
    color: var(--primary);
    opacity: 0.6;
}

.tag-text {
    margin: 0 var(--space-xs);
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .brand-split {
        flex-direction: column;
        text-align: center;
    }

    .brand-text {
        text-align: center;
    }

    .monogram-container {
        width: 100px;
        height: 100px;
    }

    .brand-name {
        font-size: clamp(2rem, 6vw, 3rem);
    }
}

/* Section Labels */
.section-label {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    opacity: 0.8;
    position: relative;
    display: inline-block;
    padding-left: var(--space-xl);
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 2px;
    background: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0;
    position: relative;
}

.hero-content {
    width: 100%;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--font-semibold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

/* Hero CTA */
.hero-cta {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: var(--font-bold);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(250, 204, 21, 0.5);
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.badge {
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.badge:hover {
    transform: var(--hover-lift);
    background: var(--glass-bg-hover);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   DASHBOARD TIMELINE STYLES
   ============================================ */
.dashboard-timeline {
    position: relative;
}

/* Terminal Header */
.terminal-header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    font-family: var(--font-mono);
    position: relative;
    overflow: hidden;
}

.terminal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-dots {
    position: absolute;
    top: 10px;
    left: 16px;
    display: flex;
    gap: 8px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dots .dot:nth-child(1) {
    background: #FF5F56;
}

.terminal-dots .dot:nth-child(2) {
    background: #FFBD2E;
}

.terminal-dots .dot:nth-child(3) {
    background: #27C93F;
}

.terminal-content {
    padding-top: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInLine 0.5s ease forwards;
}

.terminal-line:nth-child(1) {
    animation-delay: 0.5s;
}

.terminal-line:nth-child(2) {
    animation-delay: 1s;
}

.terminal-line:nth-child(3) {
    animation-delay: 1.5s;
}

.terminal-line:nth-child(4) {
    animation-delay: 2s;
}

.terminal-line:nth-child(5) {
    animation-delay: 2.5s;
}

@keyframes fadeInLine {
    to {
        opacity: 1;
    }
}

.prompt {
    color: #14B8A6;
}

.command {
    color: #FACC15;
}

.output {
    color: rgba(255, 255, 255, 0.8);
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #FACC15;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Timeline Container */
.timeline-container {
    position: relative;
    margin-bottom: 60px;
    padding: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.year-axis {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 20px;
}

.year-marker {
    font-family: var(--font-mono);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.year-marker::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.year-marker:hover {
    color: #FACC15;
}

.year-marker.active {
    color: #FACC15;
    transform: scale(1.1);
}

.year-marker.active::after {
    background: #FACC15;
    height: 12px;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.timeline-path {
    position: absolute;
    top: 60px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* Start at 0 */
    background: linear-gradient(90deg, #14B8A6, #FACC15, #F97316);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
    will-change: width;
}

.timeline-progress {
    transition: none;
    /* Remove default transition */
}

.timeline-progress::after {
    content: '';
    position: absolute;
    right: -6px;
    /* Adjusted to stay at the end */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #FACC15;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-progress.complete::after {
    opacity: 1;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(250, 204, 21, 0.8);
        transform: translateY(-50%) scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(250, 204, 21, 1);
        transform: translateY(-50%) scale(1.2);
    }
}

/* ============================================
   FIXED LOCATION CARDS & MODAL
   ============================================ */

/* Location Cards Container - Fixed Alignment */
.locations-track {
    display: flex;
    gap: 20px;
    padding: 60px 20px 20px;
    margin-top: 40px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Location Cards - Fixed Equal Sizing */
.location-card {
    flex: 1 1 300px;
    max-width: 350px;
    min-width: 280px;
    min-height: 320px;
    margin: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.location-card:hover::before {
    transform: translateX(100%);
}

.location-card:hover {
    transform: translateY(-8px);
    border-color: rgba(250, 204, 21, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(250, 204, 21, 0.1);
    z-index: 10;
}

.location-card.active {
    border-color: rgba(250, 204, 21, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

/* Card Header - Fixed Height */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    min-height: 60px;
}

.location-info {
    flex: 1;
    position: relative;
    padding-bottom: 25px;
}

.role-title {
    font-size: 19px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 6px 0;
    font-family: var(--font-display);
}

.location-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Special Badge - Fixed Position */
.special-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.rai-badge {
    background: rgba(168, 85, 247, 0.15);
    color: #C084FC;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.rai-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* Period Badge */
.period-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-mono);
    white-space: nowrap;
}

.period-badge.current {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.3);
    color: #FACC15;
    position: relative;
}

.period-badge.current::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

/* Company Name - Fixed Height */
.company-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #14B8A6;
    margin-bottom: 24px;
    font-weight: 500;
    min-height: 30px;
}

.company-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.nokia-logo {
    background: #124191;
}

.roche-logo {
    background: #0367A6;
    /* Roche's official blue */
    box-shadow: 0 4px 12px rgba(3, 103, 166, 0.3);
}

.microsoft-logo {
    background: linear-gradient(45deg, #00BCF2, #0078D4);
}

/* Preview Content - Fixed Layout */
.card-preview-content {
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-icon {
    font-size: 20px;
    filter: grayscale(0.2);
}

.preview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: auto;
}

.stat-preview {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Card Footer */
.card-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    margin-top: auto;
}

.view-more-hint {
    font-size: 13px;
    color: rgba(250, 204, 21, 0.7);
    font-weight: 500;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.location-card:hover .view-more-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Detail Modal - Fixed Width */
.detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-modal.active {
    opacity: 1;
}

.detail-modal-content {
    background: linear-gradient(135deg,
            rgba(17, 20, 24, 0.98),
            rgba(17, 20, 24, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 0 auto;
    position: relative;
}

.detail-modal.active .detail-modal-content {
    transform: scale(1);
}

.close-detail-modal {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.close-detail-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    color: rgba(255, 255, 255, 0.9);
}

/* Detail Header */
.detail-header {
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(250, 204, 21, 0.05),
            rgba(249, 115, 22, 0.03));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
}

.detail-company-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.detail-company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.detail-company-text h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}

.detail-company-text p {
    margin: 4px 0 0 0;
    color: rgba(255, 255, 255, 0.6);
}

.detail-role-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.detail-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.detail-info-item svg {
    width: 16px;
    height: 16px;
    color: rgba(250, 204, 21, 0.7);
}

/* Detail Body */
.detail-body {
    padding: 30px 40px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-width: 100%;
}

.detail-body::-webkit-scrollbar {
    width: 6px;
}

.detail-body::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.3);
    border-radius: 3px;
}

.detail-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h3 {
    font-size: 20px;
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, #FACC15, #F97316);
    border-radius: 2px;
}

/* Achievement Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    width: 100%;
}

.achievement-card {
    background: #1F2937;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.achievement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(to bottom right,
            rgba(250, 204, 21, 0.3),
            rgba(250, 204, 21, 0.05) 30%,
            transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.achievement-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.achievement-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Tech Stack Pills */
.tech-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.3);
    color: #FACC15;
    transform: translateY(-2px);
}

/* Client List */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.client-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.client-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.client-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Prevent modal content overflow */
.detail-modal-content * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Animation for current position */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 4px rgba(250, 204, 21, 0);
    }
}

/* Subtle pulse animation */
.location-card {
    animation: subtle-pulse 10s ease-in-out infinite;
}

@keyframes subtle-pulse {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.05);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.08);
    }
}

.location-card:hover {
    animation: none;
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */
.testimonials-section {
    margin: calc(var(--space-2xl) * 1.5) 0;
}

.testimonials-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(250, 204, 21, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(250, 204, 21, 0.1);
}

.linkedin-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 119, 181, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 119, 181, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: #0077B5;
    transition: all 0.4s ease;
}

.linkedin-badge:hover {
    box-shadow: 0 0 20px rgba(0, 119, 181, 0.1);
    border-color: rgba(0, 119, 181, 0.3);
}

.quote-icon {
    font-size: 60px;
    background: linear-gradient(135deg, #0077B5, #00a0dc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.testimonial-text {
    /* Option 1: Modern Editorial Style */
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.02em;

    /* OR Option 2: Clean Modern Sans */
    /* font-family: 'Inter', -apple-system, sans-serif; */
    /* font-weight: 300; */

    /* OR Option 3: Elegant Modern */
    /* font-family: 'Crimson Pro', 'Georgia', serif; */
    /* font-weight: 300; */

    /* OR Option 4: Premium Feel */
    /* font-family: 'Lora', 'Georgia', serif; */
    /* font-style: normal; */
    /* font-weight: 400; */

    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 32px;
    min-height: 120px;

    /* Add subtle text shadow for depth */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Remove italic for Inter font option */
.testimonial-text.inter-font {
    font-style: normal;
    font-weight: 300;
}

.author-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.9), rgba(249, 115, 22, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #0A0A0A;
    flex-shrink: 0;
    box-shadow:
        0 8px 24px rgba(250, 204, 21, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.testimonial-card:hover .author-avatar {
    box-shadow:
        0 8px 32px rgba(250, 204, 21, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.author-details h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-display);
    font-weight: 600;
}

.author-details p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-arrow:hover {
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(250, 204, 21, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(250, 204, 21, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow.disabled:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

.nav-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.nav-dot.active {
    width: 32px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.8), rgba(249, 115, 22, 0.6));
    border-color: rgba(250, 204, 21, 0.2);
    box-shadow:
        0 0 20px rgba(250, 204, 21, 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
            rgba(250, 204, 21, 0.6),
            rgba(249, 115, 22, 0.4));
    width: 0;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.view-all-container {
    text-align: center;
    margin-top: 32px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 119, 181, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 119, 181, 0.15);
    border-radius: 30px;
    color: #0077B5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.4s ease;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.view-all-btn:hover {
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(0, 119, 181, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 119, 181, 0.25);
    transform: translateY(-2px);
}

/* Chat Container */

/* Chat Container - OBSIDIAN GREEN LUXURY */
.chat-container {
    max-width: 800px;
    margin: var(--space-xl) auto;
    position: relative;

    /* OBSIDIAN GREEN - Deep luxury */
    background:
        linear-gradient(135deg,
            rgba(2, 6, 5, 0.85) 0%,
            /* 99% black with hint of green */
            rgba(3, 8, 7, 0.8) 50%,
            /* Barely there green */
            rgba(1, 4, 3, 0.9) 100%);
    backdrop-filter: blur(40px) saturate(180%) brightness(0.9);
    -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(0.9);

    /* Very subtle green tinted border */
    border: 0.5px solid rgba(100, 200, 150, 0.06);
    border-radius: 32px;
    padding: 0;
    overflow: hidden;

    /* Subtle 3D depth */
    transform: perspective(1200px) rotateX(1deg) translateY(-12px);
    transform-style: preserve-3d;

    /* Luxurious shadow stack */
    box-shadow:
        /* Ultra-subtle emerald glow */
        0 0 50px rgba(100, 200, 150, 0.01),
        0 0 100px rgba(50, 150, 100, 0.008),

        /* Jade inner light */
        inset 0 1px 0 rgba(150, 255, 200, 0.04),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5),

        /* Premium edge definition */
        0 0 0 1px rgba(0, 0, 0, 0.25),

        /* Deep shadows for that floating effect */
        0 8px 16px -4px rgba(0, 0, 0, 0.8),
        0 16px 32px -8px rgba(0, 0, 0, 0.6),
        0 32px 48px -12px rgba(0, 0, 0, 0.4),
        0 48px 64px -16px rgba(0, 0, 0, 0.3),
        0 64px 96px -24px rgba(0, 0, 0, 0.2),
        0 96px 128px -32px rgba(0, 0, 0, 0.15);

    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.chat-container:hover {
    transform: perspective(1200px) rotateX(0.5deg) translateY(-14px);

    box-shadow:
        /* Slightly enhanced emerald glow */
        0 0 60px rgba(100, 200, 150, 0.015),
        0 0 120px rgba(50, 150, 100, 0.01),

        inset 0 1px 0 rgba(150, 255, 200, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),

        0 0 0 1px rgba(100, 200, 150, 0.03),

        /* Deeper shadows on hover */
        0 10px 20px -4px rgba(0, 0, 0, 0.9),
        0 20px 40px -8px rgba(0, 0, 0, 0.7),
        0 40px 60px -12px rgba(0, 0, 0, 0.5),
        0 60px 80px -16px rgba(0, 0, 0, 0.4),
        0 80px 120px -24px rgba(0, 0, 0, 0.3),
        0 120px 160px -32px rgba(0, 0, 0, 0.2);
}

/* Subtle breathing animation */
@keyframes obsidianBreath {

    0%,
    100% {
        filter: brightness(1) saturate(1);
    }

    50% {
        filter: brightness(1.01) saturate(1.05);
    }
}

.chat-container {
    animation: obsidianBreath 8s ease-in-out infinite;
}

/* Main Glass Layer */

.chat-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 40%,
            transparent 100%);
    border-radius: 32px;
    pointer-events: none;
}

/* Enhanced Header */
.chat-header {
    padding: 20px 24px;
    background: linear-gradient(135deg,
            rgba(250, 204, 21, 0.08),
            rgba(249, 115, 22, 0.04));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    border-radius: 24px 24px 0 0;
    /* Subtle inner shadow for depth */
    box-shadow:
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* .chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(250, 204, 21, 0.5), 
        transparent
    );
    animation: shimmer 3s infinite;
} */

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.chat-status {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    box-shadow:
        0 0 10px rgba(20, 184, 166, 0.5),
        inset 0 0 3px rgba(255, 255, 255, 0.3);
    animation: statusGlow 2s ease-in-out infinite;
}

@keyframes statusGlow {

    0%,
    100% {
        box-shadow:
            0 0 10px rgba(20, 184, 166, 0.5),
            inset 0 0 3px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow:
            0 0 20px rgba(20, 184, 166, 0.8),
            inset 0 0 3px rgba(255, 255, 255, 0.5);
    }
}

/* Pulse rings */
.chat-status::before,
.chat-status::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.3;
    animation: pulseRing 2s ease-in-out infinite;
}

.chat-status::after {
    inset: -8px;
    animation-delay: 1s;
}



.chat-status::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(20, 184, 166, 0.3);
    animation: pulse-outer 2s infinite;
}

@keyframes pulse-outer {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Chat Messages Container */
.chat-messages {
    padding: 24px;
    height: 250px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.1) 100%);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
    position: relative;
    z-index: 1;
    /* Inner shadow for recessed effect */
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-container.aos-animate .chat-messages {
    height: 500px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}


.chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom,
            rgba(250, 204, 21, 0.5),
            rgba(20, 184, 166, 0.5));
}

.chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom,
            rgba(250, 204, 21, 0.3),
            rgba(20, 184, 166, 0.3));
    border-radius: 3px;
    transition: all 0.3s ease;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

/* Enhanced Message Styling */
.message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.4s ease forwards;
    position: relative;
    z-index: 1;
}

@keyframes messageSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    flex-shrink: 0;
    font-size: var(--text-sm);
    margin-top: 2px;
    position: relative;
    overflow: hidden;
}

.message.ai .message-avatar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.3);
}

.message.ai .message-avatar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
}

.message.ai.typing .message-avatar::before {
    animation: shimmer-avatar 2s infinite;
}

@keyframes shimmer-avatar {
    to {
        transform: translateX(100%);
    }
}

.message.user .message-avatar {
    background: linear-gradient(135deg, var(--purple), var(--accent));
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
}

/* Message styling with glass effect */
.message-content {
    flex: 1;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.message-content:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.05));
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Different glass tint for AI messages */
.message.ai .message-content {
    background: linear-gradient(135deg,
            rgba(250, 204, 21, 0.08),
            rgba(250, 204, 21, 0.02));
    border-color: rgba(250, 204, 21, 0.15);
}

.message.ai .message-content::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 14px;
    width: 12px;
    height: 12px;
    background: rgba(250, 204, 21, 0.05);
    border-left: 1px solid rgba(250, 204, 21, 0.1);
    border-bottom: 1px solid rgba(250, 204, 21, 0.1);
    transform: rotate(45deg);
    z-index: -1;
}

.message.ai .message-content:hover {
    background: linear-gradient(135deg,
            rgba(250, 204, 21, 0.12),
            rgba(250, 204, 21, 0.04));
    box-shadow:
        0 8px 20px rgba(250, 204, 21, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.message.user .message-content {
    background: rgba(168, 85, 247, 0.05);
    border-color: rgba(168, 85, 247, 0.1);
}

.message.user .message-content::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 14px;
    width: 12px;
    height: 12px;
    background: rgba(168, 85, 247, 0.05);
    border-right: 1px solid rgba(168, 85, 247, 0.1);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    transform: rotate(45deg);
    z-index: -1;
}

.message-content a {
    /* color: var(--primary); */
    text-decoration: none;
    font-weight: var(--font-semibold);
    transition: var(--transition-fast);
}

.message-content a:hover {
    /* color: var(--secondary); */
    text-decoration: underline;
}



.message-action {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: var(--transition-base);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.message-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.4);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    padding: 8px 16px;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.typing-indicator span {
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: typing-dot 1.4s infinite both;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-dot {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Quick Reply Buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 var(--space-lg) var(--space-md);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.5s;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-reply-btn {
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Animated gradient border */
.quick-reply-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg,
            transparent 30%,
            var(--primary),
            var(--secondary),
            var(--accent),
            transparent 70%);
    border-radius: 16px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: rotateBorder 3s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Shine effect */
.quick-reply-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 40%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 60%);
    transform: rotate(45deg) translateY(100%);
    transition: transform 0.6s ease;
}

/* Active/Click state */
.quick-reply-btn:active {
    transform: translateY(-2px) scale(1.01);
    transition: all 0.1s ease;
}

/* Individual button color themes */
.quick-reply-btn[data-topic="experience"] {
    background: linear-gradient(135deg,
            rgba(250, 204, 21, 0.1),
            rgba(250, 204, 21, 0.05));
    border-color: rgba(250, 204, 21, 0.2);
}

quick-reply-btn[data-topic="experience"]:hover {
    box-shadow:
        0 10px 30px rgba(250, 204, 21, 0.2),
        0 0 40px rgba(250, 204, 21, 0.15),
        inset 0 0 20px rgba(250, 204, 21, 0.1);
}

.quick-reply-btn[data-topic="skills"] {
    background: linear-gradient(135deg,
            rgba(249, 115, 22, 0.1),
            rgba(249, 115, 22, 0.05));
    border-color: rgba(249, 115, 22, 0.2);
}

.quick-reply-btn[data-topic="skills"]:hover {
    box-shadow:
        0 10px 30px rgba(249, 115, 22, 0.2),
        0 0 40px rgba(249, 115, 22, 0.15),
        inset 0 0 20px rgba(249, 115, 22, 0.1);
}

.quick-reply-btn[data-topic="projects"] {
    background: linear-gradient(135deg,
            rgba(20, 184, 166, 0.1),
            rgba(20, 184, 166, 0.05));
    border-color: rgba(20, 184, 166, 0.2);
}

.quick-reply-btn[data-topic="projects"]:hover {
    box-shadow:
        0 10px 30px rgba(20, 184, 166, 0.2),
        0 0 40px rgba(20, 184, 166, 0.15),
        inset 0 0 20px rgba(20, 184, 166, 0.1);
}

.quick-reply-btn[data-topic="contact"] {
    background: linear-gradient(135deg,
            rgba(168, 85, 247, 0.1),
            rgba(168, 85, 247, 0.05));
    border-color: rgba(168, 85, 247, 0.2);
}

.quick-reply-btn[data-topic="contact"]:hover {
    box-shadow:
        0 10px 30px rgba(168, 85, 247, 0.2),
        0 0 40px rgba(168, 85, 247, 0.15),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.quick-reply-btn[data-topic="cv"] {
    background: linear-gradient(135deg,
            rgba(239, 68, 68, 0.1),
            rgba(239, 68, 68, 0.05));
    border-color: rgba(239, 68, 68, 0.2);
}

.quick-reply-btn[data-topic="cv"]:hover {
    box-shadow:
        0 10px 30px rgba(239, 68, 68, 0.2),
        0 0 40px rgba(239, 68, 68, 0.15),
        inset 0 0 20px rgba(239, 68, 68, 0.1);
}

/* Icon styling */
.quick-reply-btn .icon {
    font-size: 18px;
    transition: all 0.4s ease;
    display: inline-flex;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.quick-reply-btn .text {
    position: relative;
    z-index: 2;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Special badge for CV button */
.premium-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.quick-reply-btn:hover {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.3);
    color: var(--primary);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Input Area */
.chat-input-wrapper {
    padding: 20px 24px;
    display: flex;
    gap: 12px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    border-radius: 0 0 24px 24px;
    /* Subtle shadow for layered effect */
    box-shadow:
        inset 0 1px 0 rgba(0, 0, 0, 0.2),
        0 -2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Tooltip on hover */
.quick-reply-btn .tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.quick-reply-btn .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.quick-reply-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Ripple effect */
@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    width: 100px;
    height: 100px;
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
}

/* Loading state animation */
.quick-reply-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.quick-reply-btn.loading .icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Success state */
.quick-reply-btn.success {
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.2),
            rgba(16, 185, 129, 0.1)) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.quick-reply-btn.success .icon {
    content: '✓';
    color: #10B981;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quick-replies {
        gap: 10px;
        padding: 0 var(--space-md) var(--space-sm);
    }

    .quick-reply-btn {
        font-size: 14px;
        padding: 12px 20px;
    }

    .quick-reply-btn .icon {
        font-size: 16px;
    }

    /* Stack buttons vertically on very small screens */
    @media (max-width: 480px) {
        .quick-replies {
            flex-direction: column;
            align-items: stretch;
        }

        .quick-reply-btn {
            width: 100%;
            justify-content: center;
        }
    }
}

.chat-input-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
}

.project-image {
    position: relative;
    height: 250px;
    background: #1a1a1a;
    overflow: hidden;
}

.project-image::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: rgba(250, 204, 21, 0.8);
    text-align: center;
}

.project-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(250, 204, 21, 0.03) 10px,
            rgba(250, 204, 21, 0.03) 20px);
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 0 rgba(250, 204, 21, 0);
}

.chat-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(250, 204, 21, 0.4);
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(250, 204, 21, 0.1),
        0 0 20px rgba(250, 204, 21, 0.1);
}

.chat-input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.chat-send {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(250, 204, 21, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}


/* Glass reflection effect */
.chat-send::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 50%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.chat-send:active {
    transform: translateY(0) scale(1);
}

.chat-send:hover {
    transform: var(--hover-lift);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.5);
}

.chat-send:hover::before {
    transform: rotate(45deg) translateY(100%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .chat-container {
        margin: var(--space-md) var(--space-sm);
    }

    .chat-container::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(105deg,
                transparent 40%,
                rgba(150, 255, 200, 0.015) 50%,
                transparent 60%);
        border-radius: 32px;
        pointer-events: none;
    }


    .chat-messages {
        height: 350px;
        padding: 16px;
    }
}

/* Project Modal Styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.active {
    opacity: 1;
}

.project-modal-content {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(15, 15, 15, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(250, 204, 21, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-modal.active .project-modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    margin: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-modal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--space-lg);
}

.project-card {
    display: flex;
    margin-bottom: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(250, 204, 21, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 40%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: var(--space-md);
    width: 60%;
}

.project-info h4 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

.project-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.project-tag {
    background: rgba(250, 204, 21, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.project-metrics {
    display: flex;
    gap: var(--space-md);
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--primary);
}

.metric-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
}

/* Footer */
/* ============================================
   BRILLIANT ENHANCED FOOTER
   ============================================ */
.footer {
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
            var(--bg-primary) 0%,
            rgba(17, 20, 24, 0.95) 50%,
            var(--bg-primary) 100%);
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated Background Grid */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(250, 204, 21, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 204, 21, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-flow 20s linear infinite;
    opacity: 0.4;
}

@keyframes grid-flow {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

/* Floating Orbs Background */
.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(250, 204, 21, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
    animation: orb-float 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orb-float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-20px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(20px, -20px) rotate(240deg);
    }
}

.footer.glowing {
    animation: footer-glow-enhanced 2s ease;
}

@keyframes footer-glow-enhanced {
    0% {
        background: var(--bg-primary);
        transform: scale(1);
    }

    50% {
        background: radial-gradient(ellipse at center, rgba(250, 204, 21, 0.15), var(--bg-primary));
        transform: scale(1.01);
        box-shadow:
            0 0 60px rgba(250, 204, 21, 0.3),
            inset 0 0 60px rgba(250, 204, 21, 0.1);
    }

    100% {
        background: var(--bg-primary);
        transform: scale(1);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 400px 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* ENHANCED WORLD MAP SECTION */
.world-map-section h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.world-map-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: line-pulse 2s ease-in-out infinite;
}

.world-map::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(
            /* North America */
            15% 35%, 18% 30%, 22% 28%, 25% 25%, 28% 28%, 30% 32%, 32% 38%, 30% 42%, 28% 45%, 25% 48%, 22% 50%, 18% 48%, 15% 45%, 13% 40%,
            /* South America */
            25% 55%, 27% 58%, 28% 65%, 27% 72%, 25% 78%, 23% 75%, 22% 68%, 23% 60%,
            /* Africa */
            45% 40%, 48% 35%, 50% 38%, 52% 45%, 51% 55%, 48% 65%, 45% 68%, 43% 65%, 42% 55%, 43% 45%,
            /* Europe */
            45% 25%, 48% 22%, 52% 20%, 55% 22%, 53% 28%, 50% 30%, 47% 28%,
            /* Asia */
            55% 25%, 65% 20%, 75% 22%, 80% 28%, 82% 35%, 78% 40%, 70% 38%, 65% 35%, 60% 32%,
            /* Australia */
            75% 65%, 80% 62%, 82% 68%, 78% 70%);
}

@keyframes line-pulse {

    0%,
    100% {
        width: 60px;
        opacity: 0.8;
    }

    50% {
        width: 80px;
        opacity: 1;
    }
}

/* Enhanced World Map Container */
.world-map {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 240px;
    background:
        radial-gradient(ellipse at center, rgba(20, 184, 166, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    transition: var(--transition-slow);
    cursor: pointer;
}

.world-map:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.2);
}

/* Animated Connection Lines */
.connection-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: data-flow 4s ease-in-out infinite;
    opacity: 0.6;
}

.connection-line:nth-child(1) {
    top: 30%;
    left: 20%;
    width: 60%;
    animation-delay: 0s;
}

.connection-line:nth-child(2) {
    top: 50%;
    left: 15%;
    width: 70%;
    animation-delay: 1s;
}

.connection-line:nth-child(3) {
    top: 70%;
    left: 25%;
    width: 50%;
    animation-delay: 2s;
}

@keyframes data-flow {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scaleX(1.1);
        filter: brightness(1.5);
    }
}

.map-svg {
    width: 100%;
    height: 100%;
    opacity: 0.15;
    filter: blur(0.5px);
}

/* Enhanced Location Dots */
.location-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 10;
}

.location-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse-ring 2s ease-in-out infinite;
}

.location-dot::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: white;
    opacity: 0.9;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.location-dot.asia {
    top: 35%;
    right: 20%;
    background: var(--primary);
    animation-delay: 0s;
}

.location-dot.europe {
    top: 25%;
    left: 40%;
    background: var(--secondary);
    animation-delay: 0.7s;
}

.location-dot.americas {
    top: 40%;
    left: 15%;
    background: var(--accent);
    animation-delay: 1.4s;
}

.location-dot:hover {
    transform: scale(1.4);
    z-index: 20;
}

.location-dot:hover .location-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.location-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--primary);
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-base);
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

/* ENHANCED BLOG SECTION */
.footer-section h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.footer-section h3::before {
    content: '{ ';
    color: var(--accent);
    opacity: 0.6;
    font-family: var(--font-mono);
}

.footer-section h3::after {
    content: ' }';
    color: var(--accent);
    opacity: 0.6;
    font-family: var(--font-mono);
}

.blog-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.blog-links li {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: var(--transition-base);
}

.blog-links li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.blog-links li:hover::before {
    transform: scaleY(1);
}

.blog-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    position: relative;
    font-weight: 400;
}

.blog-links a::before {
    content: '→';
    color: var(--primary);
    font-weight: bold;
    transition: var(--transition-base);
    opacity: 0.7;
}

.blog-links a:hover {
    color: var(--primary);
    background: rgba(250, 204, 21, 0.05);
    transform: translateX(12px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.15);
}

.blog-links a:hover::before {
    transform: translateX(4px);
    opacity: 1;
}

/* ENHANCED CONNECT SECTION */
.connect-section {
    position: relative;
}

.connect-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    justify-content: center;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.social-link {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.social-link:hover {
    transform: translateY(-8px) rotate(5deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(250, 204, 21, 0.3);
    border-color: var(--primary);
}

.social-link:hover svg {
    color: var(--dark);
    transform: scale(1.1);
}

/* ENHANCED BOTTOM SECTION */
.footer-bottom {
    text-align: center;
    margin-top: calc(var(--space-xl) * 1.5);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: line-glow 3s ease-in-out infinite;
}

@keyframes line-glow {

    0%,
    100% {
        opacity: 0.5;
        width: 100px;
    }

    50% {
        opacity: 1;
        width: 200px;
    }
}

.company-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-base);
}

.company-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.company-logo {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #00BCF2, #0078D4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    color: white;
}

.currently-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.company-icon {
    font-size: 32px;
    color: #0078D4;
    margin-top: 8px;
    display: inline-flex;
    padding: 10px;
    position: relative;
    border-radius: 10px;
    /* Glassy border */
    border: 1px solid rgba(0, 120, 212, 0.3);
    background: rgba(0, 120, 212, 0.05);
    /* Glassy shine */
    box-shadow:
        0 0 20px rgba(0, 120, 212, 0.2),
        inset 0 0 10px rgba(0, 120, 212, 0.1);
    /* Smooth transitions */
    transition: all 0.3s ease;
}

/* Shine effect on hover */
.company-icon:hover {
    border-color: rgba(0, 120, 212, 0.5);
    box-shadow:
        0 0 30px rgba(0, 120, 212, 0.4),
        inset 0 0 15px rgba(0, 120, 212, 0.15);
    transform: scale(1.05);
}

/* Optional: Animated border glow */
.company-icon {
    background-image: linear-gradient(135deg,
            transparent 25%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 75%);
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -100% -100%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.copyright {
    color: var(--text-muted);
    margin-top: var(--space-md);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Chat Maximize Animation Styles */
.chat-container.minimized {
    transform: scale(0.85);
    opacity: 0.7;
    filter: blur(1px);
    transition: all 0.6s cubic-bezier(0.17, 0.67, 0.3, 0.96);
}

.chat-container.maximized {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
}

.chat-container.minimized::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(250, 204, 21, 0.5);
    border-radius: 4px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.chat-container.maximized::before {
    opacity: 0;
}

.chat-container.minimized .chat-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Radar Globe with Continents Styles */
.radar-globe-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.radar-container {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    max-width: 1600px;
    opacity: 0.2;
}

.radar-svg {
    width: 100%;
    height: 100%;
}

.radar-circle {
    fill: none;
    stroke: rgba(20, 184, 166, 0.3);
    stroke-width: 1;
}

.continent-shape {
    fill: rgba(20, 184, 166, 0.15);
    stroke: rgba(20, 184, 166, 0.3);
    stroke-width: 0.5;
    filter: blur(2px);
}

.grid-line {
    fill: none;
    stroke: rgba(20, 184, 166, 0.15);
    stroke-width: 0.5;
}

.radar-sweep {
    fill: none;
    stroke: rgba(250, 204, 21, 0.6);
    stroke-width: 2;
    transform-origin: 500px 800px;
    animation: sweep 12s linear infinite;
}

@keyframes sweep {
    0% {
        transform: rotate(-30deg);
        opacity: 0.8;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: rotate(30deg);
        opacity: 0.8;
    }
}

.radar-spot {
    fill: rgba(249, 115, 22, 0.8);
    stroke: rgba(250, 204, 21, 0.4);
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
    opacity: 0;
}

.radar-sweep:hover+.continent-shape {
    fill: rgba(20, 184, 166, 0.25);
    transition: fill 0.3s ease;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
            rgba(10, 10, 10, 0) 0%,
            rgba(10, 10, 10, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Site-Wide Glow Effect Styles */
body[data-sound="on"] {
    --glow-color: rgba(250, 204, 21, 0.15);
    --glow-accent-color: rgba(250, 204, 21, 0.3);
    --glow-pulse-duration: 4s;

    background-image: radial-gradient(circle at 50% 50%,
            rgba(250, 204, 21, 0.05) 0%,
            rgba(0, 0, 0, 0) 70%);

    box-shadow: inset 0 0 100px var(--glow-color);
    transition: background-image 1.2s ease, box-shadow 1.2s ease;
}

.site-glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 1.2s ease;
    mix-blend-mode: screen;
    background: radial-gradient(circle at 50% 50%,
            rgba(250, 204, 21, 0.1) 0%,
            rgba(250, 204, 21, 0.05) 30%,
            rgba(0, 0, 0, 0) 70%);
}

body[data-sound="on"] .site-glow-overlay {
    opacity: 1;
    animation: ambient-pulse var(--glow-pulse-duration) infinite alternate ease-in-out;
}

@keyframes ambient-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

body[data-sound="on"] section {
    box-shadow: inset 0 0 60px var(--glow-color);
    transition: box-shadow 1.2s ease;
}

body[data-sound="on"] .hero,
body[data-sound="on"] .chat-container,
body[data-sound="on"] .footer,
body[data-sound="on"] .testimonial-card,
body[data-sound="on"] .location-card,
body[data-sound="on"] .timeline-container,
body[data-sound="on"] .stat-item {
    box-shadow: 0 0 20px var(--glow-color);
    border-color: rgba(250, 204, 21, 0.2);
    transition: box-shadow 1.2s ease, border-color 1.2s ease;
}

body[data-sound="on"] .brand-name-subtle,
body[data-sound="on"] .stat-number,
body[data-sound="on"] .timeline-progress,
body[data-sound="on"] .nav-item.active,
body[data-sound="on"] .cta-primary,
body[data-sound="on"] .main-headline .line-2,
body[data-sound="on"] .tech-item:hover {
    text-shadow: 0 0 10px var(--glow-accent-color);
    filter: brightness(1.1);
    transition: text-shadow 0.8s ease, filter 0.8s ease;
}

body[data-sound="on"] .brand-name-subtle,
body[data-sound="on"] .main-headline .line-2,
body[data-sound="on"] .cta-primary,
body[data-sound="on"] .timeline-progress,
body[data-sound="on"] .radar-sweep {
    animation: pulse-animation var(--glow-pulse-duration) infinite alternate ease-in-out;
}

@keyframes pulse-animation {

    0%,
    100% {
        filter: brightness(1);
        text-shadow: 0 0 5px var(--glow-color);
    }

    50% {
        filter: brightness(1.2);
        text-shadow: 0 0 15px var(--glow-accent-color);
    }
}

body[data-sound="on"] .radar-globe-background {
    opacity: 0.3;
    transition: opacity 1.2s ease;
}

body[data-sound="on"] .radar-sweep {
    filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.8));
    transition: filter 1.2s ease;
}

body[data-sound="on"] .radar-spot {
    filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.9));
    transition: filter 1.2s ease;
}

body[data-sound="on"] .continent-shape {
    fill: rgba(20, 184, 166, 0.2);
    stroke: rgba(20, 184, 166, 0.4);
    transition: fill 1.2s ease, stroke 1.2s ease;
}

/* Sound toggle styles */
.sound-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    overflow: hidden;
}

.sound-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
    border-color: rgba(250, 204, 21, 0.3);
}

.sound-toggle.active {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.4);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
    animation: toggle-pulse 4s infinite alternate ease-in-out;
}

@keyframes toggle-pulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(250, 204, 21, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(250, 204, 21, 0.6);
    }
}

.sound-toggle.muted {
    opacity: 0.7;
}

/* Equalizer Bars */
.equalizer-bars {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.equalizer-bar {
    width: 3px;
    background: linear-gradient(to top, #FACC15, #F97316);
    border-radius: 1px;
    transform-origin: bottom;
}

.equalizer-bar:nth-child(1) {
    height: 5px;
    animation: eq1 0.8s infinite alternate;
}

.equalizer-bar:nth-child(2) {
    height: 10px;
    animation: eq2 1s infinite alternate;
}

.equalizer-bar:nth-child(3) {
    height: 7px;
    animation: eq3 0.6s infinite alternate;
}

.equalizer-bar:nth-child(4) {
    height: 12px;
    animation: eq4 1.2s infinite alternate;
}

.sound-toggle.active .equalizer-bars {
    opacity: 1;
}

@keyframes eq1 {
    0% {
        height: 5px;
    }

    100% {
        height: 10px;
    }
}

@keyframes eq2 {
    0% {
        height: 10px;
    }

    100% {
        height: 6px;
    }
}

@keyframes eq3 {
    0% {
        height: 7px;
    }

    100% {
        height: 14px;
    }
}

@keyframes eq4 {
    0% {
        height: 12px;
    }

    100% {
        height: 5px;
    }
}

.sound-icon {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.sound-toggle.active .sound-icon {
    transform: translateX(-50%) translateY(-3px);
    color: #FACC15;
    filter: drop-shadow(0 0 5px rgba(250, 204, 21, 0.5));
}

.sound-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(250, 204, 21, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: all 0s;
}

/* Smaller Brand Name */
.brand-name-subtle.smaller {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 500;
    letter-spacing: 0.2em;

}

/* Static Word (Replacing Dynamic Word) */
.static-word {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Adjustments for headline section without typewriter */
.headline-section .line-1 {
    display: block;
    margin-bottom: 0.2rem;
}

/* Achievement Popup */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.achievement-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.achievement-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.popup-title {
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.achievement-list {
    list-style: none;
}

.achievement-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #14B8A6;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .locations-track {
        justify-content: center;
    }

    .location-card {
        flex: 1 1 calc(50% - 10px);
        max-width: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .world-map-section {
        grid-column: 1 / -1;
        text-align: center;
    }

    .world-map {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    #home {
        padding-bottom: 100px;
    }

    #about,
    #experience {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .terminal-header {
        padding: 16px;
    }

    .terminal-content {
        font-size: 12px;
    }

    .message-content {
        font-size: var(--text-sm);
        padding: var(--space-xs) var(--space-sm);
    }

    .message-action {
        font-size: var(--text-xs);
        padding: 6px 12px;
    }

    .chat-messages {
        height: 350px;
        padding: var(--space-md);
    }

    .card-header {
        flex-direction: column;
        gap: 12px;
    }

    .period-badge {
        align-self: flex-start;
    }

    .achievement-item {
        font-size: 13px;
    }

    .role-title {
        font-size: 18px;
    }

    .detail-modal {
        padding: 10px;
    }

    .detail-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
    }

    .locations-track {
        flex-direction: column;
        align-items: center;
        padding: 40px 10px 20px;
    }

    .location-card {
        flex: 1 1 auto;
        width: 100%;
        max-width: 400px;
    }

    .brand-name-subtle.smaller {
        font-size: clamp(0.8rem, 4vw, 1rem);
    }

    .static-word {
        display: inline;
    }

    .chat-container {
        margin: var(--space-md) var(--space-sm);
    }

    .chat-messages {
        height: 350px;
        padding: var(--space-md);
    }

    .chat-messages {
        height: 350px;
        padding: var(--space-md);
    }

    .project-card {
        flex-direction: column;
    }

    .project-image,
    .project-info {
        width: 100%;
    }

    .project-image {
        height: 200px;
    }

    .project-metrics {
        flex-wrap: wrap;
    }

    .metric {
        width: 100%;
        margin-bottom: var(--space-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }

    .world-map {
        margin: 0 auto;
        max-width: 320px;
        height: 200px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Modern Timeline Styles */
.timeline-container {
    position: relative;
    margin: 3rem 0;
}

.timeline-track {
    position: relative;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--secondary));
    border-radius: 2px;
}

.timeline-marker {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.years-markers {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -20px;
}

.year-mark {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.year-line {
    height: 16px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 8px;
}

.year-mark.active {
    opacity: 1;
    color: #FACC15;
    transform: scale(1.1);
}

/* Main content layout */
.content-container {
    display: flex;
    gap: 2rem;
}

.position-nav {
    width: 35%;
}

.position-details {
    width: 65%;
    border: 0.5px solid rgba(170, 183, 184, 0.2);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1d23, rgba(44, 62, 80, 0.15));
    position: relative;
    transform-style: preserve-3d;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 30px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.5s ease;

    /* Refined tilt with added vertical offset */
    transform: translateY(-30px) translateZ(20px) rotateY(-2deg);
}


/* Add subtle glow on active state (when content is being viewed) */
.position-details:focus-within {
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 40px 80px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.08),
        0 0 30px rgba(250, 204, 21, 0.1);
    /* Subtle yellow glow from your theme */
}

/* Position navigation */
.section-title-small {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.position-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);

}

.position-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.position-card.active {
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.company-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.nokia-logo {
    background: #124191;
}

.roche-logo {
    background: #1B9FFF;
}

.microsoft-logo {
    background: linear-gradient(45deg, #00BCF2, #0078D4);
}

.position-info {
    flex: 1;
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.role-title {
    font-weight: 500;
    color: var(--text-primary);
}

.period-badge {
    font-size: 12px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
}

.location {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.special-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 2px 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    color: #C084FC;
    font-size: 12px;
}

/* Position details */
.company-details {
    background: rgba(0, 0, 0, 0.2);
    /* Very subtle */
    border-radius: 16px;
    padding: 20px;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-logo-lg {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.company-highlight {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.75rem 1rem;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Achievement cards */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px;
    position: relative;
    z-index: 10;

    /* Pop out with its own shadow */
    transform: translateY(-15px) translateZ(50px);
    transform-style: preserve-3d;
}

@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    height: 100%;

    /* Thick, glossy, DEEP black shadow */
    box-shadow:
        /* Glossy highlight layer */
        inset 0 1px 1px rgba(255, 255, 255, 0.1),

        /* Deep black layers - progressively larger and more intense */
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.7),
        0 16px 32px rgba(0, 0, 0, 0.6),
        0 24px 48px rgba(0, 0, 0, 0.5),
        0 32px 64px rgba(0, 0, 0, 0.4),
        0 40px 80px rgba(0, 0, 0, 0.3),
        0 48px 96px rgba(0, 0, 0, 0.2),

        /* Extra thick bottom shadow for depth */
        0 60px 120px rgba(0, 0, 0, 0.4),
        0 80px 160px rgba(0, 0, 0, 0.3);

    transform: translateY(-10px);

    /* Rich black gradient with glossy finish */
    background:
        linear-gradient(135deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(10, 10, 10, 0.9) 50%,
            rgba(5, 5, 5, 0.95) 100%),
        radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.05),
            transparent 50%);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: inline-block;

    /* Icon glow effect */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.achievement-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tech stack */
.tech-stack-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.3);
    color: var(--primary);
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {

    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.stat-circle {
    width: 80px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(250, 204, 21, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
}

.ai-impact {
    grid-column: span 2;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.1), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
}

.impact-title {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.impact-text {
    color: var(--text-secondary);
}

/* Utility */
.hidden {
    display: none;
}

/* Medium screens */
@media (max-width: 992px) {
    .content-container {
        gap: 1.5rem;
    }

    .position-nav {
        width: 40%;
    }

    .position-details {
        width: 60%;
    }

    .achievement-card {
        padding: 0.75rem;
    }

    .achievement-desc {
        font-size: 13px;
    }
}

/* Small screens */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }

    .position-nav,
    .position-details {
        width: 100%;
    }

    .position-nav {
        margin-bottom: 1.5rem;
    }

    /* Make position cards work better on mobile */
    .position-card {
        padding: 0.75rem;
    }

    .role-title {
        font-size: 15px;
    }

    .location {
        font-size: 13px;
    }

    /* Fix tab navigation on mobile */
    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        /* Prevent cut-off */
    }

    .tab {
        padding: 0.75rem 0.75rem;
        white-space: nowrap;
    }

    /* Adjust grid layouts for mobile */
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.position-info {
    position: relative;
    flex: 1;
}

.special-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 4px 10px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    color: #C084FC;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    /* Changed from absolute to relative */
    bottom: auto;
    /* Reset the bottom position */
    left: auto;
    /* Reset the left position */
    transition: all 0.3s ease;
}

/* Simple enhancement for current position - just a subtle highlight */
.position-card[data-company="microsoft"] {
    background: rgba(255, 255, 255, 0.04);
    /* Slightly brighter background */
    border-left: 4px solid var(--primary);
    /* Keep the active gold border */
}

/* Make the "2017-Present" badge stand out a bit more */
.position-card[data-company="microsoft"] .period-badge {
    background: rgba(250, 204, 21, 0.15);
    border-color: rgba(250, 204, 21, 0.3);
    color: #FACC15;
    font-weight: 600;
}

/* Keep the green dot for "Present" status */
.position-card[data-company="microsoft"] .period-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
}

/* CSS for alternative Microsoft client logos */
.client-logo.microsoft-enterprise {
    background: linear-gradient(135deg, #0078D4, #00BCF2);
    font-size: 24px;
}

.client-logo.microsoft-healthcare {
    background: linear-gradient(135deg, #00A4EF, #7FBA00);
    font-size: 24px;
}

.client-logo.microsoft-finance {
    background: linear-gradient(135deg, #FFB900, #FF8C00);
    font-size: 24px;
}

.client-logo.microsoft-retail {
    background: linear-gradient(135deg, #E81123, #EA4B8B);
    font-size: 24px;
}

.client-logo.microsoft-manufacturing {
    background: linear-gradient(135deg, #5C2D91, #B146C2);
    font-size: 24px;
}

.client-logo.microsoft-government {
    background: linear-gradient(135deg, #737373, #999999);
    font-size: 24px;
}

/* Ensure proper grid layout for Microsoft */
#microsoft-clients .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

#microsoft-clients .client-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #0c0c0c, #0f0f0f);
    border: 1px solid rgba(20, 184, 166, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

#microsoft-details .company-logo-lg.microsoft-logo::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(20, 184, 166, 0.1) 50%,
            transparent 100%);
    transform: rotate(45deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        top: -100%;
        left: -100%;
    }

    20%,
    100% {
        top: 100%;
        left: 100%;
    }
}

#microsoft-details .company-logo-lg.microsoft-logo {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#microsoft-details .company-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(20, 184, 166, 0.3) 50%,
            transparent 100%);
}

#microsoft-clients .client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.15);
}

#microsoft-details {
    background: linear-gradient(145deg, #0a0a0a, #101010);
    border-radius: 24px;
    padding: 36px;
    position: relative;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}


#microsoft-details .company-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.company-logo-lg.microsoft-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0078d4, #00bcf2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 120, 212, 0.3);
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tab.active {
    background: rgba(0, 120, 212, 0.1);
    border-color: rgba(0, 120, 212, 0.3);
    color: white;
}

#microsoft-achievements .achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.03),
            transparent);
    transition: left 0.6s ease;
}

.achievement-card:hover::before {
    left: 100%;
    ;
}



#microsoft-stats .stat-circle {
    width: 100px;
    height: 100px;
    /* background: linear-gradient(135deg, #0078d4, #00bcf2); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    /* box-shadow: 
    0 10px 30px rgba(0, 120, 212, 0.4),
    0 20px 60px rgba(0, 0, 0, 0.3); */
}

/* Enhanced styling for all client cards */

/* Better client card styling with subtle effects */
.client-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient border effect on hover */
.client-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg,
            transparent,
            rgba(250, 204, 21, 0.3),
            transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover::before {
    opacity: 1;
}

.client-card:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.02));
    transform: translateY(-3px);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced client logo styling */
.client-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.client-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2),
            transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover .client-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.client-card:hover .client-logo::after {
    opacity: 1;
}

.client-logo.juniper {
    background: linear-gradient(135deg, #84B135, #006749);
    box-shadow: 0 4px 12px rgba(132, 177, 53, 0.3);
}

.client-logo.vodafone {
    background: linear-gradient(135deg, #E60000, #C70000);
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.3);
}

.client-logo.orange {
    background: linear-gradient(135deg, #FF6600, #E55100);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.client-logo.dt {
    background: linear-gradient(135deg, #E20074, #B8005C);
    box-shadow: 0 4px 12px rgba(226, 0, 116, 0.3);
}

.client-logo.roche-diag {
    background: linear-gradient(135deg, #0066CC, #004499);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.client-logo.gm {
    background: linear-gradient(135deg, #003D7A, #002856);
    box-shadow: 0 4px 12px rgba(0, 61, 122, 0.3);
}

.client-logo.sap {
    background: linear-gradient(135deg, #008FD3, #006BA6);
    box-shadow: 0 4px 12px rgba(0, 143, 211, 0.3);
}

/* Enhanced client info styling */
.client-info {
    flex: 1;
}

.client-info h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    letter-spacing: -0.2px;
}

.client-card:hover .client-info h4 {
    color: var(--primary);
}

.client-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.client-card:hover .client-info p {
    color: rgba(255, 255, 255, 0.8);
}

/* Add subtle animation for the cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.client-card:nth-child(1) {
    animation-delay: 0.1s;
}

.client-card:nth-child(2) {
    animation-delay: 0.2s;
}

.client-card:nth-child(3) {
    animation-delay: 0.3s;
}

.client-card:nth-child(4) {
    animation-delay: 0.4s;
}

.client-card:nth-child(5) {
    animation-delay: 0.5s;
}

.client-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Ensure consistent spacing across all client tabs */
#nokia-clients .tech-stack-title,
#roche-clients .tech-stack-title,
#microsoft-clients .tech-stack-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

/* Add a subtle underline to the title */
#nokia-clients .tech-stack-title::after,
#roche-clients .tech-stack-title::after,
#microsoft-clients .tech-stack-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .client-card {
        padding: 1rem;
    }

    .client-logo {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    .client-info h4 {
        font-size: 16px;
    }

    .client-info p {
        font-size: 13px;
    }
}

/* Enhanced Floating Icons for Chat Container */
.floating-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Individual Floating Icon */
.floating-icon {
    position: absolute;
    font-size: 24px;
    opacity: 0;
    filter: blur(0.5px);
    animation: floatUpward 20s linear infinite;
}

/* Different animation paths for variety */
@keyframes floatUpward {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Alternative floating animation */
.floating-icon.float-diagonal {
    animation: floatDiagonal 25s linear infinite;
}

@keyframes floatDiagonal {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.12;
    }

    90% {
        opacity: 0.12;
    }

    100% {
        transform: translate(200px, -100px) rotate(360deg);
        opacity: 0;
    }
}

/* Slower, subtler animation */
.floating-icon.float-slow {
    animation: floatSlow 30s linear infinite;
}

@keyframes floatSlow {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    50% {
        transform: translateY(50vh) translateX(50px) rotate(180deg) scale(1.2);
    }

    90% {
        opacity: 0.1;
    }

    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

/* Different sizes for depth */
.floating-icon.small {
    font-size: 16px;
    opacity: 0.08;
    filter: blur(1px);
}

.floating-icon.medium {
    font-size: 20px;
    opacity: 0.12;
}

.floating-icon.large {
    font-size: 28px;
    opacity: 0.15;
    filter: blur(0.3px);
}

/* Color variations */
.floating-icon.primary {
    color: #FACC15;
}

.floating-icon.secondary {
    color: #F97316;
}

.floating-icon.accent {
    color: #14B8A6;
}

.floating-icon.neutral {
    color: rgba(255, 255, 255, 0.5);
}




#microsoft-achievements .achievement-card {
    background: linear-gradient(145deg, #0c0c0c, #121212);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(20, 184, 166, 0.05);
    /* Subtle teal border */

    /* Refined shadow depth */
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.9),
        0 15px 25px rgba(0, 0, 0, 0.85),
        0 30px 60px rgba(0, 0, 0, 0.8);

    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Edge highlight effect */
#microsoft-achievements .achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(20, 184, 166, 0.2) 25%,
            rgba(20, 184, 166, 0.4) 50%,
            rgba(20, 184, 166, 0.2) 75%,
            transparent 100%);
    opacity: 0.7;
    transition: all 0.5s ease;
}

/* On hover - make the line glow slightly */
#microsoft-achievements .achievement-card:hover::before {
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(0, 120, 212, 0.5);
}

/* Bottom accent line */
#microsoft-achievements .achievement-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background: linear-gradient(to right,
            transparent 0%,
            #14B8A6 50%,
            transparent 100%);
    opacity: 0.3;
    transition: all 0.5s ease;
}

#microsoft-achievements .achievement-card:hover::before,
#microsoft-achievements .achievement-card:hover::after {
    opacity: 0.8;
}

#microsoft-achievements .achievement-icon {
    position: relative;
    z-index: 2;
    font-size: 26px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #14B8A6, #0891B2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Make the whole grid float */
#microsoft-achievements .achievements-grid {
    transform: translateZ(100px);
    transform-style: preserve-3d;
}

/* Pure black gradient with slight variation */
#microsoft-achievements .achievement-card {
    background: linear-gradient(135deg,
            #000 0%,
            #0a0a0a 50%,
            #000 100%);
}

/* Clean Top Live Indicator */

.live-indicator {
    position: fixed;
    top: 30px;
    right: 120px;
    /* Adjust based on your nav position */
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 25px;
    z-index: 999;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Clean green dot */
.live-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* Text styling */
.live-text {
    font-size: 14px;
    font-weight: 500;
    color: #10B981;
    letter-spacing: 0.2px;
}

/* Subtle hover */
.live-indicator:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
    cursor: pointer;
}

/* Optional: Glow version for more prominence */
.live-indicator.glow {
    box-shadow:
        0 0 20px rgba(16, 185, 129, 0.2),
        inset 0 0 10px rgba(16, 185, 129, 0.05);
}

/* Alternative position - center top */
.live-indicator.center {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .live-indicator {
        top: 20px;
        right: 20px;
        padding: 6px 16px;
    }

    .live-text {
        font-size: 13px;
    }
}

/* Import the modern font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap');

/* Update your main headline styles */
.main-headline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: center;
    margin: 0;
}

/* Evolution path styling */
.evolution-path {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

/* Highlighted words (Code, Teams, Impact) */
.evolution-path .highlight {
    font-weight: 700;
    background: linear-gradient(135deg, #FACC15, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Arrow styling */
.arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8em;
    font-weight: 300;
    transition: all 0.3s ease;
}

/* Tagline below */
.evolution-tagline {
    display: block;
    font-size: clamp(1rem, 2.0vw, 1.5rem);
    font-weight: 200;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    letter-spacing: 0.05em;
}

/* Hover effect */
.evolution-path:hover .arrow {
    color: #FACC15;
    transform: scale(1.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .evolution-path {
        flex-direction: column;
        gap: 0.5rem;
    }

    .arrow {
        transform: rotate(90deg);
    }
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.6;
}

.role-badge-minimal .role-text {
    position: relative;
}

.role-badge-minimal .role-text:first-child::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, #FACC15, transparent);
}

/* Initial state - hide elements */
.evolution-path .highlight,
.evolution-path .arrow {
    opacity: 0;
    transform: translateY(30px);
}

/* Staggered fade-in animation */
.evolution-path .highlight:nth-child(1) {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.evolution-path .arrow:nth-child(2) {
    animation: fadeInArrow 0.6s ease forwards;
    animation-delay: 0.6s;
}

.evolution-path .highlight:nth-child(3) {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.9s;
}

.evolution-path .arrow:nth-child(4) {
    animation: fadeInArrow 0.6s ease forwards;
    animation-delay: 1.2s;
}

.evolution-path .highlight:nth-child(5) {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.5s;
}

/* Main fade-in animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(10px);
    }

    50% {
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Arrow animation - slide in from sides */
@keyframes fadeInArrow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* Tagline animation */
.evolution-tagline {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInTagline 0.8s ease forwards;
    animation-delay: 2s;
}

@keyframes fadeInTagline {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Subtle glow effect on complete */
@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(250, 204, 21, 0.8);
    }
}

.evolution-path .highlight {
    animation: fadeInUp 0.8s ease forwards, glowPulse 3s ease-in-out infinite;
    animation-delay: var(--delay), 2.5s;
}

/* Alternative Option 2: Draw-in Effect (if you want something different) */
.evolution-path-draw .highlight {
    position: relative;
    opacity: 0;
}

.evolution-path-draw .highlight::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary);
    animation: typewriter 1s steps(10) forwards;
    animation-delay: var(--delay);
}

@keyframes typewriter {
    to {
        width: 100%;
    }
}

/* Alternative Option 3: Particle Assembly (subtle version) */
.evolution-path-particles .highlight {
    position: relative;
    animation: assembleText 1.2s ease forwards;
    animation-delay: var(--delay);
}

@keyframes assembleText {
    0% {
        opacity: 0;
        filter: blur(20px);
        letter-spacing: 0.5em;
        transform: scale(1.5);
    }

    50% {
        opacity: 0.5;
        filter: blur(10px);
        letter-spacing: 0.2em;
    }

    100% {
        opacity: 1;
        filter: blur(0);
        letter-spacing: normal;
        transform: scale(1);
    }
}

/* Mobile optimization */
@media (max-width: 768px) {

    /* Faster animations on mobile */
    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(20px);
            filter: none;
            /* Remove blur on mobile for performance */
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/*This email, linkedin link is for default message when user enters some text that AI cant figures out*/
.email-link {
    color: #FFD700;
    /* Gold color to match your theme */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.email-link:hover {

    text-decoration: underline;
}

.linkedin-link {
    color: #0077B5;
    /* LinkedIn blue */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.linkedin-link:hover {
    color: #00a0dc;
    /* Lighter LinkedIn blue */
    text-decoration: underline;
}








/* 🎨 ENHANCED CHAT SYSTEM STYLES - CLEAN & PROFESSIONAL VERSION */

/* Enhanced message animations */
.message.animated-entry {
    animation: messageSlideIn 0.4s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AI Avatar - Subtle glow */
.ai-avatar-glow {
    position: relative;
}

.ai-avatar-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    opacity: 0.5;
}

/* Journey Visualization - Minimal */
.experience-visualization {
    margin: 1.5rem 0;
}

.journey-map {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 1rem 0;
}

.journey-map::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.journey-node {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.journey-node:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.journey-node.current {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.node-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Stats - Clean and simple */
.journey-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-bubble {
    text-align: center;
}

.stat-bubble .number {
    font-size: 2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}

.stat-bubble .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills - Minimalist approach */
.skills-universe {
    margin: 1.5rem 0;
}

.skill-galaxy {
    margin-bottom: 1.5rem;
}

.skill-galaxy h4 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.skill-planet,
.skill-star {
    display: inline-block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 0.6rem 1rem;
    margin: 0.3rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.skill-planet:hover,
.skill-star:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Project Cards - Clean design */
.project-showcase {
    margin: 1.5rem 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.project-metrics {
    display: flex;
    justify-content: space-around;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
    text-align: center;
}

.metric .value {
    display: block;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.metric .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Typing Indicator - Subtle */
.typing-indicator-enhanced {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typing-indicator-enhanced .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-indicator-enhanced .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator-enhanced .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    30% {
        transform: translateY(-10px);
        opacity: 0.6;
    }
}

.thinking-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.5rem;
}

/* Action Buttons - Minimal */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
}

/* Suggestions - Clean chips */
.suggestions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.suggestion-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-chip:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

/* Content Boxes - Subtle */
.insight-box,
.philosophy-quote {
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

.story-content {
    background: rgba(255, 255, 255, 0.01);
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Card - Professional */
.contact-card-animated {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.contact-option:hover {
    background: rgba(255, 255, 255, 0.03);
}

.contact-option a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-option a:hover {
    color: rgba(255, 255, 255, 1);
}


/* More specific selector to target the download button */
.message .cv-download-btn,
.cv-actions .cv-download-btn,
.cv-features+.cv-download-btn {
    display: inline-block;
    /* Ensure it's visible as a block element */
    background: rgba(250, 204, 21, 0.1);
    /* Using your theme yellow with transparency */
    border: 1px solid rgba(250, 204, 21, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    /* More rounded corners for distinction */
    color: rgba(250, 204, 21, 0.9);
    /* Brighter text color */
    text-decoration: none;
    /* Remove underline if it's an <a> tag */
    font-weight: 500;
    margin: 15px 0;
    transition: all 0.3s ease;
    text-align: center;
}

/* Fix hover state (you had :hover twice) */
.message .cv-download-btn:hover,
.cv-actions .cv-download-btn:hover,
.cv-features+.cv-download-btn:hover {
    background: rgba(250, 204, 21, 0.2);
    border-color: rgba(250, 204, 21, 0.5);
    color: rgba(250, 204, 21, 1);
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.15);
}

/* Add icon styling */
.cv-download-btn .icon {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Make it stand out more in dark themes */
@media (prefers-color-scheme: dark) {
    .cv-download-btn {
        background: rgba(250, 204, 21, 0.15);
    }
}

/* Leadership Grid - Minimal */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.leadership-pillar {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.leadership-pillar:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.leadership-pillar .icon {
    font-size: 1.5rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
    display: block;
}

/* Remove colorful elements */
.achievement-unlocked {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    margin-top: 1rem;
}

/* Smart Options - Clean */
.smart-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.option-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 1);
}

/* Message hover - Very subtle */
.message-content:hover {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 4px;
}

/* Follow-up styling */
.follow-up {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Remove all purple/colorful animations */
.ai-brain,
.neural-network,
.neuron {
    display: none;
    /* Or redesign with grayscale */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .journey-map {
        flex-direction: column;
        gap: 1rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .journey-stats {
        gap: 2rem;
    }

    .stat-bubble .number {
        font-size: 1.5rem;
    }
}


/* Exploration Guide */
.exploration-guide {
    margin: 1rem 0;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-card .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.highlight-card h4 {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.explore-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.explore-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.quick-facts {
    background: rgba(255, 255, 255, 0.01);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.quick-facts ul {
    list-style: none;
    padding: 0;
}

.quick-facts li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Opportunity Overview */
.opportunity-overview {
    margin: 1rem 0;
}

.availability-status {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid rgba(16, 185, 129, 0.5);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.value-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 4px;
}

.cta-email {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-email:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Learning Resources */
.learning-resources {
    margin: 1rem 0;
}

.lesson-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Collaboration Options */
.collaboration-options {
    margin: 1rem 0;
}

.collab-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.collab-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.collab-cta {
    display: inline-block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.collab-cta:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Interactive Timeline */
.interactive-timeline {
    margin: 1.5rem 0;
    padding: 1rem;
}

.timeline-path {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}

.timeline-path::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1));
}

.timeline-stop {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stop-marker {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.timeline-stop:hover .stop-marker {
    transform: scale(1.5);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.timeline-stop.current .stop-marker {
    background: rgba(16, 185, 129, 0.5);
    border-color: rgba(16, 185, 129, 0.8);
}

.stop-label {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.stop-label strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.stop-label span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Project Showcase Grid */
.project-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.showcase-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.learn-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.showcase-card:hover .learn-more {
    color: rgba(255, 255, 255, 0.8);
}

/* Highlighted section effect */
.highlighted-section {
    position: relative;
    animation: sectionHighlight 3s ease-out;
}

@keyframes sectionHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/*FULL SCREEN*/

.chat-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* Visual separator with gradient */
.control-btn.theme-toggle::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.2) 80%,
            transparent);
    pointer-events: none;
}

/* Control Button Base Styles */
.control-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.control-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Different styles for each button for subtle distinction */
.theme-toggle {
    background: rgba(255, 255, 255, 0.06);
}

.fullscreen-toggle {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.12);
}

/* When in fullscreen, make close button more prominent */
.chat-container.fullscreen .fullscreen-toggle {
    background: rgba(255, 100, 100, 0.1);
    border-color: rgba(255, 100, 100, 0.2);
}

.chat-container.fullscreen .fullscreen-toggle:hover {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.3);
}

/* Theme Toggle Specific */
.theme-toggle .theme-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(30deg);
}

/* Fullscreen Toggle Specific */
.fullscreen-toggle svg {
    transition: all 0.3s ease;
}

.fullscreen-toggle:hover svg {
    transform: scale(1.1);
}

/* Fullscreen Mode Styles */
.chat-container.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    z-index: 100000;
    animation: enterFullscreen 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes enterFullscreen {
    0% {
        transform: scale(0.92) translateY(20px);
        opacity: 0.7;
        filter: blur(2px);
    }

    50% {
        filter: blur(0);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Backdrop blur when fullscreen */
.chat-container.fullscreen::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: -1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Adjust chat messages height in fullscreen */
.chat-container.fullscreen .chat-messages {
    height: calc(100vh - 280px);
    /* Adjust based on header + input + quick replies */
    max-height: none;
}

/* Exit fullscreen animation - More elegant */
.chat-container.exiting-fullscreen {
    animation: exitFullscreen 0.6s cubic-bezier(0.6, 0, 0.4, 1);
}

@keyframes exitFullscreen {
    0% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    40% {
        transform: scale(1.02) translateY(-10px);
        opacity: 1;
    }

    100% {
        transform: scale(0.92) translateY(20px);
        opacity: 0.7;
        filter: blur(2px);
    }
}

/* Desktop specific styles */
@media (min-width: 769px) {
    .chat-controls {
        gap: 14px;
    }

    .control-btn {
        width: 38px;
        height: 38px;
    }

    .control-btn.theme-toggle::after {
        right: -8px;
        height: 24px;
    }
}

/* Mobile - Hide fullscreen button */
@media (max-width: 768px) {
    .fullscreen-toggle {
        display: none;
    }

    .control-btn.theme-toggle::after {
        display: none;
    }
}

/* Light theme adjustments */
.chat-container.light-theme .control-btn {
    background: rgba(0, 0, 0, 0.06);
    color: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
}

.chat-container.light-theme .control-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.chat-container.light-theme .control-btn.theme-toggle::after {
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 0, 0, 0.2) 20%,
            rgba(0, 0, 0, 0.2) 80%,
            transparent);
}

.chat-container.light-theme.fullscreen .fullscreen-toggle {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
}

/* Close icon rotation animation */
.close-icon {
    transition: transform 0.3s ease;
}

.fullscreen-toggle:hover .close-icon {
    transform: rotate(90deg);
}



/* final touches to globe*/
@keyframes rotateGlobe {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.radar-circle {
  transform-origin: 500px 800px; /* Match your circle's cx and cy values */
  animation: rotateGlobe 120s linear infinite; /* Very slow rotation - 2 minutes per cycle */
}

/* For grid lines rotation */
@keyframes rotateGrid {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Create a group for grid lines to rotate them together */
.grid-lines {
  transform-origin: 500px 800px; /* Match your circle's cx and cy values */
  animation: rotateGrid 180s linear infinite; /* Even slower rotation for grid - 3 minutes per cycle */
}