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

:root {
    --primary-color: #6ba3e3;
    --text-color: #333;
    --bg-color: #ffffff;
    --sidebar-bg: #f5f5f5;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 350px;
    background-color: var(--sidebar-bg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--bg-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.profile-info h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.profile-title {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-location {
    font-size: 12px;
    color: #666;
}

.profile-nickname {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.profile-nickname strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Navigation Styles */
.navigation {
    flex-grow: 1;
    margin-bottom: 20px;
}

.navigation ul {
    list-style: none;
}

.navigation li {
    margin-bottom: 5px;
}

.navigation a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.navigation a:hover,
.navigation a.active {
    color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.1);
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}

.sidebar-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Main Content Styles */
.main-content {
    margin-left: 350px;
    flex: 1;
    padding: 60px 80px;
    background-color: var(--bg-color);
}

/* Home Page Styles */
.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: calc(100vh - 120px);
    position: relative;
}

.home-text {
    flex: 1;
}

.main-heading {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.sub-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.sub-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.btn-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 2px solid var(--text-color);
    background-color: transparent;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-portfolio:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.btn-portfolio span {
    font-size: 18px;
}

.home-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: cover;
}

.pagination-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--text-color);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--text-color);
}

/* Page Content Styles */
.page-content {
    max-width: 900px;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
}

.about-content,
.services-grid,
.skills-content,
.education-content,
.experience-timeline,
.portfolio-content,
.blog-content,
.contact-content {
    margin-top: 20px;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.about-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--text-color);
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.hobby-list,
.experience-list {
    list-style: none;
    padding-left: 0;
}

.hobby-list li,
.experience-list li {
    padding: 10px 0;
    font-size: 16px;
    color: #555;
    border-bottom: 1px solid var(--border-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    padding: 30px;
    background-color: var(--sidebar-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Skills Styles */
.skill-category {
    margin-bottom: 40px;
}

.skill-category h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-color);
}

.skills-list {
    list-style: none;
}

.skills-list li {
    margin-bottom: 25px;
}

.skill-name {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--sidebar-bg);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Experience Timeline */
.experience-timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid var(--border-color);
}

.experience-item {
    margin-bottom: 40px;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-color);
}

.experience-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.experience-details h3 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.experience-details h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.experience-details p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.experience-details ul {
    margin-left: 20px;
    margin-top: 10px;
}

.experience-details li {
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.portfolio-item {
    padding: 30px;
    background-color: var(--sidebar-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.portfolio-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.portfolio-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Blog Styles */
.blog-posts {
    margin-top: 30px;
}

.blog-post {
    padding: 25px;
    background-color: var(--sidebar-bg);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.blog-post h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.blog-date {
    font-size: 14px;
    color: #999;
}

/* Contact Styles */
.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-item a {
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.contact-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.social-media {
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.social-media h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.social-link {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--text-color);
    transform: translateY(-2px);
}

.privacy-note {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 300px;
    }
    
    .main-content {
        margin-left: 300px;
        padding: 40px 50px;
    }
    
    .home-content {
        flex-direction: column;
        text-align: center;
    }
    
    .home-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-content {
        margin-left: 0;
        padding: 30px 20px;
    }
    
    .main-heading {
        font-size: 36px;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

