* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f9f7ff;
    color: #2f2640;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.sidebar {
    width: 300px;
    background: #fff;
    padding: 40px 25px;
    margin-right: 30px;
    border-radius: 0 20px 20px 0;
    box-shadow: -8px 0 15px rgba(108, 74, 208, 0.15);
    position: sticky;
    top: 20px;
    height: fit-content;
    border: none;
    border-left: 6px solid #6c4ad0;
    transition: all 0.3s ease;
}

.sidebar:hover {
    box-shadow: none;
    border: none;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 8px solid #eee5ff;
    box-shadow: 
        0 5px 15px rgba(108, 74, 208, 0.2),
        inset 0 5px 15px rgba(108, 74, 208, 0.1);
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6c4ad0, #d6c2ff, #6c4ad0);
    z-index: -1;
    opacity: 0.7;
}

.nav-menu {
    list-style: none;
    margin-top: 20px;
}

.nav-menu li {
    margin: 15px 0;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f2ecff;
    color: #32234f;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    box-shadow: 
        2px 2px 5px rgba(108, 74, 208, 0.1),
        -2px -2px 5px rgba(255, 255, 255, 0.8);
}

.nav-menu a:hover, .nav-menu a.active {
    background: #eee5ff;
    color: #6c4ad0;
    border-left: 5px solid #6c4ad0;
    transform: translateX(5px);
    box-shadow: 
        3px 3px 8px rgba(108, 74, 208, 0.15),
        -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.nav-menu i {
    margin-right: 12px;
    font-size: 1.2em;
    color: #8f6cff;
    width: 25px;
    text-align: center;
}

.sidebar-contact {
    margin-top: 40px;
    padding-top: 0;
    padding-bottom: 30px;
    border-top: none;
    border-bottom: 2px dashed #c8bbff;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.sidebar-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #6c4ad0;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(108, 74, 208, 0.2);
}

.sidebar-contact a:hover {
    background: #8f6cff;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(108, 74, 208, 0.3);
}

.sidebar-contact i {
    margin: 0;
    font-size: 1.2em;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 900px;
}

header {
    text-align: center;
    padding: 50px 30px;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: -5px 0 12px rgba(108, 74, 208, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #6c4ad0, #8f6cff, #6c4ad0);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: #32234f;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #6c4ad0;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2em;
    color: #6c4ad0;
    margin: 8px 0;
    font-weight: 600;
    font-family: 'Caveat', cursive;
    font-size: 1.4em;
}

.section {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: -5px 0 12px rgba(108, 74, 208, 0.1);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    border: none;
    border-left: 5px solid #6c4ad0;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section:hover {
    box-shadow: none;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    color: #32234f;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #eee5ff;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #6c4ad0;
}

.experience-item, .education-item {
    background: #f5f1ff;
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    border: none;
    border-left: 4px solid #6c4ad0;
    box-shadow: -4px 0 8px rgba(108, 74, 208, 0.12);
    transition: all 0.3s ease;
    position: relative;
}

.experience-item:hover, .education-item:hover {
    transform: translateX(8px);
    box-shadow: 
        5px 5px 12px rgba(108, 74, 208, 0.12),
        -5px -5px 12px rgba(255, 255, 255, 0.9);
    border: none;
}

h3 {
    color: #6c4ad0;
    font-size: 1.4em;
    margin-bottom: 8px;
    font-weight: 700;
}

.date {
    color: #8f6cff;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1em;
    background: #eee5ff;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Caveat', cursive;
    font-size: 1.1em;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-card {
    background: #f5f1ff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: -3px 0 8px rgba(108, 74, 208, 0.1);
    border: none;
    border-left: 3px solid #6c4ad0;
}

.skill-card:hover {
    transform: translateY(-8px);
    border: none;
    box-shadow: 
        5px 5px 15px rgba(108, 74, 208, 0.12),
        -5px -5px 15px rgba(255, 255, 255, 0.9);
}

.skill-card h4 {
    color: #6c4ad0;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.languages-container {
    margin-top: 20px;
}

.language-item {
    background: #f5f1ff;
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    box-shadow: -3px 0 8px rgba(108, 74, 208, 0.1);
    transition: all 0.3s ease;
    border-left: 3px solid #6c4ad0;
}

.language-item:hover {
    transform: translateY(-5px);
    box-shadow: 
        5px 5px 12px rgba(108, 74, 208, 0.12),
        -5px -5px 12px rgba(255, 255, 255, 0.9);
}

.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.language-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #6c4ad0;
}

.language-level {
    font-size: 1em;
    color: #8f6cff;
    font-weight: 600;
}

.progress-bar-container {
    background: #eee5ff;
    height: 20px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 2px 2px 5px rgba(108, 74, 208, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #b69cff, #8f6cff);
    transition: width 1s ease;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 0.8em;
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.3);
}

.awards-list {
    list-style: none;
}

.awards-list li {
    background: #f5f1ff;
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    border: none;
    border-left: 4px solid #6c4ad0;
    transition: all 0.3s ease;
    box-shadow: -3px 0 8px rgba(108, 74, 208, 0.1);
    position: relative;
    padding-left: 30px;
}

.awards-list li:hover {
    background: #faf4ec;
    transform: translateX(8px);
    box-shadow: 
        5px 5px 12px rgba(108, 74, 208, 0.12),
        -5px -5px 12px rgba(255, 255, 255, 0.9);
    border: none;
}

.awards-list li::before {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
}

.coursework-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.course-category {
    background: #f5f1ff;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: -3px 0 8px rgba(108, 74, 208, 0.1);
    border-left: 3px solid #6c4ad0;
}

.course-category:hover {
    background: #faf4ec;
    transform: translateY(-5px);
    box-shadow: 
        5px 5px 12px rgba(108, 74, 208, 0.12),
        -5px -5px 12px rgba(255, 255, 255, 0.9);
}

.course-category h4 {
    color: #6c4ad0;
    font-size: 1.3em;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eee5ff;
}

footer {
    text-align: center;
    padding: 40px;
    margin-top: 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: -5px 0 12px rgba(108, 74, 208, 0.1);
    border: none;
    border-left: 5px solid #6c4ad0;
}

.intro-text {
    font-size: 1em;
    line-height: 1.9;
    text-align: center;
    background: transparent;
    padding: 30px 0;
    border-radius: 0;
    border: none;
    font-weight: 400;
    margin-bottom: 40px;
    color: #4b3a68;
    letter-spacing: 0.2px;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
        position: static;
        border-radius: 20px;
    }
    
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-menu li {
        flex: 1;
        min-width: 150px;
    }
    
    .nav-menu a {
        justify-content: center;
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    .skills-grid { grid-template-columns: 1fr; }
    .section { padding: 25px; }
    .coursework-columns { grid-template-columns: 1fr; }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu li {
        width: 100%;
    }
}

strong {
    color: #6c4ad0;
}