/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.5;
    padding: 40px 20px;
}

/* CV Canvas Container */
.cv-container {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Two Column Layout Wrapper */
.columns-wrapper {
    display: flex;
    min-height: 100vh;
}

/* LEFT COLUMN / DARK SIDEBAR STYLE */
.left-col {
    flex: 0 0 280px;
    background-color: #111e30; /* Dark Navy Accent */
    color: #ffffff;
    padding: 45px 25px;
}

/* Header/PFP Layout inside Sidebar */
.header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Circular Profile Picture Layout */
.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #2a3a50;
    display: block;
    flex-shrink: 0;
    background-image: url('Image/pfp.jpg'); 
    background-size: cover; 
    background-position: center 15%; 
    background-repeat: no-repeat;
    margin-bottom: 15px;
}

.name-title h1 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1.2;
}

.name-title .subtitle {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* RIGHT COLUMN / WHITE MAIN CONTENT STYLE */
.right-col {
    flex: 1;
    background-color: #ffffff;
    padding: 45px 40px;
}

/* Section Separation Layout rules */
.section {
    margin-bottom: 32px;
    page-break-inside: avoid;
    break-inside: avoid;
}

/* Sidebar Headings vs Main Content Headings */
.left-col .section h2 {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
    border-bottom: 1px solid #2a3a50;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.right-col .section h2 {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 1px;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 4px;
    margin-bottom: 15px;
}

/* Text Formatting */
.text-p {
    font-size: 13px;
    color: #333333;
    text-align: justify;
    line-height: 1.5;
}

.contact-item {
    font-size: 12.5px;
    color: #cbd5e1;
    margin-bottom: 12px;
    word-break: break-word;
}

/* Lists styling */
.skill-group-title {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 14px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.skill-list {
    list-style: none;
    font-size: 13px;
    color: #e2e8f0;
}

.skill-list li {
    margin-bottom: 6px;
}

.bullet-list-sidebar {
    padding-left: 12px;
    list-style-type: square;
    font-size: 12.5px;
    color: #cbd5e1;
}

.bullet-list-sidebar li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.bullet-list-main {
    padding-left: 15px;
}

.bullet-list-main li {
    font-size: 13px;
    color: #333333;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Timeline/Education blocks */
.timeline-item {
    margin-bottom: 20px;
    page-break-inside: avoid;
    break-inside: avoid;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3px;
}

.item-title {
    font-size: 13.5px;
    font-weight: bold;
    color: #000000;
}

.item-date {
    font-size: 11px;
    font-weight: bold;
    color: #666666;
    text-transform: uppercase;
    white-space: nowrap;
}

.item-institution {
    font-size: 12.5px;
    color: #555555;
    font-style: italic;
}

/* Skill Tags pills */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag {
    background-color: #f0f0f2;
    color: #222222;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 3px;
}

.footer-date {
    font-size: 10px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 40px;
    border-top: 1px solid #eeeeee;
    padding-top: 10px;
}

/* Responsive Setup */
@media (max-width: 768px) {
    .columns-wrapper {
        flex-direction: column;
    }
    .left-col {
        flex: 1 1 auto;
    }
}

/* Print Configuration for A4 Setup */
@media print {
    body {
        background-color: #ffffff;
        padding: 0;
    }
    .cv-container {
        box-shadow: none;
    }
    .left-col {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}