/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--bg-color);
}

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

/* Navigation */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 20px 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.hero .subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

/* About section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-image {
    margin: 20px 0;
}

.profile-image img {
    width: 350px;
    height: 400px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.bio {
    flex: 1;
    padding: 20px;
}

.bio p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.05rem;
}

.bio p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bio p {
        font-size: 1rem;
        text-align: left;
    }

    .profile-image img {
        width: 280px;
        height: 320px;
    }
}

/* Research section */
.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.research-item {
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: var(--text-color);
}

/* Publications section */
.publication {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.publication:hover {
    transform: translateY(-5px);
}

.publication h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.publication .authors {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.publication .venue {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
}

.paper-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.paper-link i {
    margin-right: 8px;
}

.paper-link:hover {
    color: #0056b3;
}

/* Contact section */
.contact-info {
    text-align: center;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    font-size: 24px;
    margin: 0 10px;
    color: var(--text-color);
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }
}

/* Experience section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.experience-item {
    background: var(--card-bg);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-item h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.duration {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
}

.achievements {
    list-style-type: none;
    padding-left: 0;
}

.achievements li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-color);
}

.achievements li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.brief-intro {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Publications section enhancements */
.publications-list {
    max-width: 1000px;
    margin: 0 auto;
}

.publication {
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.publication:hover {
    transform: translateY(-5px);
}

.publication h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.publication .authors {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.publication .venue {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
}

.paper-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.paper-link i {
    margin-right: 8px;
}

.paper-link:hover {
    color: #0056b3;
}

/* Achievements section */
.achievements-list {
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-item {
    background: var(--card-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.achievement-item h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.6rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.achievement-details {
    list-style: none;
    padding: 0;
}

.achievement-details li {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.achievement-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.achievement-date {
    display: block;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.achievement-details p {
    color: var(--text-tertiary);
    margin: 5px 0;
}

.achievement-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 5px;
    transition: color 0.3s;
}

.achievement-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Add this to your existing nav styles */
nav ul {
    /* ... existing styles ... */
}

nav ul li a[href="#achievements"] {
    /* Add any specific styling for the achievements navigation item */
}

.achievement-image {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.achievement-proof {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.achievement-proof:hover {
    transform: scale(1.02);
}

/* Achievement media styles */
.achievement-media {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.achievement-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.achievement-image:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .achievement-image {
        max-width: 100%;
    }
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: 15px 0;
}

.slide {
    display: none;
    animation: fade 5s ease-in-out infinite;
}

.fade {
    animation-name: fade;
    animation-duration: 5s;
}

@keyframes fade {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Company logo styles */
.experience-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.company-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.experience-title {
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .company-logo {
        width: 45px;
        height: 45px;
    }
}

/* Timeline styles */
.recent-timeline {
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.recent-timeline h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.timeline-date {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    margin: 0 20px;
    min-width: 120px;
    text-align: center;
}

.timeline-content {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    max-width: 500px;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 45px;
    }

    .timeline-date {
        margin: 0 0 15px 0;
        font-size: 0.9rem;
    }

    .timeline-content {
        width: 100%;
    }
}

/* Replace the existing timeline styles with these minimal styles */
.timeline-minimal {
    max-width: 800px;
    margin: 30px auto;
    position: relative;
    padding-left: 100px;
}

.timeline-entry {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.timeline-date {
    position: absolute;
    left: -100px;
    width: 80px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: right;
    padding-right: 20px;
}

.timeline-bullet {
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
    margin-right: 15px;
    margin-top: -8px;
}

.timeline-content {
    flex: 1;
    padding-bottom: 15px;
}

.timeline-content p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-minimal {
        padding-left: 60px;
    }
    
    .timeline-date {
        left: -60px;
        width: 50px;
        font-size: 0.8rem;
    }
}

/* Add these styles for the announcement banner */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1001;
}

.announcement-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    padding: 8px 0;
}

.announcement-content span {
    margin-right: 50px;
    font-weight: 500;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Update main content to account for banner */
main {
    margin-top: 36px; /* Same as banner height */
}

/* Dark mode variables and theme switch styles */
:root {
    --primary-color: #0052cc;
    --bg-color: #ffffff;
    --text-color: #2c3e50;
    --text-secondary: #34495e;
    --text-tertiary: #576574;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 82, 204, 0.1);
    --header-bg: rgba(255, 255, 255, 0.95);
    --border-color: #eef2f7;
    --gradient-primary: linear-gradient(45deg, #0052cc, #2684ff);
    --gradient-secondary: linear-gradient(45deg, #2684ff, #0747a6);
    --code-bg: #2d3436;
}

[data-theme="dark"] {
    --primary-color: #2684ff;
    --bg-color: #1a1f36;
    --text-color: #ffffff;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e0;
    --card-bg: #2d3748;
    --shadow-color: rgba(38, 132, 255, 0.2);
    --header-bg: rgba(26, 31, 54, 0.95);
    --border-color: #2d3748;
}

/* Theme switch styles */
.theme-switch-wrapper {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 1002;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    border-radius: 50%;
}

.slider .fa-sun {
    position: absolute;
    left: 8px;
    top: 8px;
    color: #f39c12;
}

.slider .fa-moon {
    position: absolute;
    right: 8px;
    top: 8px;
    color: #f1c40f;
}

input:checked + .slider {
    background-color: #2d2d2d;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Update existing styles with variables */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

header {
    background-color: var(--header-bg);
}

.experience-item, .research-item, .publication {
    background-color: var(--card-bg);
    box-shadow: 0 2px 15px var(--shadow-color);
}

.hero {
    background-color: var(--bg-color);
}

nav ul li a {
    color: var(--text-color);
}

.publication h3, .experience-item h3 {
    color: var(--primary-color);
}

/* Add transitions for smooth theme switching */
body, header, .experience-item, .research-item, .publication {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .theme-switch-wrapper {
        top: 80px;
    }
}

/* Add media query for mobile devices */
@media (max-width: 768px) {
    header {
        top: 0; /* Adjust top position for mobile */
    }
    
    /* Adjust main content margin for mobile */
    main {
        margin-top: 0;
    }
}

/* Tech theme color variables */
:root {
    --primary-color: rgb(4, 27, 177);
    --secondary-color: #4facfe;
    --accent-color: #7367f0;
    --bg-color: #ffffff;
    --text-color: #2c3e50;
    --text-secondary: #34495e;
    --text-tertiary: #576574;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 242, 254, 0.1);
    --header-bg: rgba(255, 255, 255, 0.95);
    --border-color: #eef2f7;
    --gradient-primary: linear-gradient(45deg, rgb(4, 27, 177), #4facfe);
    --gradient-secondary: linear-gradient(45deg, #4facfe, #7367f0);
    --code-bg: #2d3436;
}

[data-theme="dark"] {
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --accent-color: #7367f0;
    --bg-color: #1a1f36;
    --text-color: #ffffff;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e0;
    --card-bg: #2d3748;
    --shadow-color: rgba(0, 242, 254, 0.2);
    --header-bg: rgba(26, 31, 54, 0.95);
    --border-color: #2d3748;
}

/* Add tech-inspired background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25px 25px, var(--shadow-color) 2%, transparent 2%),
        radial-gradient(circle at 75px 75px, var(--shadow-color) 2%, transparent 2%);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: -1;
}

/* Update header styles */
header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Update hero section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: -1;
}

.hero h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Update section headings */
.section h2 {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Update cards with glassmorphism effect */
.experience-item, .research-item, .publication {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 var(--shadow-color);
}

/* Add hover effects */
.experience-item:hover, .research-item:hover, .publication:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 var(--shadow-color);
    border-color: var(--primary-color);
}

/* Update announcement banner */
.announcement-banner {
    background: var(--gradient-primary);
}

/* Update theme switch */
.slider {
    background: var(--gradient-secondary);
}

.slider:before {
    background: var(--bg-color);
}

/* Add animated border effect to profile image */
.profile-image {
    position: relative;
    padding: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.profile-image::before {
    display: none;
}

/* Add tech-inspired icons to research items */
.research-item {
    position: relative;
    padding-top: 40px;
}

.research-item::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.2;
    color: var(--primary-color);
}

.research-item:nth-child(1)::before { content: '\f121'; } /* code icon */
.research-item:nth-child(2)::before { content: '\f542'; } /* project diagram icon */
.research-item:nth-child(3)::before { content: '\f0eb'; } /* lightbulb icon */

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Update links */
a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Add tech-inspired loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add these styles for the hamburger menu */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 45px;
    left: 20px;
    z-index: 1002;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1003;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Update header styles */
.nav-header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.nav-menu {
    transition: transform 0.3s ease-in-out;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 36px;
        left: -100%;
        width: 250px;
        height: 100vh;
        background: var(--header-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding-top: 50px;
        transition: 0.3s ease-in-out;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    .nav-menu ul li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-menu ul li a {
        display: block;
        font-size: 1.1rem;
        padding: 10px 0;
    }

    /* Adjust theme switch position for mobile */
    .theme-switch-wrapper {
        top: 45px;
        right: 20px;
    }

    /* Adjust main content spacing */
    main {
        margin-top: 36px;
    }

    /* Adjust announcement banner for mobile */
    .announcement-banner {
        font-size: 0.9rem;
        padding: 5px 0;
    }

    /* Make profile image responsive */
    .profile-image img {
        max-width: 100%;
        height: auto;
    }

    /* Adjust section padding */
    .section {
        padding: 40px 0;
    }

    /* Make experience items more compact */
    .experience-header {
        flex-direction: column;
        gap: 10px;
    }

    .company-logo {
        width: 40px;
        height: 40px;
    }
}

/* Add blur effect to header */
.nav-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: var(--header-bg);
}

/* Blog Styles */
.blog-section {
    padding: 2rem 0;
}

.blog-post {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blog-post h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.post-meta span {
    margin-right: 1rem;
}

.post-content {
    line-height: 1.6;
}

.post-content h3 {
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.equation {
    padding: 1rem;
    margin: 1rem 0;
    background: var(--bg-primary);
    border-left: 4px solid var(--primary-color);
    font-family: monospace;
    overflow-x: auto;
}

.post-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.post-content pre {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

.post-content code {
    font-family: monospace;
}

/* Blog post collapse/expand styles */
.blog-header {
    cursor: pointer;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.blog-header:hover {
    background: var(--bg-secondary);
}

.expand-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.post-content.collapsed {
    display: none;
}

.blog-post {
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.post-content {
    padding: 2rem;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

/* Animation for expand/collapse */
.post-content {
    transition: max-height 0.3s ease-out;
}

/* Ensure equations are properly styled in collapsed state */
.equation {
    overflow-x: auto;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 4px;
}

/* Add these styles for the hero social links */
.social-links-hero {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links-hero a {
    color: var(--text-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-links-hero a:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.social-links-hero a:hover i {
    color: var(--primary-color);
}

/* Specific colors for each platform on hover */
.social-links-hero a:hover .fa-linkedin {
    color: #0077b5;
}

.social-links-hero a:hover .fa-github {
    color: #333;
}

.social-links-hero a:hover .fa-twitter {
    color: #1DA1F2;  /* Twitter's brand color */
}

.social-links-hero a:hover .fa-kaggle {
    color: #20BEFF;
}

/* Dark mode adjustments */
[data-theme="dark"] .social-links-hero a:hover .fa-github {
    color: #fff;
}

[data-theme="dark"] .social-links-hero a:hover .fa-twitter {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links-hero {
        gap: 1.5rem;
    }
    
    .social-links-hero a {
        font-size: 1.5rem;
    }
}