/* Base Styles */
body {
    background-color: black;
    color: #f5f5f5;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    transition: background-color 0.5s, color 0.5s;
}

/* Light Mode Styles */
body.light-mode {
    background-color: #f5f5f5;
    color: black;
}

/* Profile Image */
.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    color: #f5f5f5;
    margin-top: 50px;
    cursor: pointer; /* Pointer for click effect */
}

/* Profile Zoom Hover (Optional) */
.profile-pic:hover {
    transform: scale(1.05);
}

/* Heading */
h1 {
    font-size: 2em;
    margin: 10px 0;
}

/* Subtitle */
.subtitle {
    font-size: 1.2em;
    color: gray;
    margin-bottom: 20px;
}

/* Social Icons */
.social-icons {
    margin: 15px 0;
}

.social-icons a {
    color: inherit;
    margin: 0 10px;
    font-size: 1.2em;
    text-decoration: none;
}

/* Hover Effect - Bounce & Color Change */
.social-icons a:hover {
    transform: scale(1.3); /* Slight zoom effect */
    color: #8010e3; /* Red color on hover */
}

/* Navigation */
nav {
    margin: 20px 0;
}

nav a {
    color: #9b59b6;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
}

nav a:hover {
    text-decoration: underline;
}



/* Theme Toggle Button */
#theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.3s ease;
}

#theme-toggle:hover {
    color: #9b59b6;
}

#particle-section {
    position: relative;
    height: 400px; /* Adjust based on your preference */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent; 
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind the content */
}

.content {
    position: relative;
    z-index: 1; /* On top of particles */
    text-align: center;
    color: inherit; /* Inherit color for dark/light mode */
}

/* Light Mode Styles */
body.light-mode {
    background-color: #f5f5f5;
    color: black;
}

/* Update other elements for light mode if necessary */
body.light-mode .subtitle {
    color: darkgray;
}

body.light-mode nav a {
    color: #5834db;
}

body.light-mode footer {
    color: darkgray;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-pic {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 1.5em;
    }

    .subtitle {
        font-size: 1em;
    }

    .social-icons a {
        font-size: 1em;
        margin: 0 5px;
    }

    nav a {
        font-size: 1em;
        margin: 0 10px;
    }

   
}

@media (max-width: 480px) {
    .profile-pic {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 1.2em;
    }

    .subtitle {
        font-size: 0.9em;
    }

    .social-icons a {
        font-size: 0.9em;
        margin: 0 3px;
    }

    nav a {
        font-size: 0.9em;
        margin: 0 5px;
    }

   
}
main#About {
    text-align: center;
    padding: 20px;
}

main#About .lg-heading {
    font-size: 3rem;
    margin-bottom: 10px;
}

main#About .sm-heading {
    font-size: 1.5rem;
    color: var(--text-secondary-color);
}

.about-info {
    display: flex;
    grid-gap: 30px;
    grid-template-areas: 
        'bioimage bio bio' 
        'skills skills skills'
        'experience experience experience'
        'social social social';
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile-pic {
    grid-area: bioimage;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
    justify-self: end;
}

.bio {
    grid-area: bio;
}

.text-secondary {
    color:#5834db;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.project {
    padding: 20px;
    background-color: var(--card-background-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project h2 {
    margin-top: 0;
    color: #000;
}

.project-links {
    margin-top: 10px;
}

.project-links a {
    margin: 0 10px;
    color: var(--link-color);
    text-decoration: none;
}

.project-links a:hover {
    text-decoration: underline;
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: var(--footer-background-color);
    color: var(--footer-text-color);
    width: 100%;
    position: fixed;
    bottom: 0;
}
/* Light Theme */
:root {
    --background-color: #f9f9f9;
    --text-color: #000;
    --nav-background-color: #333;
    --nav-text-color: white;
    --card-background-color: #fff;
    --link-color: #333;
    --footer-background-color: #333;
    --footer-text-color: white;
}

/* Dark Theme */
body.dark-mode {
    --background-color: #333;
    --text-color: #f9f9f9;
    --nav-background-color: #222;
    --nav-text-color: #f9f9f9;
    --card-background-color: #444;
    --link-color: #f9f9f9;
    --footer-background-color: #222;
    --footer-text-color: #f9f9f9;
}

body.dark-mode .blog-post {
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.skill-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.skill-btn i {
    margin-right: 8px;
}
.skill-btn:hover {
    background-color: #ddd;
}
.experience {
    width: 400px;
    padding: 20px;
    text-align: left;
}
.job {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
    position: relative;
    padding-left: 40px;
}
.job::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 5px;
    width: 2px;
    height: 100%;
    background: #ccc;
}
.job:last-child::before {
    display: none;
}
.icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 5px;
}
.icon img {
    width: 100%;
    height: 100%;
}
.details {
    margin-left: 10px;
}
.company {
    font-weight: bold;
    color: #0073e6;
    text-decoration: none;
}
.company:hover {
    text-decoration: underline;
}
.title {
    font-size: 14px;
    color: #666;
}
.current {
    background: #e6f0ff;
    padding: 10px;
    
}
.blog-container {
    width: 100%;
    max-width: fit-content;
    padding: 20px;
    text-align: left;
    margin: 0 auto;
    
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.header h2 {
    margin: 0;
    font-size: 22px;
}
.rss-feed {
    background: #ff6600;
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}
.rss-feed::before {
    content: "🔊";
    margin-right: 5px;
}
.year {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    text-align: left;
}
.divider {
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
}
.blog-post {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
}
.blog-image {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 15px;
}
.blog-content {
    flex: 1;
}
.blog-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #000;
}
.blog-title a {
    text-decoration: none;
    color: #0073e6;
}
.blog-title a:hover {
    text-decoration: underline;
}
.blog-description {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}
.blog-meta {
    font-size: 12px;
    color: #999;
}
#awards {
    margin: 20px;
    padding: 20px;
    border-radius: 5px;
    max-width: fit-content;
    margin: 0 auto;
    /* margin-top: 50px; */
}

.award {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.award-logo {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

.award-details {
    flex: 1;
    text-align: left;
}

.award-details h3 {
    margin: 0;
    font-size: 1.2em;
    margin-top: 20px;
}

.award-details p {
    margin: 5px 0;
}

.award-details a {
    color: #007BFF;
    text-decoration: none;
}

.award-details a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .award {
        flex-direction: column;
        align-items: flex-start;
    }

    .award-logo {
        margin-bottom: 10px;
    }
}