* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('IMG_20251008_161310.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

.main-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #110421 0%, #000000 100%);
    color: white;
    padding: 2rem 1.5rem;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-left: 3px solid white;
    padding-left: calc(1rem - 3px);
}

/* Content Wrapper */
.content-wrapper {
    margin-left: 280px;
    flex: 1;
    padding: 3rem 2rem;
    overflow-y: auto;
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page h1 {
    color: #9a9ebe;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-section {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.about-section h1 {
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Research Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.interest-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.interest-card h3 {
    color: #0d1747;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.interest-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.project-header {
    background: linear-gradient(135deg, #000000 0%, #240049 100%);
    color: white;
    padding: 1.5rem;
}

.project-header h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.project-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.project-body {
    padding: 1.5rem;
}

.project-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.project-link:hover {
    border-bottom-color: #667eea;
}

/* Blog Section */
.blog-redirect {
    background: white;
    padding: 4rem 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.blog-redirect h2 {
    color: #240049;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.blog-redirect p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.blog-button {
    display: inline-block;
    background: linear-gradient(135deg, #000000 0%, #240049 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.blog-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background: white;
    color: #666;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid #eee;
}

footer p {
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .profile-section {
        margin-bottom: 1.5rem;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .nav-menu {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-btn {
        flex: 1;
        min-width: 120px;
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .content-wrapper {
        margin-left: 0;
        padding: 2rem 1rem;
    }

    .page h1 {
        font-size: 2rem;
    }

    .about-section {
        padding: 2rem;
    }

    .interests-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .blog-redirect {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 1.5rem 1rem;
    }

    .page h1 {
        font-size: 1.5rem;
    }

    .about-section {
        padding: 1.5rem;
    }

    .nav-btn {
        min-width: 100px;
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .profile-photo {
        width: 80px;
        height: 80px;
    }

    .site-title {
        font-size: 1.3rem;
    }
}





