/* ------------------------
   Design System & Variables
--------------------------- */
:root {
    /* Color Palette */
    --bg-color: #07090f;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-primary: #e87722;
    /* Optum Orange */
    --accent-secondary: #0055c4;
    /* Bright Blue */
    --accent-tertiary: #2a9d8f;
    /* Teal */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Utilities */
    --spacing-sm: 0.5rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------
   Resets & Base Styles
--------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Background animated mesh */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #130f23 0%, #0c0a15 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-primary);
    bottom: 20%;
    right: -5%;
    animation-delay: -5s;
    opacity: 0.3;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: rgba(0, 50, 255, 0.4);
    bottom: -20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

/* ------------------------
   Typography & Utilities
--------------------------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-light {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent-primary);
}

.text-gold {
    color: #f59e0b;
}

.text-blue {
    color: #3b82f6;
}

.optum-brand {
    color: #e87722;
    font-weight: bold;
}

.ai-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

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

.section {
    padding: 6rem 0;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.card {
    padding: var(--spacing-md);
    transition: var(--transition);
}

.card.p-large {
    padding: var(--spacing-lg);
}

.hover-up:hover {
    transform: translateY(-8px);
    background: var(--glass-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ------------------------
   Navigation
--------------------------- */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    z-index: 1000;
    border-radius: 50px;
    padding: 1rem 2rem;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 8, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ------------------------
   Hero Section
--------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10rem;
    gap: 3rem;
}

.hero-content {
    max-width: 600px;
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 35px rgba(232, 119, 34, 0.4);
    /* Matches optum orange */
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

.greeting {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.name {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    text-decoration: none;
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.1);
}

/* ------------------------
   Global Section Header
--------------------------- */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header .line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    border-radius: 2px;
}

/* ------------------------
   About & Expertise
--------------------------- */
.summary-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.icon-wrap {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.cards-grid .card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* ------------------------
   Experience Timeline
--------------------------- */
.timeline {
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 2.5rem;
}

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

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.9rem;
    top: 1.5rem;
    width: 14px;
    height: 14px;
    background: var(--bg-color);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 1rem;
}

.role {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.company {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.date {
    font-size: 0.9rem;
    font-weight: 600;
}

.duties {
    list-style-position: inside;
    list-style-type: disc;
}

.duties li {
    margin-bottom: 0.5rem;
}

/* ------------------------
   Skills & Certs
--------------------------- */
.two-col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category:last-child {
    margin-bottom: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.cert-list {
    list-style: none;
}

.cert-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cert-list li:last-child {
    border-bottom: none;
}

.cert-list i {
    font-size: 1.2rem;
}

.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* ------------------------
   Footer
--------------------------- */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    color: var(--text-muted);
}

/* ------------------------
   Animations & Responsive
--------------------------- */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards ease-in-out;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .name {
        font-size: 3.5rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 8rem;
    }

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

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

    .hero-image img {
        width: 280px;
        height: 280px;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .section {
        padding: 4rem 0;
    }
}