/* ====================
   Modern Dark Portfolio Theme
   Inspired by alche.studio aesthetic
   ==================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-elevated: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.35);

    --accent: #c9a96e;
    --accent-hover: #dfc596;
    --accent-dim: rgba(201, 169, 110, 0.15);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --success: #22c55e;
    --danger: #ef4444;
    --info: #3b82f6;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Selection */
::selection {
    background: var(--accent);
    color: #000;
}

/* Hide decorative elements from old design */
.magic-bg,
.floating-elements,
.floating-elements-small,
.floating-icon,
.floating-icon-small,
.cursor-trail {
    display: none !important;
}

/* ==================== 
   Container & Base
   ==================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 120px 0;
    position: relative;
    background: var(--bg-primary);
    opacity: 1;
    transform: translateY(0);
}

section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================
   Story Bridge Connectors
   ==================== */

.story-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    position: relative;
    background: var(--bg-primary);
    z-index: 1;
    overflow: hidden;
}

.story-bridge--dark {
    background: var(--bg-secondary);
}

.bridge-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    margin-bottom: 18px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.story-bridge.revealed .bridge-line {
    transform: scaleY(1);
}

.bridge-label {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.story-bridge.revealed .bridge-label {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .story-bridge {
        padding: 35px 0;
    }
    .bridge-line {
        height: 35px;
    }
}

/* ==================== 
   Section Titles
   ==================== */

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.1;
    text-align: left;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: none;
    animation: none;
    filter: none;
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--accent);
    margin: 24px 0 0 0;
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
}

.section-title.title-revealed::after {
    width: 60px;
}

/* shimmerGoldLine removed for clean look */

.section-subtitle {
    text-align: left;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
}

/* ==================== 
   Buttons
   ==================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-magic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--accent);
    box-shadow: none;
    animation: none;
    background-size: auto;
}

.btn-magic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    transform: none;
    animation: none;
}

.btn-magic:hover::before {
    left: 100%;
}

.btn-magic:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
    filter: none;
    background-position: initial;
}

.btn-magic i {
    font-size: 1rem;
    animation: none;
}

.magic-glow {
    display: none;
}

/* ==================== 
   Navigation
   ==================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition-fast);
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

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

/* ==================== 
   Hero Section
   ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--bg-primary);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-profile-image {
    margin-bottom: 40px;
}

.hero-profile-image img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.hero-profile-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 110, 0.08);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-title .highlight {
    /* Base fallback - overridden by STUNNING section animated gradient */
    color: #c9a96e;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-subtitle #rotatingTitle {
    color: var(--accent);
    font-weight: 600;
    display: inline-block;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-learning {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-down a {
    color: var(--text-muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.scroll-down a:hover {
    color: var(--accent);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== 
   About Section
   ==================== */

.about {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.about .section-title {
    margin-bottom: 16px;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.about-image {
    position: sticky;
    top: 120px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 280px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.about-image img:hover {
    border-color: var(--border-hover);
}

.about-role {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-image .btn-magic {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 12px 24px;
}

.about-text {
    max-width: 700px;
}

.about-highlight {
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
    border-top: none;
    border-right: none;
    border-bottom: none;
}

.about-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}

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

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

.about-achievements {
    margin: 30px 0;
    display: grid;
    gap: 16px;
}

.achievement-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 10px;
    border-left: 3px solid var(--accent);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    transition: var(--transition);
}

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

.achievement-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.achievement-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.achievement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.about-passion {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    font-size: 1rem;
    line-height: 1.8;
    border: 1px dashed var(--border-hover);
    color: var(--text-secondary);
}

.about-passion strong {
    color: var(--accent);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-info {
    margin: 30px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

/* ==================== 
   Experience Section
   ==================== */

.experience {
    background: var(--bg-secondary);
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: none;
}

.experience::before {
    display: none;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }

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

.timeline-marker {
    display: none;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-content:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.timeline-title-group {
    display: flex;
    align-items: center;
    gap: 18px;
}

.company-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.company-logo:hover {
    border-color: var(--border-hover);
}

.timeline-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.timeline-badge {
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: none;
    animation: none;
}

.timeline-badge.current {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.timeline-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.company {
    color: var(--accent) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.timeline-meta i {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.location, .duration {
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-achievements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-achievements li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 4px;
    transition: var(--transition);
}

.timeline-achievements li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 18px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transition: var(--transition);
}

.timeline-achievements li:hover {
    color: var(--text-primary);
}

.timeline-achievements li:hover::before {
    box-shadow: 0 0 8px rgba(201, 169, 110, 0.5);
    transform: none;
}

/* ==================== 
   Education Section
   ==================== */

.education {
    background: var(--bg-primary);
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: none;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.education-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.education-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.education-card:hover::before {
    opacity: 1;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.education-card:hover .education-icon {
    background: rgba(201, 169, 110, 0.25);
    transform: none;
}

.education-content h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.education-content h4 {
    font-size: 1.05rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
}

.university {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.college {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.education-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.education-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.education-meta .edu-gpa {
    color: var(--accent);
}

.education-meta i {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.education-awards {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.award-item i {
    color: var(--accent);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.education-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.education-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(201, 169, 110, 0.2);
    margin-top: 12px;
    transition: var(--transition);
}

.education-card:hover .education-badge {
    background: rgba(201, 169, 110, 0.25);
}

/* ==================== 
   Skills Section
   ==================== */

.skills {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.skills::before {
    display: none;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.skill-card {
    background: var(--bg-card);
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.05);
}

.skill-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.skill-bar {
    background: rgba(255, 255, 255, 0.05);
    height: 4px;
    border-radius: 4px;
    overflow: hidden;
    border: none;
}

.skill-progress {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
}

.skill-progress::after {
    display: none;
}

/* Skills Category Grid */
.skills-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.skill-category-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: none;
    box-shadow: none;
}

.skill-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-category-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.skill-category-card:hover::before {
    opacity: 1;
}

.skill-category-card h3 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-category-card h3 i {
    color: var(--accent);
    font-size: 1rem;
}

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

.skill-tag {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    white-space: nowrap;
}

.skill-tag:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateY(-1px);
    box-shadow: none;
}

/* ==================== 
   Certifications Section
   ==================== */

.certifications {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: none;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.cert-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-sm);
}

.cert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--accent-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.cert-card:hover .cert-icon {
    background: rgba(201, 169, 110, 0.25);
    transform: none;
}

.harness-icon {
    background: rgba(0, 170, 255, 0.1);
    color: #00AAFF !important;
    border-color: rgba(0, 170, 255, 0.2);
}

.ibm-icon {
    background: rgba(15, 98, 254, 0.1);
    color: #0F62FE !important;
    border-color: rgba(15, 98, 254, 0.2);
}

.sas-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6 !important;
    border-color: rgba(59, 130, 246, 0.2);
}

.cert-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.cert-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cert-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(201, 169, 110, 0.2);
    transition: var(--transition);
}

.cert-card:hover .cert-badge {
    background: rgba(201, 169, 110, 0.25);
}

/* ==================== 
   Projects Section
   ==================== */

.projects {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.projects::before {
    display: none;
}

.project-company-section {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    padding: 16px 24px;
    background: var(--bg-card);
    border-radius: 10px;
    border-left: 3px solid var(--accent);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent);
    transition: var(--transition);
    box-shadow: none;
    backdrop-filter: none;
}

.company-header:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    border-left-color: var(--accent);
    transform: none;
    box-shadow: none;
}

.company-logo-small {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.company-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0;
    animation: none;
}

.project-card::after {
    display: none;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card.featured {
    border: 1px solid rgba(201, 169, 110, 0.2);
    background: rgba(201, 169, 110, 0.03);
    box-shadow: none;
}

.project-card.featured::before {
    opacity: 1;
    background: var(--accent);
    height: 2px;
    animation: none;
}

.project-card.current {
    border: 1px solid rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.03);
    box-shadow: none;
}

.project-card.current::before {
    opacity: 1;
    background: var(--success);
    animation: none;
}

.project-badge {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border: 1px solid rgba(201, 169, 110, 0.2);
    box-shadow: none;
    animation: none;
}

.badge-current {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: none;
}

.project-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-dim);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.project-icon i {
    font-size: 1.4rem;
    color: var(--accent);
    transition: var(--transition);
}

.project-card:hover .project-icon {
    background: rgba(201, 169, 110, 0.2);
    transform: none;
    box-shadow: none;
    border-color: rgba(201, 169, 110, 0.3);
}

.project-card:hover .project-icon i {
    transform: none;
}

.project-info h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.project-info p strong {
    color: var(--accent);
    font-weight: 600;
}

.project-impact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.impact-item:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(201, 169, 110, 0.2);
    transform: none;
    box-shadow: none;
}

.impact-item i {
    color: var(--accent);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.impact-item:hover i {
    color: var(--accent);
}

.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: default;
}

.tag:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(201, 169, 110, 0.2);
    transform: none;
    box-shadow: none;
}

/* ==================== 
   Contact Section
   ==================== */

.contact {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.contact::before {
    display: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* CTA Card */
.contact-cta-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    backdrop-filter: none;
}

.contact-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    animation: none;
}

.cta-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--accent-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: none;
    animation: none;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.cta-rocket {
    font-size: 1.5rem;
    color: var(--accent);
    animation: none;
}

.cta-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.cta-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.quick-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.quick-contact-btn:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateX(4px);
    box-shadow: none;
}

.quick-contact-btn i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    color: var(--accent);
}

.quick-contact-btn span {
    font-weight: 600;
    font-size: 0.95rem;
}

.availability-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.08);
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--success);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    backdrop-filter: none;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font);
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
    transform: none;
}

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

.btn-send-message {
    background: var(--accent);
    color: #000;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.btn-send-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-send-message:hover::before {
    left: 100%;
}

.btn-send-message:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-send-message:active {
    transform: translateY(0);
}

.btn-send-message i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-send-message:hover i {
    transform: translateX(3px);
}

/* ==================== 
   Resume Section
   ==================== */

.resume-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    border-top: 1px solid var(--border-color);
}

.resume-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 60px;
}

.resume-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.resume-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 0;
}

.resume-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-md);
}

.resume-card:hover::before {
    opacity: 1;
}

.resume-card-primary .resume-card-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.resume-card-secondary .resume-card-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.resume-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.resume-card-content h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.resume-card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

.resume-card-meta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.resume-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    background: var(--accent-dim);
    padding: 4px 12px;
    border-radius: 6px;
}

.resume-card .btn-magic {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

/* ==================== 
   Footer
   ==================== */

.footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.footer .social-icon {
    width: 38px;
    height: 38px;
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-muted);
}

.footer .social-icon:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

/* ==================== 
   Chatbot
   ==================== */

.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 9999;
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.05);
}

.ai-assistant-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.assistant-avatar-3d {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: 4px;
}

.avatar-container {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
    animation: avatarFloat 3s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.avatar-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), rgba(201, 169, 110, 0.6));
    opacity: 0.3;
}

.avatar-face {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 1px solid var(--border-color);
}

.face-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-icon {
    font-size: 1.6rem;
    animation: none;
}

.avatar-shine {
    display: none;
}

.pulse-ring,
.pulse-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    animation: pulseExpand 2.5s ease-out infinite;
}

.pulse-ring-2 {
    animation-delay: 1.25s;
}

@keyframes pulseExpand {
    0% { width: 56px; height: 56px; opacity: 0.5; }
    100% { width: 80px; height: 80px; opacity: 0; }
}

.assistant-text-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: var(--bg-card);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.text-main {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.02em;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

.text-status {
    font-size: 0.6rem;
    color: var(--success);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.chatbot-toggle:hover .avatar-container {
    border-color: var(--accent);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-4px);
}

.chatbot-toggle:hover .assistant-text-3d {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.chatbot-toggle:active .avatar-container {
    transform: translateY(-2px);
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    transform: scale(0) translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.chatbot-container.active {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.chatbot-header {
    background: var(--bg-card);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

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

.chatbot-avatar {
    width: 42px;
    height: 42px;
    background: var(--accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    color: var(--accent);
    border: 1px solid rgba(201, 169, 110, 0.2);
    animation: none;
    box-shadow: none;
}

.chatbot-avatar i {
    animation: none;
}

.sparkle {
    display: none;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.status-dot-chat {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--bg-primary);
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: slideInMsg 0.3s ease;
}

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

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.bot-message .message-avatar {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(201, 169, 110, 0.2);
    animation: none;
}

.bot-message .message-avatar i {
    animation: none;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.message-content {
    max-width: 80%;
}

.message-content p {
    background: var(--bg-card);
    padding: 12px 16px;
    border-radius: 10px;
    margin: 0;
    border: 1px solid var(--border-color);
    line-height: 1.5;
    color: var(--text-secondary);
    font-size: 0.88rem;
    box-shadow: none;
}

.user-message .message-content p {
    background: var(--accent-dim);
    color: var(--text-primary);
    border-color: rgba(201, 169, 110, 0.2);
}

.quick-questions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.quick-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
    font-family: var(--font);
}

.quick-btn:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: rgba(201, 169, 110, 0.2);
    transform: translateX(3px);
}

.chatbot-input {
    padding: 14px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.88rem;
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.chatbot-input input::placeholder {
    color: var(--text-muted);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.1);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.chatbot-input button:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: 10px;
    width: fit-content;
    border: 1px solid var(--border-color);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: typingAnim 1.4s infinite;
}

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

@keyframes typingAnim {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-6px); }
}

/* Legacy chatbot styles - hide unused */
.girl-avatar,
.avatar-image,
.girl-head,
.girl-face,
.waving-hand,
.assistant-text,
.waving-girl,
.avatar-icon,
.wave-hand {
    display: none;
}

/* ==================== 
   Loading Screen
   ==================== */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

/* ---- CI/CD Pipeline Loader ---- */

.loader-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Floating ambient orbs */
.loader-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.loader-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: orbFloat 12s ease-in-out infinite, orbFadeIn 2s ease forwards;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,169,110,0.08), transparent 70%);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(91,155,213,0.06), transparent 70%);
    bottom: 20%;
    right: 10%;
    animation-delay: -4s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(168,85,247,0.05), transparent 70%);
    top: 50%;
    left: 55%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 15px) scale(0.95); }
    75% { transform: translate(15px, 25px) scale(1.02); }
}

@keyframes orbFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Scanlines overlay */
.loader-scanlines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.008) 2px,
        rgba(255,255,255,0.008) 4px
    );
}

.cicd {
    width: 100%;
    max-width: 960px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

.cicd.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Header */
.cicd-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

.cicd-head::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.cicd-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(201,169,110,0.04));
    border: 1px solid rgba(201,169,110,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(201,169,110,0.08), inset 0 1px 0 rgba(255,255,255,0.04);
    position: relative;
}

.cicd-logo::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(201,169,110,0.3), transparent);
    z-index: -1;
    opacity: 0.4;
    filter: blur(4px);
}

.cicd-logo i {
    font-size: 0.9rem;
    color: var(--accent);
    text-shadow: 0 0 8px rgba(201,169,110,0.3);
}

.cicd-name {
    display: block;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.02em;
}

.cicd-sub {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.56rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.cicd-run {
    color: var(--accent);
    opacity: 0.5;
}

.cicd-timer {
    margin-left: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.15);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

.cicd-badge {
    font-family: var(--font);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(201,169,110,0.18);
    color: var(--accent);
    background: rgba(201,169,110,0.04);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: badgePulse 2.5s ease infinite;
    position: relative;
    overflow: hidden;
}

.cicd-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.06), transparent);
    animation: badgeSweep 3s ease infinite;
}

@keyframes badgeSweep {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.08); }
    50% { box-shadow: 0 0 16px 4px rgba(201,169,110,0.06); }
}

.cicd-badge.passed {
    color: #28c840;
    border-color: rgba(40,200,64,0.3);
    background: rgba(40,200,64,0.06);
    animation: none;
    box-shadow: 0 0 16px rgba(40,200,64,0.1);
}

.cicd-badge.passed::before {
    display: none;
}

/* Pipeline Track */
.cicd-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.cicd-track::-webkit-scrollbar { display: none; }

/* Connector arrows */
.cicd-conn {
    display: flex;
    align-items: center;
    padding: 0 1px;
    color: rgba(255,255,255,0.05);
    font-size: 0.4rem;
    flex-shrink: 0;
    gap: 1px;
    transition: color 0.5s;
}

.conn-line {
    display: block;
    width: 10px;
    height: 1.5px;
    background: rgba(255,255,255,0.04);
    border-radius: 1px;
    transition: background 0.5s, box-shadow 0.5s;
}

.conn-dot {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    transition: background 0.5s, box-shadow 0.5s;
}

.cicd-conn.lit {
    color: rgba(40,200,64,0.5);
}

.cicd-conn.lit .conn-line {
    background: rgba(40,200,64,0.35);
    box-shadow: 0 0 8px rgba(40,200,64,0.2);
}

.cicd-conn.lit .conn-dot {
    background: #28c840;
    box-shadow: 0 0 6px rgba(40,200,64,0.4);
}

/* Active connector pulse */
.cicd-conn.active .conn-dot {
    background: var(--accent);
    box-shadow: 0 0 6px rgba(201,169,110,0.4);
    animation: connPulse 0.8s ease infinite;
}

.cicd-conn.active .conn-line {
    background: rgba(201,169,110,0.2);
}

@keyframes connPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.6); }
}

/* Stage block */
.cicd-stage {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.012);
    border: 1px solid rgba(255,255,255,0.035);
    border-radius: 12px;
    padding: 10px 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.5s, background 0.5s, box-shadow 0.5s, transform 0.3s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
}

/* Top accent line on stage */
.cicd-stage::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transition: background 0.4s;
}

.cicd-stage-wide {
    flex: 1.3;
}

.stage-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 4px;
}

.stage-num {
    font-family: 'Courier New', monospace;
    font-size: 0.5rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(255,255,255,0.035);
    color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-name {
    font-family: var(--font);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    transition: color 0.4s;
}

.stage-time {
    margin-left: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.46rem;
    color: rgba(255,255,255,0);
    transition: color 0.4s;
    font-variant-numeric: tabular-nums;
}

/* Active stage */
.cicd-stage.active {
    border-color: rgba(201,169,110,0.2);
    background: rgba(201,169,110,0.02);
    box-shadow:
        0 0 30px rgba(201,169,110,0.06),
        0 0 60px rgba(201,169,110,0.02),
        inset 0 0 30px rgba(201,169,110,0.015);
    transform: translateY(-1px);
}

.cicd-stage.active::before {
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.2), transparent);
}

.cicd-stage.active .stage-num {
    background: var(--accent);
    color: #0a0a0a;
    box-shadow: 0 0 12px rgba(201,169,110,0.3);
}

.cicd-stage.active .stage-name {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(201,169,110,0.2);
}

.cicd-stage.active .stage-time {
    color: rgba(255,255,255,0.18);
}

/* Done stage */
.cicd-stage.done {
    border-color: rgba(40,200,64,0.1);
    background: rgba(40,200,64,0.008);
    box-shadow: none;
    transform: translateY(0);
}

.cicd-stage.done::before {
    background: linear-gradient(90deg, transparent, rgba(40,200,64,0.1), transparent);
}

.cicd-stage.done .stage-num {
    background: rgba(40,200,64,0.12);
    color: #28c840;
    box-shadow: none;
}

.cicd-stage.done .stage-name {
    color: rgba(255,255,255,0.35);
    text-shadow: none;
}

.cicd-stage.done .stage-time {
    color: rgba(255,255,255,0.12);
}

/* Jobs */
.stage-jobs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stage-jobs-parallel {
    flex-direction: column;
}

.cicd-job {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Shimmer on running job */
.cicd-job.running::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.05), transparent);
    animation: jobShimmer 1.2s ease infinite;
}

@keyframes jobShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cicd-job .job-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s;
}

.cicd-job .job-icon i {
    font-size: 0.52rem;
    color: rgba(255,255,255,0.16);
    transition: color 0.4s, text-shadow 0.4s;
}

.cicd-job .job-label {
    font-family: var(--font);
    font-size: 0.55rem;
    font-weight: 500;
    color: rgba(255,255,255,0.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.4s;
}

.cicd-job .job-status {
    margin-left: auto;
    font-size: 0.48rem;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.3s, transform 0.4s;
    transform: scale(0.6) rotate(-90deg);
}

/* Job Running */
.cicd-job.running {
    border-color: rgba(201,169,110,0.15);
    background: rgba(201,169,110,0.018);
}

.cicd-job.running .job-icon {
    background: rgba(201,169,110,0.1);
    box-shadow: 0 0 8px rgba(201,169,110,0.1);
}

.cicd-job.running .job-icon i {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(201,169,110,0.4);
}

.cicd-job.running .job-label {
    color: rgba(255,255,255,0.72);
}

.cicd-job.running .job-status {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.job-spinner {
    width: 10px;
    height: 10px;
    border: 1.5px solid rgba(201,169,110,0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: cicdSpin 0.5s linear infinite;
}

@keyframes cicdSpin {
    to { transform: rotate(360deg); }
}

/* Job Done */
.cicd-job.passed {
    border-color: rgba(40,200,64,0.08);
    background: rgba(40,200,64,0.01);
}

.cicd-job.passed .job-icon {
    background: rgba(40,200,64,0.08);
    box-shadow: none;
}

.cicd-job.passed .job-icon i {
    color: #28c840;
    text-shadow: none;
}

.cicd-job.passed .job-label {
    color: rgba(255,255,255,0.38);
}

.cicd-job.passed .job-status {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #28c840;
}

/* Deploy stage accent */
.cicd-stage-deploy.done {
    border-color: rgba(201,169,110,0.18);
    background: rgba(201,169,110,0.015);
    box-shadow: 0 0 25px rgba(201,169,110,0.04);
}

.cicd-stage-deploy.done::before {
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.15), transparent);
}

.cicd-stage-deploy.done .stage-num {
    background: var(--accent);
    color: #0a0a0a;
    box-shadow: 0 0 10px rgba(201,169,110,0.2);
}

/* Footer */
.cicd-foot {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cicd-progress {
    height: 3px;
    background: rgba(255,255,255,0.025);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.cicd-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #d4af5a, #28c840);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.cicd-progress-glow {
    position: absolute;
    top: -3px;
    left: 0;
    width: 0%;
    height: 9px;
    background: linear-gradient(90deg, transparent 80%, rgba(201,169,110,0.3));
    filter: blur(4px);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.cicd-log {
    font-family: 'Courier New', monospace;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.02em;
    min-height: 16px;
    overflow: hidden;
}

.log-line {
    display: block;
    animation: logSlide 0.3s ease;
}

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

/* ---- Success Overlay ---- */
.cicd-success {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.cicd-success.show {
    opacity: 1;
}

.success-flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201,169,110,0.08), transparent 70%);
    opacity: 0;
    pointer-events: none;
}

.cicd-success.show .success-flash {
    animation: flashBurst 0.8s ease-out;
}

@keyframes flashBurst {
    0% { opacity: 1; transform: scale(0.5); }
    100% { opacity: 0; transform: scale(2); }
}

.success-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.success-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
}

.success-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0;
}

.success-ring-2 {
    border-color: #28c840;
    animation-delay: 0.12s !important;
}

.success-ring-3 {
    width: 60px;
    height: 60px;
    border-color: rgba(168,85,247,0.5);
    animation-delay: 0.25s !important;
}

.cicd-success.show .success-ring {
    animation: ringExpand 1.4s ease-out forwards;
}

@keyframes ringExpand {
    0%   { transform: scale(0.2); opacity: 0.8; }
    40%  { opacity: 0.4; }
    100% { transform: scale(6); opacity: 0; }
}

.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.12), rgba(201,169,110,0.03));
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0) rotate(-180deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 40px rgba(201,169,110,0.15), 0 0 80px rgba(201,169,110,0.05);
    position: relative;
}

.cicd-success.show .success-icon {
    transform: scale(1) rotate(0deg);
}

.success-icon i {
    font-size: 1.5rem;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(201,169,110,0.3);
}

.success-text {
    font-family: var(--font);
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    margin-top: 24px;
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s 0.3s, transform 0.5s 0.3s;
    text-shadow: 0 0 30px rgba(201,169,110,0.15);
}

.cicd-success.show .success-text {
    opacity: 1;
    transform: translateY(0);
}

.success-sub {
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.22);
    margin-top: 10px;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 0.5s 0.6s;
}

.cicd-success.show .success-sub {
    opacity: 1;
}

/* Final wipe transition */
.loader.cicd-wipe {
    animation: cicdWipe 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes cicdWipe {
    0%   { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 0 100% 0); }
}

/* Responsive */
@media (max-width: 768px) {
    .cicd-track {
        flex-wrap: wrap;
        gap: 6px;
    }
    .cicd-stage, .cicd-stage-wide {
        flex: 0 0 calc(50% - 12px);
    }
    .cicd-conn {
        display: none;
    }
    .cicd-badge {
        display: none;
    }
    .stage-time {
        display: none;
    }
    .loader-orb { filter: blur(60px); }
    .orb-1 { width: 250px; height: 250px; }
    .orb-2 { width: 200px; height: 200px; }
    .orb-3 { width: 150px; height: 150px; }
}

@media (max-width: 480px) {
    .cicd-stage, .cicd-stage-wide {
        flex: 0 0 100%;
    }
    .cicd-head {
        flex-wrap: wrap;
    }
    .cicd-timer {
        display: none;
    }
    .success-text { font-size: 1.1rem; }
    .success-icon { width: 56px; height: 56px; }
    .success-icon i { font-size: 1.2rem; }
}

/* ==================== 
   GSAP Animation Base States
   ==================== */

/* Reveal elements - start hidden, GSAP animates them in */
.reveal {
    visibility: hidden;
}

/* Text split - individual chars/words */
.split-text .char,
.split-text .word {
    display: inline-block;
    overflow: hidden;
}

.split-text .char-inner,
.split-text .word-inner {
    display: inline-block;
}

/* Image reveal wrapper */
.img-reveal {
    overflow: hidden;
    position: relative;
}

.img-reveal img {
    transform: scale(1.3);
    transition: none;
}

/* Horizontal line reveal */
.line-reveal {
    width: 0;
    height: 1px;
    background: var(--accent);
}

/* Section divider animation */
.section-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.section-divider::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: none;
}

/* Magnetic cursor areas */
.magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== 
   Animations
   ==================== */

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

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInFromRight 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* ==================== 
   Responsive Design
   ==================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .section-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

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

    .about-image {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        padding: 100px 40px 40px;
        transition: left 0.4s ease;
        gap: 4px;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 0;
    }

    section {
        padding: 80px 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .about-image {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .section-title::after {
        margin: 20px auto 0;
    }

    .section-subtitle {
        text-align: center;
        max-width: 100%;
    }

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

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

    .skills-category-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .chatbot-container {
        width: calc(100vw - 20px);
        height: calc(100vh - 120px);
        bottom: 80px;
        right: 10px;
        left: 10px;
    }

    .chatbot-toggle {
        bottom: 16px;
        right: 16px;
    }

    .hero-profile-image img {
        width: 110px;
        height: 110px;
    }

    .timeline-content {
        padding: 24px 20px;
    }

    .project-card {
        padding: 24px 20px;
    }
}

/* ==================== 
   Floating DevOps Elements (hidden)
   ==================== */

.floating-elements,
.floating-elements-small,
.floating-icon,
.floating-icon-small,
.floating-icon.cloud-large,
.floating-icon.cloud-medium,
.floating-icon.cloud-small {
    display: none !important;
}

/* Custom cursor styles (injected by JS) - override for dark theme */
.custom-cursor {
    background: var(--accent) !important;
}

.cursor-follower {
    border-color: var(--accent) !important;
    opacity: 0.3 !important;
}

/* ====================
   INTERACTIVE STORYTELLING ENHANCEMENTS
   ==================== */

/* ---- Particle Canvas ---- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #f0d78c, var(--accent));
    background-size: 200% 100%;
    animation: shimmerGradient 3s ease infinite;
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(201, 169, 110, 0.3);
}

@keyframes shimmerGradient {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---- Mouse Spotlight ---- */
.mouse-spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: transform;
}

.mouse-spotlight.active {
    opacity: 1;
}

/* ---- Floating Gradient Orbs ---- */
.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.5), transparent);
    top: -10%;
    left: -5%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 130, 220, 0.4), transparent);
    top: 60%;
    right: -8%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(110, 169, 201, 0.3), transparent);
    bottom: -5%;
    left: 30%;
    animation: orbFloat3 22s ease-in-out infinite;
}

.orb-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 110, 140, 0.3), transparent);
    top: 30%;
    left: 50%;
    animation: orbFloat4 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, 60px) scale(1.1); }
    50% { transform: translate(30px, 120px) scale(0.95); }
    75% { transform: translate(-40px, 50px) scale(1.05); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-60px, -40px) scale(1.08); }
    50% { transform: translate(-100px, 30px) scale(0.92); }
    75% { transform: translate(-30px, -80px) scale(1.03); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -60px) scale(1.1); }
    66% { transform: translate(-40px, -30px) scale(0.95); }
}

@keyframes orbFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(-70px, 50px) scale(1.15); }
    60% { transform: translate(40px, -40px) scale(0.9); }
}

/* Chapter attributes no longer used */

/* ---- Hero Stats ---- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 50px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(30px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent), #f0d78c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* ---- Card 3D Tilt (JS-driven) ---- */
.project-card,
.cert-card,
.education-card,
.skill-category-card,
.resume-card,
.timeline-content {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ---- Animated Gradient Text for Hero ---- */
/* Animated gold gradient on hero name */
.hero-title .highlight {
    background: linear-gradient(135deg, #c9a96e, #f0d78c, #d4af37, #f0d78c, #c9a96e);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    filter: drop-shadow(0 0 10px rgba(201, 169, 110, 0.12));
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- Hero Learning - Glowing pulse ---- */
.hero-learning {
    position: relative;
}

.hero-learning-icon {
    color: var(--accent);
    animation: pulseBright 2s ease-in-out infinite;
    display: inline-block;
    margin-right: 4px;
}

@keyframes pulseBright {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ---- Scroll Down Enhanced ---- */
.scroll-down a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-down a::before {
    content: 'Scroll to explore';
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---- Button Ripple Effect ---- */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ---- Enhanced Social Icons ---- */
.social-icon {
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: #000 !important;
    border-color: var(--accent) !important;
}

/* ---- Timeline Enhanced ---- */
.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent), transparent);
    border-radius: 2px;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.timeline-item.revealed::before {
    height: 100%;
}

/* ---- Skill Tags Enhanced Hover ---- */
.skill-tag {
    position: relative;
    overflow: hidden;
    cursor: default;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.1), transparent);
    transition: left 0.5s ease;
}

.skill-tag:hover::before {
    left: 100%;
}

/* ---- Availability Badge Pulse ---- */
.availability-badge {
    position: relative;
    overflow: hidden;
}

.availability-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(34, 197, 94, 0.08) 50%, transparent 100%);
    animation: availSweep 3s ease-in-out infinite;
}

@keyframes availSweep {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* ---- Loading Screen Enhanced ---- */
.loader {
    background: radial-gradient(ellipse at 50% 40%, #0e0d0b 0%, #080808 50%, #040404 100%);
}

/* ---- Tilt Card Shine Effect ---- */
.tilt-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.03) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-card:hover .tilt-shine,
.cert-card:hover .tilt-shine,
.education-card:hover .tilt-shine {
    opacity: 1;
}

/* ---- Nav Link Underline Animation ---- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ---- Project Card Featured Glow ---- */
.project-card.featured {
    position: relative;
}

.project-card.featured::before {
    background: linear-gradient(90deg, var(--accent), rgba(201, 169, 110, 0.3), var(--accent));
    background-size: 200% 100%;
    animation: featuredGlow 3s ease infinite;
    height: 2px;
    opacity: 1;
}

@keyframes featuredGlow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* Chapter numbers removed for clean professional look */

/* ---- Quick Contact Buttons Enhanced ---- */
.quick-contact-btn {
    position: relative;
    overflow: hidden;
}

.quick-contact-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%) translateX(20px);
    opacity: 0;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\\f061';
    font-size: 0.7rem;
    color: var(--accent);
    transition: all 0.3s ease;
}

.quick-contact-btn:hover::after {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

/* ---- Text Scramble Cursor ---- */
.text-scramble-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--accent);
    margin-left: 2px;
    animation: blinkCursor 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ---- Responsive adjustments for new elements ---- */
@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px 24px;
    }
    
    .stat-item {
        padding: 0 16px;
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-divider {
        display: none;
    }

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

    .stat-item {
        flex: 0 0 40%;
    }
    
    .gradient-orbs .orb {
        filter: blur(60px);
        opacity: 0.1;
    }

    .mouse-spotlight {
        display: none;
    }

    #particleCanvas {
        opacity: 0.3;
    }

    .section-title[data-chapter]::before {
        font-size: 0.6rem;
    }

    .scroll-down a::before {
        display: none;
    }
}

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

    .stat-item {
        flex: 0 0 45%;
        padding: 8px 0;
    }

    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* =============================================
   STUNNING 3D & VISUAL EFFECTS
   ============================================= */

/* ---- Aurora Background Effect ---- */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.aurora-beam {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(201, 169, 110, 0.02) 60deg,
        transparent 120deg,
        rgba(201, 169, 110, 0.015) 180deg,
        transparent 240deg,
        rgba(201, 169, 110, 0.025) 300deg,
        transparent 360deg
    );
    animation: auroraRotate 30s linear infinite;
}

.aurora-beam:nth-child(2) {
    animation-duration: 45s;
    animation-direction: reverse;
    opacity: 0.5;
}

@keyframes auroraRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---- Floating 3D Geometric Shapes (Enhanced) ---- */
.geo-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    perspective: 1200px;
}

.geo-shape {
    position: absolute;
    border: 1px solid rgba(201, 169, 110, 0.08);
    animation: geoFloat 20s ease-in-out infinite;
}

.geo-shape--cube {
    width: 60px;
    height: 60px;
    top: 15%;
    left: 8%;
    transform: rotate3d(1, 1, 0, 45deg);
    animation: geoCubeSpin 25s ease-in-out infinite;
    border-radius: 4px;
    background: rgba(201, 169, 110, 0.02);
}

.geo-shape--diamond {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation: geoDiamondPulse 22s ease-in-out infinite;
    background: rgba(201, 169, 110, 0.02);
}

.geo-shape--ring {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 15%;
    border-radius: 50%;
    border-width: 1px;
    animation: geoRingOrbit 30s linear infinite;
}

.geo-shape--tri {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(201, 169, 110, 0.06);
    top: 35%;
    right: 20%;
    animation: geoTriFloat 28s ease-in-out infinite;
    border-top: none;
    filter: drop-shadow(0 0 15px rgba(201, 169, 110, 0.04));
}

.geo-shape--line {
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.12), transparent);
    border: none;
    top: 75%;
    left: 60%;
    animation: geoLineSweep 18s ease-in-out infinite;
}

.geo-shape--dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.2);
    border: none;
    top: 45%;
    left: 75%;
    animation: geoDotPulse 4s ease-in-out infinite;
}

@keyframes geoCubeSpin {
    0%, 100% { 
        transform: rotate3d(1, 1, 0, 0deg) translateY(0); 
        opacity: 0.12;
    }
    25% { 
        transform: rotate3d(1, 1, 0, 90deg) translateY(-35px); 
        opacity: 0.2;
    }
    50% { 
        transform: rotate3d(1, 1, 0, 180deg) translateY(-15px); 
        opacity: 0.15;
    }
    75% { 
        transform: rotate3d(1, 1, 0, 270deg) translateY(-45px); 
        opacity: 0.18;
    }
}

@keyframes geoDiamondPulse {
    0%, 100% { 
        transform: rotate(45deg) scale(1); 
        opacity: 0.1;
    }
    50% { 
        transform: rotate(45deg) scale(1.15); 
        opacity: 0.2;
    }
}

@keyframes geoRingOrbit {
    0% { 
        transform: rotate(0deg) translateX(20px) rotate(0deg); 
        opacity: 0.12;
    }
    50% { 
        opacity: 0.2;
    }
    100% { 
        transform: rotate(360deg) translateX(20px) rotate(-360deg); 
        opacity: 0.12;
    }
}

@keyframes geoTriFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.1;
    }
    33% { 
        transform: translateY(-40px) rotate(5deg); 
        opacity: 0.18;
    }
    66% { 
        transform: translateY(-20px) rotate(-3deg); 
        opacity: 0.12;
    }
}

@keyframes geoLineSweep {
    0%, 100% { 
        transform: scaleX(1) translateX(0); 
        opacity: 0.08;
    }
    50% { 
        transform: scaleX(1.5) translateX(30px); 
        opacity: 0.15;
    }
}

@keyframes geoDotPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.15;
    }
    50% { 
        transform: scale(1.5); 
        opacity: 0.3;
    }
}

/* Keep old keyframe for backwards compat */
@keyframes geoFloat {
    0%, 100% {
        opacity: 0.08;
        transform: translateY(0) rotate3d(1, 1, 0, 0deg);
    }
    25% {
        opacity: 0.15;
        transform: translateY(-30px) rotate3d(1, 1, 0, 90deg);
    }
    50% {
        opacity: 0.1;
        transform: translateY(-15px) rotate3d(1, 1, 0, 180deg);
    }
    75% {
        opacity: 0.12;
        transform: translateY(-40px) rotate3d(1, 1, 0, 270deg);
    }
}

/* ---- Hero Glow Ring ---- */
.hero-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.06);
    animation: heroRingPulse 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-glow-ring:nth-child(2) {
    width: 650px;
    height: 650px;
    animation-delay: -1.3s;
    border-color: rgba(201, 169, 110, 0.04);
}

.hero-glow-ring:nth-child(3) {
    width: 800px;
    height: 800px;
    animation-delay: -2.6s;
    border-color: rgba(201, 169, 110, 0.03);
}

@keyframes heroRingPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.04);
        opacity: 0.8;
    }
}

/* ---- Hero Profile Image 3D Enhancement ---- */
.hero-profile-image {
    position: relative;
}

.hero-profile-image::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(201, 169, 110, 0.25),
        transparent 120deg,
        rgba(201, 169, 110, 0.15) 240deg,
        transparent 360deg
    );
    animation: profileRingSpin 6s linear infinite;
    z-index: -1;
    filter: blur(3px);
}

@keyframes profileRingSpin {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* ---- Neon Card Border Effect ---- */
.project-card,
.cert-card,
.education-card,
.skill-category-card,
.resume-card {
    position: relative;
    overflow: hidden;
}

.project-card::before,
.cert-card::before,
.education-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: inherit;
    background: linear-gradient(
        var(--card-glow-angle, 135deg),
        rgba(201, 169, 110, 0) 0%,
        rgba(201, 169, 110, 0.15) 50%,
        rgba(201, 169, 110, 0) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover::before,
.cert-card:hover::before,
.education-card:hover::before {
    opacity: 1;
    animation: cardBorderGlow 2s linear infinite;
}

@keyframes cardBorderGlow {
    0% { --card-glow-angle: 0deg; }
    100% { --card-glow-angle: 360deg; }
}

/* Fallback for browsers that dont support @property */
@supports not (background: paint(something)) {
    .project-card:hover::before,
    .cert-card:hover::before,
    .education-card:hover::before {
        background: linear-gradient(135deg, rgba(201, 169, 110, 0.1), transparent 40%, rgba(201, 169, 110, 0.06));
        animation: none;
    }
}

/* Card hover glow shadow */
.project-card:hover,
.cert-card:hover,
.education-card:hover,
.skill-category-card:hover,
.resume-card:hover,
.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(201, 169, 110, 0.1);
    border-color: rgba(201, 169, 110, 0.15);
}

.project-card,
.cert-card,
.education-card,
.skill-category-card,
.resume-card,
.timeline-content {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.5s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* ---- Card Inner Shine (mouse-driven) ---- */
.project-card::after,
.cert-card::after,
.education-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(201, 169, 110, 0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.project-card:hover::after,
.cert-card:hover::after,
.education-card:hover::after {
    opacity: 1;
}

/* ---- Section Animated Dividers ---- */
section {
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.3), transparent);
    transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

section.section-visible::after {
    width: 80%;
}

/* ---- Animated Section Gradient Accent ---- */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at var(--section-glow-x, 50%) var(--section-glow-y, 0%),
        rgba(201, 169, 110, 0.02) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

section.section-visible::before {
    opacity: 1;
}

/* ---- Skill Tag Glow on Hover ---- */
.skill-tag {
    position: relative;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(201, 169, 110, 0.1) !important;
    border-color: rgba(201, 169, 110, 0.25) !important;
    color: var(--accent) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ---- Timeline Animated Line ---- */
.timeline::before {
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(201, 169, 110, 0.3) 10%,
        rgba(201, 169, 110, 0.3) 90%,
        transparent
    ) !important;
    position: relative;
}

.timeline-marker {
    position: relative;
    z-index: 2;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5); 
        opacity: 0;
    }
}

/* ---- Featured Project Card Glow ---- */
.project-card.featured {
    border-color: rgba(201, 169, 110, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.project-card.featured:hover {
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(201, 169, 110, 0.15);
}

/* ---- Icon Hover 3D ---- */
.project-icon,
.cert-icon,
.education-icon {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s ease;
}

.project-card:hover .project-icon,
.cert-card:hover .cert-icon,
.education-card:hover .education-icon {
    transform: translateY(-4px) scale(1.05);
}

/* ---- Contact Form Focus Glow ---- */
.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.12),
                0 0 0 3px rgba(201, 169, 110, 0.1);
}

/* ---- Scroll Indicator Enhanced ---- */
.scroll-down a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-down a::before {
    content: 'Scroll';
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.scroll-down a i {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ---- Cert Badge Shimmer ---- */
.cert-badge {
    position: relative;
    overflow: hidden;
}

.cert-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* ---- Stats Number Glow ---- */
.stat-number {
    text-shadow: 0 0 20px rgba(201, 169, 110, 0.15);
}

/* ---- Availability Badge Pulse ---- */
.status-dot {
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--success);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* ---- Glass Card Enhancement ---- */
.glass-card,
.contact-cta-card,
.contact-form-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ---- Hero Animated Border Glow ---- */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.2), transparent);
}

/* heroBottomGlow removed for clean look */

/* ---- Section Titles Glow Text ---- */
.section-title {
    text-shadow: none;
}

/* ---- Animated Floating Particles Effect on Cards ---- */
.project-card.featured::before {
    background: linear-gradient(
        var(--card-glow-angle, 135deg),
        rgba(201, 169, 110, 0.05) 0%,
        rgba(201, 169, 110, 0.12) 25%,
        rgba(240, 215, 140, 0.08) 50%,
        rgba(201, 169, 110, 0.12) 75%,
        rgba(201, 169, 110, 0.05) 100%
    ) !important;
    opacity: 0.3 !important;
    animation: cardBorderGlow 3s linear infinite !important;
}

/* ---- Cert Icon Glow ---- */
.cert-icon {
    transition: all 0.4s ease;
}

.cert-card:hover .cert-icon {
    box-shadow: none;
}

/* ---- Project Badge Glow ---- */
.project-badge {
    text-shadow: none;
}

/* ---- Contact CTA Glow Enhancement ---- */
.contact-cta-card {
    border: 1px solid rgba(201, 169, 110, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.contact-cta-card:hover {
    border-color: rgba(201, 169, 110, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ---- Resume Card Enhanced Glow ---- */
.resume-card-primary {
    border: 1px solid rgba(201, 169, 110, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.resume-card-primary:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .geo-shapes {
        display: none;
    }
    .aurora-bg {
        display: none;
    }
    .hero-glow-ring {
        display: none;
    }
    .hero-profile-image::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .project-card:hover,
    .cert-card:hover,
    .education-card:hover,
    .skill-category-card:hover,
    .resume-card:hover,
    .timeline-content:hover {
        transform: translateY(-4px);
    }
}
