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

/* Adjust body padding to account for fixed navbar */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    padding: 100px 20px 40px; /* Updated to add top padding */
    color: white;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 60, 114, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-link {
    color: #d1d9ff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(168, 181, 255, 0.3);
    border: 1px solid rgba(168, 181, 255, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Left Column Styles */
.left-column {
    text-align: center;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 30px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-image:hover {
    transform: scale(1.05);
}

.name {
    font-size: 2.2em;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.title {
    font-size: 1.1em;
    color: #b8c5ff;
    margin-bottom: 20px;
    font-weight: 400;
}

.summary {
    font-size: 0.95em;
    line-height: 1.6;
    color: #d1d9ff;
    margin-bottom: 30px;
    text-align: center;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #d1d9ff;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
}

.contact-item i {
    width: 20px;
    margin-right: 15px;
    color: #a8b5ff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Right Column Styles */
.right-column {
    padding-left: 20px;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #a8b5ff;
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.skill-category h4 {
    font-size: 1em;
    margin-bottom: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.skill-category h4 i {
    margin-right: 10px;
    color: #a8b5ff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: rgba(168, 181, 255, 0.2);
    color: #e1e7ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    border: 1px solid rgba(168, 181, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(168, 181, 255, 0.3);
    transform: scale(1.05);
}

/* Experience Section */
.experience-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #a8b5ff;
    transition: all 0.3s ease;
}

.experience-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.company {
    color: #a8b5ff;
    font-weight: 500;
}

.date-range {
    color: #b8c5ff;
    font-size: 0.9em;
    white-space: nowrap;
}

.job-description {
    color: #d1d9ff;
    line-height: 1.6;
}

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

.job-description li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.job-description li:before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #a8b5ff;
    font-size: 0.8em;
}

/* Education Section */
.education-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #a8b5ff;
    transition: all 0.3s ease;
}

.education-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.degree {
    font-size: 1.1em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.school {
    color: #a8b5ff;
    font-weight: 500;
    margin-bottom: 5px;
}

.gpa {
    color: #d1d9ff;
    font-size: 0.9em;
}

.location {
    color: #9db4ff;
    font-size: 0.9em;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }
    
    .right-column {
        padding-left: 0;
    }
    
    .job-header {
        flex-direction: column;
    }
    
    .date-range {
        margin-top: 5px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }
    
    .profile-image {
        width: 150px;
        height: 150px;
    }
    
    .name {
        font-size: 1.8em;
    }
    
    .section-title {
        font-size: 1.2em;
    }

    .nav-links {
        gap: 20px;
    }
    
    .nav-link {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}