/* ==========================================================================
   Utkarsh Awasthi — Portfolio Website
   Premium Dark Theme with Cyan/Teal & Warm Gold Accents
   ========================================================================== */

/* ── CSS Variables & Design Tokens ── */
:root {
    /* Background & Surface */
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1420;
    --bg-tertiary: #141a2a;
    --bg-card: rgba(20, 26, 42, 0.65);
    --bg-card-hover: rgba(30, 38, 60, 0.75);
    --bg-glass: rgba(15, 20, 32, 0.6);

    /* Text */
    --text-primary: #e8eaf0;
    --text-secondary: #9ca3b4;
    --text-tertiary: #6b7280;
    --text-heading: #f1f3f8;

    /* Accent Colors */
    --accent-primary: #00d4aa;
    --accent-secondary: #00b894;
    --accent-tertiary: #6c5ce7;
    --accent-warm: #f0a500;
    --accent-warm-light: #ffc048;
    --accent-blue: #4fc3f7;
    --accent-pink: #f472b6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d4aa, #00b894, #6c5ce7);
    --gradient-accent: linear-gradient(135deg, #00d4aa, #4fc3f7);
    --gradient-warm: linear-gradient(135deg, #f0a500, #f472b6);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(108, 92, 231, 0.08));
    --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(108, 92, 231, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(240, 165, 0, 0.06) 0%, transparent 50%);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(0, 212, 170, 0.25);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 170, 0.15);
    --shadow-glow-accent: 0 0 60px rgba(108, 92, 231, 0.12);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    --container-padding: 0 24px;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.7s var(--ease-out-expo);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
}

::selection {
    background: rgba(0, 212, 170, 0.3);
    color: var(--text-heading);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ── Custom Cursor ── */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-outline {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(0, 212, 170, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-dot.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--accent-warm);
}

.cursor-outline.hovering {
    width: 56px;
    height: 56px;
    border-color: rgba(240, 165, 0, 0.3);
}

/* ── Loader ── */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: loadFill 1.8s var(--ease-out-expo) forwards;
}

@keyframes loadFill {
    to {
        width: 100%;
    }
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 32px;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-primary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 32px 60px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle var(--duration) var(--delay) infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    10% {
        opacity: 0.6;
        transform: scale(1);
    }

    90% {
        opacity: 0.2;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5);
    }
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.5);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(0, 212, 170, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.hero-greeting {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.hero-name {
    display: block;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.typing-text {
    color: var(--accent-warm);
    font-family: var(--font-mono);
    font-size: 1.1rem;
}

.typing-cursor {
    color: var(--accent-primary);
    animation: blink 1s step-end infinite;
    font-weight: 300;
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 24px rgba(0, 212, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 212, 170, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-accent);
}

.btn-secondary:hover {
    background: rgba(0, 212, 170, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-image-glow {
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.6;
    filter: blur(20px);
    animation: glowRotate 6s linear infinite;
}

@keyframes glowRotate {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.4;
    }
}

.hero-image-border {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(0, 212, 170, 0.3);
    z-index: 2;
    pointer-events: none;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-xl);
}

.hero-image-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(15, 20, 32, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-heading);
    animation: floatBadge 4s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

.fb-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
}

.badge-1 {
    top: 10%;
    right: -15%;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 30%;
    left: -18%;
    animation-delay: 1.3s;
}

.badge-3 {
    bottom: 8%;
    right: -10%;
    animation-delay: 2.6s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

.scroll-indicator span {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ── Section Styles ── */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    padding: 6px 18px;
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-full);
    background: rgba(0, 212, 170, 0.06);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-heading);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

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

.section-line {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 0 auto;
}

.section-subtitle {
    max-width: 580px;
    margin: 20px auto 0;
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── About Section ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.about-image-frame:hover .about-photo {
    transform: scale(1.05);
}

.about-image-shape {
    position: absolute;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-accent);
    z-index: -1;
}

.shape-1 {
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    opacity: 0.4;
}

.shape-2 {
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    border-color: rgba(108, 92, 231, 0.2);
    opacity: 0.3;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.aeb-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-primary);
    line-height: 1;
}

.aeb-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--bg-primary);
    text-align: center;
    line-height: 1.3;
    opacity: 0.8;
}

.about-content {
    padding: 10px 0;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.about-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.about-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.info-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.info-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.info-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ── Experience Section ── */
.experience {
    background: var(--bg-secondary);
}

.timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-tertiary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -48px;
    top: 24px;
}

.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--accent-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline-dot.active-dot {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.timeline-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
}

.timeline-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

.timeline-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.timeline-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-primary);
}

.timeline-badge.current {
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-primary);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.3);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 212, 170, 0);
    }
}

.timeline-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.tl-icon {
    width: 14px;
    height: 14px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.timeline-company {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 6px;
}

.timeline-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tag {
    font-size: 0.76rem;
    font-weight: 500;
    padding: 5px 14px;
    background: rgba(108, 92, 231, 0.12);
    color: var(--accent-tertiary);
    border-radius: var(--radius-full);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

/* ── Education Section ── */
.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.edu-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    overflow: hidden;
}

.edu-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.edu-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.edu-card:hover .edu-card-accent {
    opacity: 1;
}

.edu-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.edu-card-icon svg {
    width: 24px;
    height: 24px;
}

.edu-period {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-bottom: 12px;
}

.edu-icon {
    width: 14px;
    height: 14px;
}

.edu-degree {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
    line-height: 1.3;
}

.edu-institution {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 14px;
}

.edu-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.edu-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    background: rgba(240, 165, 0, 0.12);
    color: var(--accent-warm);
    border: 1px solid rgba(240, 165, 0, 0.2);
}

.edu-badge.completed {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-primary);
    border-color: rgba(0, 212, 170, 0.2);
}

/* ── Skills & Certifications ── */
.skills {
    background: var(--bg-secondary);
}

.skills-certifications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.subsection-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 32px;
}

.sub-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.skill-item {
    position: relative;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    transition: width 1.5s var(--ease-out-expo);
    position: relative;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    filter: blur(4px);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: default;
}

.cert-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateX(6px);
}

.cert-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-icon-wrapper.oracle {
    border-color: rgba(240, 165, 0, 0.3);
    background: rgba(240, 165, 0, 0.08);
}

.cert-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
}

.cert-icon-wrapper.oracle .cert-icon {
    color: var(--accent-warm);
}

.cert-details {
    flex: 1;
}

.cert-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 2px;
}

.cert-issuer {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.cert-link-icon {
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.cert-card:hover .cert-link-icon {
    color: var(--accent-primary);
}

/* ── Gallery Section ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-tall {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item-wide {
    grid-column: span 2;
    aspect-ratio: auto;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 23, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
}

.gallery-zoom-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10002;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 212, 170, 0.3);
    border-color: var(--accent-primary);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
    width: 24px;
    height: 24px;
}

/* ── Contact Section ── */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.contact-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateX(8px);
    box-shadow: var(--shadow-glow);
}

.contact-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-primary);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card-icon.linkedin-icon {
    background: rgba(0, 119, 181, 0.12);
    border-color: rgba(0, 119, 181, 0.3);
    color: #0077b5;
}

.contact-card-icon.location-icon {
    background: rgba(240, 165, 0, 0.1);
    border-color: rgba(240, 165, 0, 0.3);
    color: var(--accent-warm);
}

.contact-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 2px;
}

.contact-card-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    margin-left: auto;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.contact-card:hover .contact-arrow {
    color: var(--accent-primary);
    transform: translate(4px, -4px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-input:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.04);
    box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    margin-top: 8px;
}

/* ── Footer ── */
.footer {
    padding: 60px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-heading);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-tertiary);
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--border-accent);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.heart {
    color: #f472b6;
    animation: heartBeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.45);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ── Scroll Animations ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

/* ── Responsive Design ── */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: 300px;
        height: 360px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-col {
        max-width: 420px;
        margin: 0 auto;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .skills-certifications-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-tall {
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .navbar {
        padding: 12px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 14, 23, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 24px;
        border-left: 1px solid var(--border-subtle);
        transition: right var(--transition-base);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 20px 40px;
        min-height: auto;
    }

    .hero-name {
        font-size: 2.4rem;
    }

    .hero-image-wrapper {
        width: 250px;
        height: 300px;
    }

    .floating-badge {
        display: none;
    }

    .about-info-cards {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 36px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -36px;
    }

    .timeline-dot {
        width: 24px;
        height: 24px;
    }

    .timeline-card {
        padding: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Booglu AI Assistant Styles
   ========================================================================== */

/* FAB Button */
.booglu-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7, #00d4aa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booglu-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.5);
}

.booglu-fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
    animation: booglu-pulse 2s infinite;
}

@keyframes booglu-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.booglu-fab-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.booglu-icon-bot,
.booglu-icon-close {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.booglu-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.booglu-fab.active .booglu-icon-bot {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.booglu-fab.active .booglu-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.booglu-fab-label {
    position: absolute;
    right: 75px;
    padding: 8px 16px;
    background: white;
    color: #0a0a1a;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.booglu-fab:hover .booglu-fab-label {
    opacity: 1;
    transform: translateX(0);
}

/* Chat Window */
.booglu-chat {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    max-height: calc(100vh - 130px);
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.booglu-chat.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.booglu-chat-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 212, 170, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.booglu-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.booglu-avatar {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    overflow: hidden;
    border: 2px solid #6c5ce7;
}

.booglu-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booglu-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #00d4aa;
    border: 2px solid #0a0a1a;
    border-radius: 50%;
}

.booglu-header-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.booglu-status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.booglu-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.booglu-close:hover {
    color: white;
    transform: scale(1.1);
}

/* Messages Area */
.booglu-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.3) transparent;
}

.booglu-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.booglu-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.3);
    border-radius: 10px;
}

.booglu-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: message-in 0.3s ease forwards;
}

@keyframes message-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booglu-message-avatar {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid rgba(108, 92, 231, 0.5);
}

.booglu-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booglu-message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.booglu-bot {
    align-self: flex-start;
}

.booglu-bot .booglu-message-bubble {
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    border-bottom-left-radius: 4px;
}

.booglu-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.booglu-user .booglu-message-bubble {
    background: linear-gradient(135deg, #6c5ce7, #8e44ad);
    color: white;
    border-bottom-right-radius: 4px;
}

.booglu-bot-typing {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #6c5ce7;
    border-radius: 50%;
    animation: typing-dots 1s infinite alternate;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-dots {
    from {
        opacity: 0.3;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Quick Actions */
.booglu-quick-actions {
    padding: 0 20px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booglu-quick-btn {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #e0e0e0;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booglu-quick-btn:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: #6c5ce7;
    color: white;
}

/* Chat Input */
.booglu-chat-input {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
}

#boogluInput {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 12px 15px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

#boogluInput:focus {
    border-color: #6c5ce7;
    background: rgba(255, 255, 255, 0.08);
}

.booglu-send {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6c5ce7, #00d4aa);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.booglu-send:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.booglu-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .booglu-chat {
        right: 15px;
        left: 15px;
        width: auto !important;
        bottom: 90px;
        height: 500px;
    }

    .booglu-fab {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .booglu-fab-label {
        display: none;
    }
}