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

/* CSS Variables for Theme */
:root {
    /* Correct Blue Palette */
    --bg-primary: #f6f1f1;
    --bg-secondary: #f6f1f1;
    --bg-tertiary: #afd3e2;
    --bg-navbar: #f6f1f1;
    --text-primary: #2c3e50;
    --text-secondary: #34495e;
    --text-muted: #7f8c8d;
    --accent-primary: #19a7ce;
    --accent-secondary: #146c94;
    --blue-lightest: #f6f1f1;
    --blue-light: #afd3e2;
    --blue-medium: #19a7ce;
    --blue-dark: #146c94;
    --border-color: #d5dbdb;
    --shadow-light: rgba(20, 108, 148, 0.1);
    --shadow-medium: rgba(20, 108, 148, 0.15);
    --card-bg: #f6f1f1;
    --timeline-bg: #f6f1f1;
    --form-bg: #f6f1f1;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-navbar);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: var(--blue-dark);
    color: white;
    padding: 80px 0 30px 0;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.highlight {
    color: #afd3e2;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: #f6f1f1;
}

.hero-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #afd3e2;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: #f6f1f1;
    color: var(--text-primary);
}

.btn-primary:hover {
    background: #afd3e2;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 10px 20px var(--shadow-light);
}

.hero-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
}


.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}


/* Articles Section */
.articles {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.articles .container {
    max-width: 1200px;
    position: relative;
}

.articles-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    min-width: 100%;
}

.articles-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.article-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    width: 350px;
    height: 460px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.article-card-banner {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bg-tertiary);
}

.article-card-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-banner-img {
    transform: scale(1.05);
}

/* Scroll Navigation Arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 167, 206, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-size: 1.2rem;
}

.scroll-arrow:hover {
    background: rgba(25, 167, 206, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.scroll-arrow.left {
    left: -20px;
}

.scroll-arrow.right {
    right: -20px;
}

.scroll-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

/* Scroll Indicators (dots) */
.scroll-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.article-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.article-category {
    background: var(--accent-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    height: 3.64rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex: 1;
    max-height: 6.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.article-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    margin-top: auto;
}

.article-link:hover {
    color: var(--accent-secondary);
}

.article-link i {
    transition: transform 0.3s ease;
}

.article-link:hover i {
    transform: translateX(5px);
}

/* Projects Section */
.projects {
    padding: 60px 0;
    background: var(--bg-tertiary);
}

.projects .container {
    max-width: 1200px;
    position: relative;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-primary);
    background: var(--blue-lightest);
}

.projects-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    min-width: 100%;
}

.projects-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 350px;
    height: 420px;
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.project-image {
    height: 200px;
    background: var(--blue-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 3rem;
    overflow: hidden;
    position: relative;
}

.deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .deal-image {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    height: 1.82rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.project-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    height: 6.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
    height: 2rem;
    overflow: hidden;
    align-items: center;
}

.project-tech span {
    background: var(--border-color);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 0;
}

.project-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--accent-secondary);
}



/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-social-links {
        justify-content: center;
    }

    .article-card {
        width: 300px;
    }

    .project-card {
        width: 300px;
    }

    .scroll-arrow.left {
        left: 0px;
    }

    .scroll-arrow.right {
        right: 0px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .profile-pic {
        width: 140px;
        height: 140px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Article Page Styles */
.article-page {
    padding: 120px 0 60px 0;
    background: var(--bg-primary);
    min-height: 100vh;
}

.article-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.article-container {
    min-width: 0;
    max-width: 900px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-breadcrumb a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: var(--accent-secondary);
}

.article-header {
    margin-bottom: 3rem;
}

/* Article Banner */
.article-banner-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-banner {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1200 / 644;
    object-fit: cover;
}

#article-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.article-author {
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-separator {
    color: var(--text-muted);
}

/* Article Body - Markdown Styles */
.article-body {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-body h1:first-of-type {
    display: none !important;
}

.article-body h1 {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.article-body h2 {
    font-size: 1.5rem;
}

.article-body h3 {
    font-size: 1.25rem;
}

.article-body h4 {
    font-size: 1.1rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-primary);
    transition: color 0.3s ease;
}

.article-body a:hover {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #7f8c8d;
    background: rgba(175, 211, 226, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.article-body blockquote p {
    margin-bottom: 0;
}

.article-body code {
    background: var(--bg-tertiary);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--text-primary);
}

.article-body pre {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.article-body pre code {
    background: none;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.article-body hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 3rem 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.article-body table th,
.article-body table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.article-body table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

/* Article Footer */
.article-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-share {
    margin-bottom: 2rem;
}

.article-share h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    padding: 0;
}

.sidebar-widget {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sidebar-widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--accent-primary);
    letter-spacing: -0.02em;
}

/* Recent Articles */
.sidebar-recent-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-recent-item {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e8e8e8;
}

.sidebar-recent-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-recent-item a {
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease;
}

.sidebar-recent-item a:hover {
    transform: translateX(4px);
}

.recent-article-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.sidebar-recent-item a:hover .recent-article-title {
    color: var(--accent-primary);
}

.recent-article-date {
    font-size: 0.7rem;
    color: #95a5a6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-item {
    margin-bottom: 0.4rem;
}

.sidebar-category-item:last-child {
    margin-bottom: 0;
}

.sidebar-category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #34495e;
    transition: all 0.3s ease;
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    background: #f8f9fa;
}

.sidebar-category-item a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateX(4px);
}

.category-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.category-count {
    font-size: 0.75rem;
    background: white;
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
    font-weight: 600;
}

.sidebar-category-item a:hover .category-count {
    background: rgba(255,255,255,0.3);
    color: white;
}

/* Archive */
.sidebar-archive {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-archive-item {
    margin-bottom: 0.4rem;
}

.sidebar-archive-item:last-child {
    margin-bottom: 0;
}

.sidebar-archive-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #34495e;
    transition: all 0.3s ease;
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    background: #fafbfc;
}

.sidebar-archive-item a:hover {
    background: #e8f4f8;
    color: var(--accent-primary);
    transform: translateX(4px);
}

.archive-month {
    font-weight: 600;
    font-size: 0.8rem;
}

.archive-count {
    font-size: 0.7rem;
    background: #e3e8ed;
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
    font-weight: 600;
    color: #5a6c7d;
}

.sidebar-archive-item a:hover .archive-count {
    background: var(--accent-primary);
    color: white;
}

/* Responsive Sidebar */
@media (max-width: 968px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: calc(100vh - 80px);
        background: white;
        z-index: 999;
        overflow-y: auto;
        transition: right 0.3s ease;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .article-sidebar.active {
        right: 0;
    }
}

@media (max-width: 640px) {
    .article-sidebar {
        width: 90%;
    }
}

.back-to-home:hover {
    color: var(--accent-secondary);
}

.back-to-home i {
    transition: transform 0.3s ease;
}

.back-to-home:hover i {
    transform: translateX(-5px);
}

/* Responsive Article Styles */
@media (max-width: 768px) {
    #article-page-title {
        font-size: 2rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h1 {
        font-size: 1.75rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .article-body h3 {
        font-size: 1.25rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation for buttons */
.btn:active {
    transform: scale(0.95);
}

/* Hover effects for interactive elements */
.nav-link:hover,
.project-link:hover,
.social-link:hover {
    transform: translateY(-2px);
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.project-link:focus,
.social-link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}


 