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

:root {
    /* Sophisticated Navy & Copper Palette inspired by tech/circuitry aesthetics */
    --primary-color: #112240; /* Navy Blue */
    --secondary-color: #0a192f; /* Deep Dark Navy */
    --accent-color: #e8aa8d; /* Copper/Peach Accent */
    --accent-light: #fcd5c1; /* Soft Peach for highlights */
    --text-light: #e6f1ff; /* Bright off-white for contrast */
    --text-muted: #8892b0; /* Blue-grey for secondary text */
    --text-dark: #0a192f; /* Deep navy for contrast on light buttons */
    --glass-bg: rgba(255, 255, 255, 0.05); /* Slightly more transparent for darker bg */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --shadow: rgba(0, 0, 0, 0.4); /* Stronger shadow on dark background */
    --shadow-hover: rgba(0, 0, 0, 0.6);
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background: var(--secondary-color);
    background-attachment: fixed;
}

/* Animated Background Gradient */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Deep navy with a subtle peach/copper glow for tech ambiance */
    background: radial-gradient(circle at 10% 20%, rgba(232, 170, 141, 0.05) 0%, transparent 40%),
                linear-gradient(135deg, #0a192f 0%, #112240 50%, #1b2735 100%);
    background-size: 400% 400%;
    background-attachment: fixed;
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glass Morphism Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px); /* Increased blur for better separation */
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px 0 var(--shadow);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: var(--glass-hover);
    box-shadow: 0 20px 60px 0 var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.highlight {
    background: linear-gradient(135deg, #e8aa8d 0%, #fcd5c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark); /* Dark text on copper button */
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(232, 170, 141, 0.3);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 170, 141, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    text-align: center;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.skill-card p {
    color: var(--text-muted);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 4rem;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-block;
}

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

/* About Page */
.about-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

.about-card {
    max-width: 900px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-image {
    flex: 0 0 200px;
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.about-details {
    padding: 3rem 0;
}

.detail-card {
    margin-bottom: 2rem;
}

.detail-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.detail-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    border: 3px solid var(--primary-color);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.education-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.education-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.education-item p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.edu-date {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.interest-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.interest-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.interest-item p {
    font-weight: 600;
}

/* Blog Page */
.blog-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

.blog-hero-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-card h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero-card p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.blog-posts {
    padding: 3rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    font-size: 4rem;
}

.blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.blog-category {
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-date {
    opacity: 0.8;
    font-size: 0.9rem;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.blog-excerpt {
    opacity: 0.9;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    display: inline-block;
}

.blog-read-more:hover {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.pagination-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 2rem;
}

.pagination-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-weight: 600;
}

/* Newsletter Section */
.newsletter {
    padding: 3rem 0;
}

.newsletter-card {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-card p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    padding: 2rem 0;
}

.footer-card {
    text-align: center;
}

.footer-card p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 25, 47, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .about-text h1 {
        font-size: 2rem;
    }

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

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .pagination-card {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .profile-placeholder {
        width: 150px;
        height: 150px;
        font-size: 4rem;
    }

    .about-image {
        flex: 0 0 150px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}


/* Enhanced About Page Styles */
.about-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.card-header h2 {
    font-size: 2rem;
    margin: 0;
}

.card-body {
    line-height: 1.8;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.card-body h4 {
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

/* Skills Grid Enhancement */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-category {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.skill-category h4 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.skill-category p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.contact-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--text-light);
    transform: scale(1.05);
}

/* Enhanced Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.education-item {
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-align: center;
}

.education-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.education-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.education-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.education-item p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 0.8rem;
}

.edu-date {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: 0 0 150px;
    }

    .profile-placeholder {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }

    .about-text h1 {
        font-size: 2rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-text h1 {
        font-size: 1.5rem;
    }

    .about-intro {
        font-size: 1rem;
    }

    .card-header h2 {
        font-size: 1.3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* Blog Post Page Styles */
.blog-post-section {
    padding: 5rem 0;
    min-height: 80vh;
}

.blog-post-article {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 120px;
}

.blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.blog-post-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.blog-author,
.blog-date,
.blog-category {
    display: flex;
    align-items: center;
    opacity: 0.85;
}

.blog-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.blog-post-body {
    line-height: 1.9;
    font-size: 1.05rem;
}

.blog-post-body h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.blog-post-body h3 {
    font-size: 1.4rem;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
}

.blog-post-body p {
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

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

.blog-post-body li {
    margin-bottom: 0.6rem;
    opacity: 0.9;
}

.blog-post-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.blog-post-body code {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--accent-color);
}

.blog-post-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Blog Table Styles */
.blog-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.blog-table thead {
    background: rgba(255, 255, 255, 0.1);
}

.blog-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--accent-color);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.blog-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-table tr:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Blog Post Footer */
.blog-post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.blog-back-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.blog-back-link:hover {
    color: var(--text-light);
    transform: translateX(-5px);
}

/* Responsive Blog Post */
@media (max-width: 768px) {
    .blog-post-article {
        padding-top: 100px;
    }

    .blog-post-header h1 {
        font-size: 2rem;
    }

    .blog-post-body {
        font-size: 1rem;
    }

    .blog-post-body h2 {
        font-size: 1.6rem;
    }

    .blog-post-body h3 {
        font-size: 1.2rem;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-table {
        font-size: 0.9rem;
    }

    .blog-table th,
    .blog-table td {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .blog-post-header h1 {
        font-size: 1.5rem;
    }

    .blog-post-body {
        font-size: 0.95rem;
    }

    .blog-post-body h2 {
        font-size: 1.3rem;
    }

    .blog-post-body h3 {
        font-size: 1.1rem;
    }

    .blog-post-body pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
}


/* Blog Navigation Styles */
.blog-breadcrumb {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-breadcrumb a:hover {
    color: var(--accent-light);
    transform: translateX(-5px);
}

/* Blog Post Navigation */
.blog-post-nav {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.blog-nav-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.blog-nav-btn {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
}

.blog-nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.blog-nav-prev {
    justify-content: flex-start;
}

.blog-nav-next {
    justify-content: flex-end;
}

.blog-nav-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.04);
}

/* Blog Statistics */
.blog-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    color: var(--accent-color);
}

/* Category Filter Buttons */
.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-filter {
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-filter:hover,
.category-filter.active {
    background: var(--accent-color);
    color: var(--text-dark);
    border-color: var(--accent-color);
}

/* Blog Search */
.blog-search {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.blog-search-input {
    width: 100%;
    max-width: 500px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.blog-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

/* Responsive Blog Navigation */
@media (max-width: 768px) {
    .blog-nav-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blog-nav-btn {
        min-height: 50px;
        font-size: 0.95rem;
    }

    .blog-stats {
        gap: 1rem;
    }

    .category-filters {
        gap: 0.5rem;
    }

    .category-filter {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-nav-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .blog-breadcrumb a {
        font-size: 0.9rem;
    }

    .stat-item {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}
