/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #545E6C;
    background: #f5f5f5;
    font-size: 14px;
    line-height: 1.6;
}

a {
    color: #2d7788;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrapper {
    background: #2c2c2c;
    max-width: 960px;
    margin: 20px auto;
    position: relative;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #ccc;
}

/* Sidebar Styles */
.sidebar-wrapper {
    position: absolute;
    right: 0;
    width: 280px;
    height: 100%;
    background: #2c2c2c;
    color: #fff;
}

.sidebar-wrapper a {
    color: #fff;
}

.sidebar-wrapper .profile-container {
    padding: 30px;
    background: #2c3e50;
    text-align: center;
    color: #fff;
}

.sidebar-wrapper .name {
    font-size: 32px;
    font-weight: 900;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sidebar-wrapper .tagline {
    color: rgba(256, 256, 256, 0.6);
    font-size: 16px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
}

.sidebar-wrapper .profile-img {
    max-width: 100px;
    margin-bottom: 15px;
    border: 0px solid #fff;
    border-radius: 10px;
}

/* Contact Info */
.sidebar-wrapper .contact-list {
    list-style-type: none;
}

.sidebar-wrapper .contact-list .fas,
.sidebar-wrapper .contact-list .fab {
    margin-right: 5px;
    font-size: 18px;
    vertical-align: middle;
}

.sidebar-wrapper .contact-list li {
    margin-bottom: 15px;
}

.sidebar-wrapper .contact-list li:last-child {
    margin-bottom: 0;
}

.sidebar-wrapper .contact-list .email .fas {
    font-size: 14px;
}

/* Container Blocks */
.sidebar-wrapper .container-block {
    padding: 30px;
}

.sidebar-wrapper .container-block-title {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Education */
.sidebar-wrapper .degree {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 5px;
}

.sidebar-wrapper .education-container .item {
    margin-bottom: 15px;
}

.sidebar-wrapper .education-container .item:last-child {
    margin-bottom: 0;
}

.sidebar-wrapper .education-container .meta {
    color: rgba(256, 256, 256, 0.6);
    font-weight: 500;
    margin-bottom: 0px;
    margin-top: 0;
}

.sidebar-wrapper .education-container .time {
    color: rgba(256, 256, 256, 0.6);
    font-weight: 500;
    font-size: 12px;
}

/* Languages and Interests */
.sidebar-wrapper .interests-list {
    list-style-type: none;
}

.sidebar-wrapper .interests-list li {
    margin-bottom: 10px;
}

.sidebar-wrapper .interests-list li:last-child {
    margin-bottom: 0;
}

.sidebar-wrapper .lang-desc {
    color: rgba(256, 256, 256, 0.6);
}

/* Main Content */
.main-wrapper {
    background: #fff;
    padding: 60px;
    padding-right: 340px;
}

.main-wrapper .section-title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    color: #2c3e50;
    position: relative;
    margin-top: 0;
    margin-bottom: 20px;
}

.main-wrapper .section-title .icon-holder {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    display: inline-block;
    color: #fff;
    background: #2c3e50;
    text-align: center;
    padding-top: 8px;
    border-radius: 50%;
    font-size: 14px;
}

.main-wrapper .section {
    margin-bottom: 60px;
}

/* Career Profile */
.main-wrapper .summary {
    margin-bottom: 30px;
}

/* Experience */
.main-wrapper .experiences-section .item {
    margin-bottom: 30px;
}

.main-wrapper .experiences-section .item:last-child {
    margin-bottom: 0;
}

.main-wrapper .experiences-section .upper-row {
    position: relative;
    overflow: hidden;
    margin-bottom: 2px;
}

.main-wrapper .experiences-section .job-title {
    color: #3F4650;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
}

.main-wrapper .experiences-section .time {
    position: absolute;
    right: 0;
    top: 0;
    color: #97AAC3;
}

.main-wrapper .experiences-section .company {
    margin-bottom: 10px;
    color: #97AAC3;
}

.main-wrapper .experiences-section .details ul {
    list-style-type: none;
    margin-left: 0;
}

.main-wrapper .experiences-section .details ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.main-wrapper .experiences-section .details ul li:before {
    content: "•";
    color: #2c3e50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Projects */
.main-wrapper .projects-section .item {
    margin-bottom: 15px;
}

.main-wrapper .projects-section .project-title {
    font-size: 16px;
    font-weight: 400;
}

.main-wrapper .projects-section .project-tagline {
    color: #97AAC3;
    font-size: 14px;
}

/* Skills */
.main-wrapper .skillset .item {
    margin-bottom: 15px;
    overflow: hidden;
}

.main-wrapper .skillset .level-title {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 12px;
}

.main-wrapper .skillset .progress {
    width: 100%;
    height: 6px;
    background: #f5f5f5;
    border-radius: 2px;
    margin-bottom: 5px;
    position: relative;
}

.main-wrapper .skillset .progress-bar {
    height: 6px;
    background: #2c3e50;
    border-radius: 2px;
}

.main-wrapper .skills-list p {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #1e2025;
    color: #fff;
    padding: 10px 0;
}

.footer .copyright {
    line-height: 1.6;
    color: #a1aab4;
}

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

/* Responsive Design */
@media (max-width: 767px) {
    .sidebar-wrapper {
        position: static;
        width: 100%;
        padding-bottom: 30px;
    }

    .main-wrapper {
        padding: 30px;
        padding-right: 30px;
    }

    .main-wrapper .experiences-section .time {
        position: static;
        display: block;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .main-wrapper {
        padding: 20px;
    }

    .sidebar-wrapper .container-block {
        padding: 20px;
    }

    .sidebar-wrapper .profile-container {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .wrapper {
        max-width: none;
        box-shadow: none;
    }

    .sidebar-wrapper {
        position: static;
        width: 100%;
        page-break-inside: avoid;
    }

    .main-wrapper {
        padding: 30px;
        padding-right: 30px;
    }
}