/* Version badge in upper right */
.cv-version {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 1.1rem;
    color: var(--color-secondary);
    background: #fff;
    padding: 0.2em 0.8em;
    border-radius: 1em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    z-index: 100;
    font-family: 'Poppins', sans-serif;
}

/* Profile image in upper right corner */
.profile-image {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 60%;
    object-fit: cover;
    border: 1px solid var(--color-primary);
    z-index: 99;
    top: -65px;
    right: 0%;
}

/* Import modern fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Source+Sans+Pro:wght@400;600&display=swap');

/* Modern color palette - Deep Navy & Cobalt Blue */
:root {
    --color-text: #0A192F;          /* Deep navy for text */
    --color-primary: #0A192F;       /* Deep navy for primary headings */
    --color-secondary: #3E92CC;     /* Cobalt blue accent for highlights */
    --color-tertiary: #3E92CC;      /* Cobalt blue for h3 */
    --color-code: #3E92CC;          /* Cobalt blue for inline code */
    --color-border: #e2e8f0;        /* Light border */
    --color-chip-bg: #f8fafc;       /* Off-white chip background */
    --color-background: #ffffff;    /* Clean white background */
}

body {
    width: 1000px;
    background-color: var(--color-background);
    border: 0px solid #ccc;
    font-family: 'Source Sans Pro', sans-serif; /* Modern body font for documentation clarity */
    margin: 0 auto;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.6;
}

/* Chip-style tags for technologies inside the Technical Skills section */
.skills code {
    position: static;
    left: auto;
    width: auto;
    display: inline-block;
    text-align: left;
    padding: 0.15rem 0.5rem;
    margin: 0.2rem 0.3rem 0 0;
    border-radius: 9999px; /* pill */
    border: 1px solid var(--color-border);
    background: var(--color-chip-bg);
    color: var(--color-code);
    white-space: nowrap;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}

p {
    position: relative;
    left: 30%;
    width: 70%;
    line-height: 1.6;
    font-size: 1rem;
}

ul { 
    position: relative;
    left: 30%;
    width: 65%;
    line-height: 1.6;
    font-size: 1rem;
}

code {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    position: absolute;
    left: -32%;
    text-align: right;
    width: 25%;
    display: inline-block;
    color: var(--color-code);
    font-weight: 500;
}

/* Modern heading hierarchy with semantic scaling */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif; /* Modern sans-serif with presence */
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.025em; /* Tighter letter spacing for modern look */
}

h1 {
    position: relative;
    left: 30%;
    text-align: left;
    font-size: 2.25rem; /* Larger, more prominent */
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2, h3{
    position: relative;
    text-align: right;
    left: -75%;
    font-size: 1.125rem; /* Semantic scaling */
    color: var(--color-secondary);
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    margin-bottom: -2.6rem;
    color: var(--color-tertiary);
    font-size: 1rem;
    font-weight: 600;
}   

h4 {
    position: relative;
    text-align: right;
    left: -75%;
    margin-bottom: -2.6rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Emphasis variants with consistent accent color */
b, strong {
    color: #1B4B8C;
    font-weight: 700;
}

i, em {
    color: var(--color-secondary);
    font-style: italic;
    font-weight: 400;
}

/* Links with modern styling */
a {
    color: var(--color-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease;
}

a:hover {
    border-bottom-color: var(--color-secondary);
}

/* Download link styling */
.download-link {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-secondary);
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.download-link:hover {
    background-color: var(--color-secondary);
    color: white;
    border-bottom: 1px solid var(--color-secondary);
}
