:root {
    --navy-blue: #1a365d;
    --deep-blue: #2c5282;
    --accent-blue: #4299e1;
    --light-gray: #f7fafc;
    --medium-gray: #4a5568;
    --text-dark: #2d3748;
    --text-light: #ffffff;
    --border-light: #e2e8f0;
    --shadow-soft: 0 10px 25px rgba(26, 54, 93, 0.1);
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
}

.cv-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: var(--shadow-soft);
    min-height: 100vh;
    display: grid;
    grid-template-columns: 30% 70%;
}

/* Left Column - Dark Blue Sidebar */
.left-column {
    background: linear-gradient(180deg, var(--navy-blue) 0%, var(--deep-blue) 100%);
    color: var(--text-light);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.left-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(66, 153, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.profile-section {
    text-align: center;
    padding: 40px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(66, 153, 225, 0.3);
    margin-bottom: 20px;
}

.name-title {
    margin-bottom: 10px;
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.title {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
}

.sidebar-section {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.sidebar-section h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-blue);
    margin-top: 8px;
}

.contact-item {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
}

.skill-item {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.skill-category {
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.award-item {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.4;
}

.award-year {
    font-weight: 600;
    color: var(--accent-blue);
    display: block;
}

/* Personal Profile Styles - Matching Core Skills Format */
.profile-item {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.profile-category-title {
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

/* Right Column - Main Content */
.right-column {
    padding: 50px;
    background: white;
    position: relative;
}

.section {
    margin-bottom: 45px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, transparent 100%);
    margin-top: 10px;
}

.summary-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--medium-gray);
    text-align: justify;
    font-weight: 300;
}

.experience-item {
    margin-bottom: 35px;
    padding: 25px;
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    position: relative;
}

.job-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.company-duration {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-description {
    list-style: none;
    padding: 0;
}

.job-description li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.job-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.education-item {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--deep-blue);
    margin-bottom: 20px;
}

.degree {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.university {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
}

.competencies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.competency-category {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 8px;
    border-top: 3px solid var(--accent-blue);
}

.competency-title {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 10px;
    font-size: 16px;
}

.competency-list {
    list-style: none;
    padding: 0;
}

.competency-list li {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    color: var(--text-dark);
}

.competency-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.footer-note {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-blue) 100%);
    color: white;
    font-style: italic;
    font-size: 14px;
    margin-top: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.footer-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(66, 153, 225, 0.1) 0%, transparent 70%);
}

/* Print Styles */
@media print {
    .cv-container {
        box-shadow: none;
        max-width: none;
        margin: 0;
    }
    
    .left-column {
        background: var(--navy-blue) !important;
    }
    
    .experience-item,
    .education-item,
    .competency-category {
        break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv-container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .left-column,
    .right-column {
        padding: 30px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .name {
        font-size: 24px;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
    }
}

/* Admin Panel Styles */
.admin-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.admin-header {
    background: var(--navy-blue);
    color: white;
    padding: 20px;
    margin: -40px -40px 30px -40px;
    border-radius: 10px 10px 0 0;
}

.admin-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.admin-nav a {
    background: var(--accent-blue);
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.admin-nav a:hover {
    background: var(--navy-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-light);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input[type="file"] {
    padding: 8px;
    background: #f7fafc;
    border: 2px dashed #4299e1;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    background: #edf2f7;
    border-color: #1a365d;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn {
    background: var(--navy-blue);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
}

.btn:hover {
    background: var(--deep-blue);
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.data-table th,
.data-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    background: var(--light-gray);
    font-weight: 600;
}

.actions {
    white-space: nowrap;
}

.actions a {
    margin-right: 10px;
    font-size: 12px;
    padding: 5px 10px;
}