﻿:root {
    --bg: #050505;
    --surface: #111111;
    --surface-alt: #1f1a12;
    --text: #f9f4e8;
    --muted: #c4b27f;
    --gold: #d4af37;
    --white: #ffffff;
    --border: rgba(212, 175, 55, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent 35%), linear-gradient(180deg, #080808 0%, #040404 100%);
    color: var(--text);
    min-height: 100vh;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 30%), radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 25%);
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.page-header {
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.branding .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.branding h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.subtitle {
    color: var(--muted);
    margin-top: 0.5rem;
    max-width: 42rem;
    line-height: 1.7;
}

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

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    padding: 0.85rem 1.4rem;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
    background: rgba(212, 175, 55, 0.14);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.panel {
    margin-top: 2rem;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 1.35rem;
    background: rgba(20, 18, 15, 0.86);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

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

.tag {
    display: inline-flex;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    background: rgba(212, 175, 55, 0.08);
}

.panel h2 {
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.panel p,
.profile-details p {
    line-height: 1.85;
    color: #e6dcc6;
    margin-top: 1rem;
}

.profile-card {
    display: grid;
    grid-template-columns: minmax(180px, 220px) 1fr;
    gap: 1.75rem;
    align-items: center;
    margin: 1.75rem auto;
    max-width: 820px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
}

.profile-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.24);
    display: block;
    margin: 0;
}


/* Center other images (certificates, content images, etc.) */

.panel img,
.certifications-list img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
    height: auto;
}

.profile-details p {
    margin: 0.55rem 0;
}

.site-footer {
    margin: 3rem auto 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    text-align: center;
    color: var(--muted);
}

@media (max-width: 720px) {
    .header-inner,
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-card {
        grid-template-columns: 1fr;
    }
    .main-nav a {
        width: 100%;
        justify-content: center;
    }
    table {
        min-width: 100%;
    }
}