/* OMRE Software Development Company - Deep Refined Styles */

:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --primary-accent: #00d2ff;
    --secondary-accent: #3a7bd5;
    --gradient-main: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-color: rgba(0, 210, 255, 0.3);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    /* Fade in on load */
    transition: opacity 0.8s ease-in-out;
}

body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.shown {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    background: var(--gradient-main);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:active::before {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 0%;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #050505;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    padding: 10px 0;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-accent);
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 2001;
}

.burger span {
    width: 25px;
    height: 2px;
    background: #050505;
    transition: 0.3s;
}

/* Mega Menu */
.mega-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 60px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.mega-grid.nested-view {
    grid-template-columns: 1fr 1px 1fr 1fr;
}

.mega-divider {
    background: var(--glass-border);
    width: 1px;
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mega-item {
    font-size: 1rem;
    color: #555;
    padding: 5px 0;
}

.mega-item:hover {
    color: var(--primary-accent);
    transform: translateX(8px);
}

.mega-item.highlight {
    color: var(--primary-accent);
    font-weight: 600;
}

/* 1. Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff 40%, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

/* Sub-page Hero Variant */
.sub-page .hero {
    min-height: 60vh;
    padding-top: calc(var(--header-height) + 60px);
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.05) 0%, transparent 70%);
}

.sub-page .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.sub-page .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-stack {
    position: relative;
    width: 300px;
    height: 400px;
    transform-style: preserve-3d;
}

.glass-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: transform 0.1s ease-out;
}

.layer-1 {
    transform: translateZ(20px) rotateX(10deg) rotateY(-10deg);
}

.layer-2 {
    transform: translateZ(50px) rotateX(10deg) rotateY(-10deg) translate(30px, -30px);
    opacity: 0.6;
}

.layer-3 {
    transform: translateZ(80px) rotateX(10deg) rotateY(-10deg) translate(60px, -60px);
    opacity: 0.3;
}

/* 2. Trust Strip */
.trust-strip {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.trust-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    opacity: 0.5;
}

.logo-placeholder {
    width: 140px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 200%;
    }
}

/* 3. Services Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Industry Specific Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-12px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.learn-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 4. Capabilities */
.feature-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-visual {
    flex: 1;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-visual::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary-accent);
    filter: blur(80px);
    opacity: 0.2;
    animation: pulse-glow 6s infinite alternate;
}

@keyframes pulse-glow {
    from {
        transform: scale(1);
        opacity: 0.1;
    }

    to {
        transform: scale(1.5);
        opacity: 0.3;
    }
}

.feature-tag {
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* 5. Tech Marquee */
.marquee-container {
    overflow: hidden;
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.tech-chip {
    padding: 12px 30px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-content {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 6. Case Studies */
.case-study-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.case-study-img {
    height: 240px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-img::after {
    content: 'OMRE';
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 10px;
    opacity: 0.05;
}

.case-study-body {
    padding: 30px;
}

.case-study-tag {
    font-size: 0.75rem;
    background: var(--glass-border);
    padding: 4px 12px;
    border-radius: 20px;
}

.case-study-card ul {
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.case-study-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.case-study-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
}

/* 7. Industries List */
.industry-split {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 60px;
    margin-top: 60px;
}

.industry-list li {
    padding: 18px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.industry-list li:hover {
    color: #fff;
    padding-left: 10px;
}

/* 9. Process Timeline */
.timeline-row {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}

.timeline-row::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: 0.3s;
}

.step:hover .step-circle {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
    transform: scale(1.1);
}

.step h4 {
    margin-bottom: 10px;
}

.step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0 15px;
}

/* 10. FAQ Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
}

.accordion-header {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 25px;
}

/* 11. Final CTA */
.cta-band {
    background: var(--gradient-main);
    padding: 100px 0;
    text-align: center;
    border-radius: 40px;
    margin-bottom: -60px;
    position: relative;
    z-index: 2;
}

.cta-band h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #fff;
}

/* Footer Improvements */
footer {
    padding-top: 120px;
    background-color: #f8f9fa;
    color: #050505;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #050505;
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #444;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-accent);
}

.footer-info {
    font-size: 0.95rem;
    color: #444;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

/* Floating Background Blobs - Refined */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-accent);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary-accent);
    bottom: 10%;
    right: -200px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

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

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

    .hero-visual {
        display: none;
    }

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 40px;
    }

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

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

    .industry-split {
        grid-template-columns: 1fr;
    }

    .industry-divider {
        display: none;
    }

    .timeline-row {
        flex-direction: column;
        gap: 40px;
    }

    .timeline-row::after {
        display: none;
    }

    .step {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
    }

    .step-circle {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- Blog Section Styles --- */

.blog-filter-bar {
    display: flex;
    padding: 20px 30px;
    gap: 20px;
    margin: -40px auto 40px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.search-group {
    flex: 2;
}

#blog-search {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: #fff;
    outline: none;
}

#blog-search:focus {
    border-color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.08);
}

#category-select,
#sort-select {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    appearance: none;
}

.tag-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.tag-chip {
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.tag-chip:hover,
.tag-chip.active {
    border-color: var(--primary-accent);
    color: #fff;
    background: rgba(0, 210, 255, 0.1);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 60px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.pagination-btn:hover:not(:disabled),
.pagination-btn.active {
    background: var(--primary-accent);
    border-color: var(--primary-accent);
    color: #000;
}

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

/* Single Blog Post */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-main);
    z-index: 2000;
    transition: width 0.1s;
}

.blog-post-page .hero {
    padding-top: 180px;
    min-height: auto;
}

.blogs-listing-page .hero {
    padding-top: 120px;
    min-height: auto;
}

.single-post {
    padding-top: 220px;
}

header {
    z-index: 1000 !important;
}

.post-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.post-header h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0;
    width: 100%;
}

.post-meta-top {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.post-hero-image {
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 80px;
    border: 1px solid var(--glass-border);
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
}

.toc-sticky {
    position: sticky;
    top: 140px;
    padding: 30px;
}

.toc-sticky h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

#toc-nav a {
    display: block;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: 0.3s;
}

#toc-nav a:hover,
#toc-nav a.active {
    color: var(--primary-accent);
    padding-left: 5px;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body h2 {
    font-size: 2.2rem;
    margin: 60px 0 30px;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body ul {
    margin-bottom: 30px;
    padding-left: 20px;
    list-style: disc;
}

.article-body li {
    margin-bottom: 12px;
}

.share-band {
    margin-top: 80px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.share-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
}

.share-btn:hover {
    background: var(--bg-card-hover);
    border-color: #fff;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--primary-accent);
}

@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        order: 2;
    }

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

    .post-hero-image {
        height: 350px;
    }

    .blog-filter-bar {
        margin: 20px auto;
    }
}

@media (max-width: 600px) {
    .blog-filter-bar {
        padding: 15px;
        gap: 10px;
    }

    .filter-group {
        min-width: 100%;
    }
}