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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.nav-divider {
    height: 3px;
    background-color: #333;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
}

/* Main Content */
main {
    margin-top: 100px;
}

.section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

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

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
    font-weight: 600;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-info strong {
    color: #333;
    font-weight: 600;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Projects Section */
.project {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.project h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.project-date {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.project p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.project-highlights {
    list-style: none;
    margin-left: 1rem;
}

.project-highlights li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.project-highlights li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Education Section */
.education-item {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.education-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.education-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.degree {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.classification {
    font-size: 1rem;
    color: #888;
}

.education-meta {
    text-align: right;
    flex-shrink: 0;
}

.university-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.location, .dates {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.dissertation {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.dissertation h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.dissertation p {
    color: #666;
    font-style: italic;
}

/* Work Experience Section */
.experience-item {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.experience-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.role {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.experience-meta {
    text-align: right;
    flex-shrink: 0;
}

.company-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.experience-highlights {
    list-style: none;
    margin-left: 1rem;
}

.experience-highlights li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
    color: #555;
}

.experience-highlights li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.skill-category {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.skill-category h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    color: #555;
}

.skill-category li:before {
    content: "▪";
    color: #007bff;
    position: absolute;
    left: 0;
}

.certifications {
    max-width: 800px;
    margin: 3rem auto 0 auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.certifications h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.certifications ul {
    list-style: none;
}

.certifications li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.certifications li:before {
    content: "🏆";
    position: absolute;
    left: 0;
}

/* Blog and Legal Sections */
#blog .container, #legal .container {
    max-width: 800px;
    text-align: center;
}

#blog p, #legal p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-divider {
        top: 120px;
    }
    
    main {
        margin-top: 140px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .education-header, .experience-header {
        flex-direction: column;
        text-align: center;
    }
    
    .education-meta, .experience-meta {
        text-align: center;
    }
    
    .university-logo, .company-logo {
        margin: 1rem auto;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navbar {
        padding: 0.5rem;
    }
    
    .nav-divider {
        top: 200px;
    }
    
    main {
        margin-top: 220px;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .project, .education-item, .experience-item, .skill-category, .certifications {
        padding: 1.5rem;
    }
}


