/* Base styles and Variables */
:root {
    --bg-color: #0d1117;
    --bg-color-secondary: #161b22;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent-color: #f5a623; /* Honey amber for Bee Keeper */
    --accent-glow: rgba(245, 166, 35, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --border-glass: 1px solid rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(25, 30, 36, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.2;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Background Glows */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}
.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    top: -100px;
    left: -100px;
}
.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(43, 85, 204, 0.15);
    bottom: -150px;
    right: -100px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

/* Sidebar Profile */
.sidebar {
    position: sticky;
    top: 4rem;
    height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.header .name {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header .title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.header .subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon {
    font-size: 1.2rem;
}

/* Navigation */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 1px;
    background-color: var(--text-secondary);
    transition: all 0.3s ease;
}

.nav-link.active, .nav-link:hover {
    color: #fff;
    padding-left: 2.5rem;
}

.nav-link.active::before, .nav-link:hover::before {
    width: 24px;
    background-color: var(--accent-color);
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Sections */
.section {
    margin-bottom: 6rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Timeline Components */
.timeline {
    position: relative;
    padding-left: 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.35rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 1;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}
.timeline-content h4 span {
    font-size: 0.85rem;
    padding-left: 0.5rem;
    border-left: 1px solid var(--border-glass);
    margin-left: 0.5rem;
}

.timeline-content ul {
    list-style-type: none;
    padding-left: 0;
}

.timeline-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.compact-list li::before {
    content: '•';
}

/* Grid Layouts */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.col-span-2 {
    grid-column: span 2;
}

.date-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(245, 166, 35, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.edu-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.edu-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.edu-list {
    margin-top: 1rem;
    list-style: none;
    font-size: 0.95rem;
}

.edu-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.edu-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Tags and Extras */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 1rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.tag.expert { border-color: rgba(245, 166, 35, 0.5); }
.tag.advanced { border-color: rgba(245, 166, 35, 0.3); }

.bullet-list {
    margin-top: 1rem;
    padding-left: 1.25rem;
}
.bullet-list li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.cert-list .tag {
    font-size: 0.8rem;
    background: rgba(0,0,0,0.2);
}

/* Animations */
.reveal, .fade-in, .slide-up {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal { transform: translateY(30px); }
.slide-up { transform: translateY(20px); }

.reveal.visible, .fade-in.visible, .slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.mt-6 {
    margin-top: 1.5rem;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: var(--border-glass);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        height: auto;
    }
    
    .nav-menu {
        display: none; /* Hide sticky nav on mobile, users can just scroll */
    }
}

@media screen and (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    .col-span-2 {
        grid-column: span 1;
    }
    .header .name {
        font-size: 2.5rem;
    }
}
