:root {
    --bg-main: #0f172a;
    --bg-surface: #1e293b;
    --bg-surface-hover: #334155;

    --accent: #f59e0b;
    /* Amber/Gold for Oil&Gas feel */
    --accent-hover: #d97706;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

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

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(245, 158, 11, 0.3);

    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-accent: 0 0 20px rgba(245, 158, 11, 0.2);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.highlight {
    color: var(--accent);
}

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

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

.section {
    padding: 100px 0;
}

.diff-bg {
    background-color: rgba(30, 41, 59, 0.3);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.align-left {
    text-align: left;
}

/* Glassmorphism utility */
.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-glass);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
}

/* Background animated shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    /* Contrasting blue */
    bottom: -100px;
    left: -150px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 40%;
    left: 40%;
    opacity: 0.05;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(100px, 50px) rotate(45deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

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

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

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.greeting-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

.name {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.summary {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-quick {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

.contact-quick a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.contact-quick a:hover {
    color: var(--accent);
}

.hero-image-wrapper {
    position: relative;
    justify-self: center;
}

.image-border {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px dashed var(--border-glass);
    padding: 15px;
    position: relative;
    animation: spinSlow 30s linear infinite;
}

.image-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-bottom-color: var(--accent);
    animation: spinSlow 15s linear infinite reverse;
}

@keyframes spinSlow {
    100% {
        transform: rotate(360deg);
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    animation: spinSlow 30s linear infinite reverse;
    /* Keep image upright */
}

/* Stats Section */
.stats {
    padding: -50px 0 50px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

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

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--border-glass);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: 4px solid var(--bg-main);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.role {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.date-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
    white-space: nowrap;
}

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

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

.task-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

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

/* Prior Experience */
.prior-experience {
    margin-top: 60px;
    padding-left: 60px;
}

.prior-title {
    margin-bottom: 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
}

.prior-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.prior-card {
    padding: 20px;
}

.prior-card h5 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.prior-card .company {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    text-align: center;
    padding: 40px 30px;
}

.e-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.expertise-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

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

.units-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.units-tags span {
    background: rgba(30, 41, 59, 0.8);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.highlight-card {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(to bottom right, rgba(245, 158, 11, 0.05), rgba(30, 41, 59, 0.6));
}

/* Skills */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skills-category {
    padding: 30px;
}

.skills-category h3 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    border: 1px solid var(--border-glass);
    transition: all 0.3s;
}

.skill-tag:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Achievements & Education */
.container-flex {
    display: flex;
    gap: 60px;
}

.achievements-col,
.education-col {
    flex: 1;
}

.achievement-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achieve-card {
    display: flex;
    gap: 20px;
}

.achieve-icon {
    font-size: 1.5rem;
    color: var(--accent);
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achieve-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

.edu-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
}

.edu-icon {
    font-size: 2rem;
    color: var(--accent);
}

.edu-details h3 {
    font-size: 1.2rem;
}

.edu-details .year {
    color: var(--text-muted);
}

.course-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
}

.course-list li {
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.course-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.personal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.personal-list li {
    font-size: 0.95rem;
}

.personal-list li span {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
    width: 100px;
    display: inline-block;
}

.mt-4 {
    margin-top: 24px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
    text-align: center;
    background: rgba(15, 23, 42, 0.8);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        align-items: center;
    }

    .name {
        font-size: 3rem;
    }

    .summary {
        text-align: center;
    }

    .stats-container,
    .expertise-grid,
    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .container-flex {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .timeline-header {
        flex-direction: column;
    }

    .date-badge {
        margin-top: 10px;
    }
}