/* 3D & Animations Upgrade */

:root {
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --accent-color: #f15a24;
}

/* 3D Background Container */
#vanta-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-3d-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(11, 28, 63, 0.8) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-3d-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #0b1c3f !important;
    color: #ffffff !important;
    padding: 160px 0 100px; /* Ample padding instead of 100vh */
}

.hero-3d-wrapper h1, 
.hero-3d-wrapper p,
.hero-3d-wrapper .title-small {
    color: #ffffff !important;
}

.hero-3d-wrapper p {
    opacity: 0.9;
}

/* Ensure mobile menu icon is white */
.custom-menu-toggle img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.custom-menu-toggle {
    z-index: 1001;
    cursor: pointer;
    display: none; /* Hidden on desktop by default */
}

@media screen and (max-width: 991px) {
    .custom-menu-toggle {
        display: block;
    }
}

.custom-menu-toggle.active img {
    transform: rotate(90deg) scale(1.1);
}

/* Sticky Navbar Styles */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important; /* Force transparent at top */
}

.navbar.scrolled, 
.navbar.menu-open {
    background: rgba(11, 28, 63, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
}

/* Force navbar text and logo to white on scroll (Desktop & Mobile) */
.navbar.scrolled .nav-link-2,
.navbar.menu-open .nav-link-2,
.navbar.scrolled .login-link,
.navbar.menu-open .login-link {
    color: #ffffff !important;
}

.navbar.scrolled .header-logo,
.navbar.menu-open .header-logo {
    filter: brightness(0) invert(1) !important;
}


/* Glassmorphism Styles */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Animation Utilities - Always visible by default for rock-solid reliability */
.gsap-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Tilt Effect Placeholder */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.tilt-inner {
    transform: translateZ(20px);
}

/* Desktop Navigation Spacing */
@media screen and (min-width: 992px) {
    .custom-nav-menu {
        display: flex !important;
        align-items: center;
        gap: 30px;
    }
}

/* Mobile Menu GSAP Preparation */
@media screen and (max-width: 991px) {
    .custom-nav-menu {
        display: flex !important; /* Force display for GSAP */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 85%;
        height: 100vh;
        background: rgba(11, 28, 63, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 40px;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .custom-nav-menu .nav-link-2 {
        opacity: 0;
        transform: translateX(50px);
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 25px;
        color: #ffffff !important; /* Always white on dark mobile menu */
        text-decoration: none;
        display: block;
        transition: color 0.3s ease;
    }

    .custom-nav-menu .nav-link-2:active {
        color: var(--accent-color) !important;
    }

    /* Force navbar text to white on mobile if navbar is dark or menu is open */
}

/* Section Transitions */
section {
    position: relative;
    z-index: 1;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--accent-color);
}

/* Active Nav Link Styles */
.nav-link-2.custom-active {
    color: var(--accent-color) !important;
    font-weight: 600;
    position: relative;
}

.nav-link-2.custom-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.mobile-only {
    display: none !important;
}

@media screen and (max-width: 991px) {
    .mobile-only {
        display: block !important;
    }
}

/* Body scroll lock */
body.no-scroll {
    overflow: hidden;
}

/* ==========================================================================
   3D Particle Earth Matrix Live & Hero Showcase Engine
   ========================================================================== */

@keyframes pingPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes fadeInStage {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes radarExpand {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(2.8); opacity: 0; }
}

.hero-stage-showcase {
    position: relative;
    width: 48%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    z-index: 10;
    margin-left: auto;
}

@media screen and (max-width: 991px) {
    .hero-stage-showcase {
        width: 100%;
        max-width: 480px;
        margin: 40px auto 0;
    }
}

/* 3D Particle Earth Matrix Stage Container */
.earth-matrix-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: fadeInStage 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


/* 1. HUD Telemetry Bar */
.earth-hud-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-radius: 16px;
    background: rgba(10, 20, 45, 0.75);
    border: 1px solid rgba(0, 229, 255, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    margin-bottom: 10px;
    font-size: 11px;
    color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hud-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 10px #00e5ff;
    animation: pingPulse 1.6s infinite;
    display: inline-block;
}

.hud-title {
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hud-title i {
    color: #00e5ff;
}

.hud-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10.5px;
    color: #94a3b8;
}

.node-count {
    color: #00e5ff;
    font-weight: 700;
}

.hud-sep {
    color: #475569;
}

.live-corridors {
    color: #34d399;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.live-corridors i {
    font-size: 10px;
}

/* 2. Three.js Canvas Stage */
.earth-canvas-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: none;
    border-radius: 24px;
}

.earth-canvas-wrapper:active {
    cursor: grabbing;
}

.earth-canvas-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 5;
    border-radius: 24px;
    outline: none;
}

.earth-ambient-glow {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.22) 0%, rgba(28, 126, 214, 0.12) 48%, transparent 74%);
    filter: blur(36px);
    pointer-events: none;
    z-index: 1;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(5, 12, 30, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hub-corridor-badge {
    top: 6px;
    right: 0;
    border-color: rgba(0, 229, 255, 0.4);
}

.sla-speed-badge {
    bottom: 6px;
    left: 0;
    border-color: rgba(52, 211, 153, 0.4);
}

.badge-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.badge-icon-box.pulse-cyan {
    background: rgba(0, 229, 255, 0.18);
    color: #00e5ff;
}

.badge-icon-box.pulse-emerald {
    background: rgba(52, 211, 153, 0.18);
    color: #34d399;
}

.badge-label {
    font-size: 9px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.badge-value {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.badge-value.text-emerald {
    color: #34d399;
}

/* 3. Bottom Controls & Hub Pills */
.earth-controls-bar {
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(10, 20, 45, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.controls-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 8px;
    color: #94a3b8;
}

.meta-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-label i {
    color: #00e5ff;
}

.meta-tag {
    font-size: 10px;
    font-family: monospace;
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.28);
    padding: 2px 8px;
    border-radius: 6px;
}

.hub-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-pill-btn {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.hub-pill-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hub-pill-btn.active {
    background: #00e5ff;
    color: #0a1128;
    font-weight: 700;
    border-color: #00e5ff;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.45);
}

/* ==========================================================================
   Services Section & Cards Styling
   ========================================================================== */
.collection-list-wrapper-service {
    margin-top: 35px !important;
    width: 100% !important;
}

.collection-item-services {
    background: #ffffff !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(11, 28, 63, 0.08) !important;
    box-shadow: 0 4px 18px rgba(11, 28, 63, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    overflow: hidden;
}

.collection-item-services:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(241, 90, 36, 0.4) !important;
    box-shadow: 0 12px 32px rgba(11, 28, 63, 0.1) !important;
}

.collection-item-services .arrow-services {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 24px 32px !important;
    border-bottom: none !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 24px !important;
}

.collection-item-services .service-icon-box {
    background: rgba(241, 90, 36, 0.08) !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
    transition: background 0.3s ease, transform 0.3s ease !important;
}

.collection-item-services:hover .service-icon-box {
    background: #f15a24 !important;
    transform: scale(1.06) !important;
}

.collection-item-services:hover .service-icon-box i {
    color: #ffffff !important;
}

.collection-item-services .service-name {
    color: #0b1c3f !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    width: 25% !important;
    min-width: 200px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.collection-item-services .services {
    color: #475569 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    flex: 1 !important;
    width: auto !important;
    margin: 0 !important;
}

.collection-item-services .services-arrow {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    opacity: 0.6 !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

.collection-item-services:hover .services-arrow {
    opacity: 1 !important;
    transform: translateX(6px) !important;
}

@media screen and (max-width: 991px) {
    .collection-item-services .arrow-services {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
        gap: 14px !important;
    }
    .collection-item-services .service-name {
        width: 100% !important;
        min-width: unset !important;
    }
    .collection-item-services .services {
        width: 100% !important;
    }
    .collection-item-services .services-arrow {
        align-self: flex-end !important;
    }
}

/* ==========================================================================
   Blog / News Section & Cards Styling
   ========================================================================== */
.collection-list-wrapper-blog-home {
    margin-top: 36px !important;
    width: 100% !important;
}

.collection-list-blog-home {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

@media screen and (max-width: 991px) {
    .collection-list-blog-home {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media screen and (max-width: 767px) {
    .collection-list-blog-home {
        grid-template-columns: 1fr !important;
    }
}

.collection-item-blog-home {
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(11, 28, 63, 0.08) !important;
    box-shadow: 0 4px 20px rgba(11, 28, 63, 0.05) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
}

.collection-item-blog-home:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 36px rgba(11, 28, 63, 0.12) !important;
    border-color: rgba(241, 90, 36, 0.3) !important;
}

.collection-item-blog-home .img-blog-link {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
    background-color: #0b1c3f !important;
}

.collection-item-blog-home .blog-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.collection-item-blog-home:hover .blog-img {
    transform: scale(1.06) !important;
}

.collection-item-blog-home .content-blog {
    padding: 24px 26px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    background: #ffffff !important;
}

.collection-item-blog-home .content-blog .blog-date-badge {
    font-size: 13px !important;
    color: #f15a24 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.collection-item-blog-home .content-blog .h4-link {
    color: #0b1c3f !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    margin: 0 !important;
    transition: color 0.2s ease !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.collection-item-blog-home:hover .content-blog .h4-link {
    color: #f15a24 !important;
}

.collection-item-blog-home .content-blog .blog-read-more {
    margin-top: auto !important;
    padding-top: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #0b1c3f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.collection-item-blog-home:hover .content-blog .blog-read-more {
    color: #f15a24 !important;
    transform: translateX(4px) !important;
}

/* ==========================================================================
   Blog Page Archive & Single Post Theme Styling
   ========================================================================== */

/* 1. Blog Hero Banner */
.blog-hero-section {
    background: radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(241, 90, 36, 0.08) 0%, transparent 50%),
                #07132c;
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.blog-hero-section .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.blog-hero-section .breadcrumb-nav a {
    color: #00e5ff;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-hero-section .breadcrumb-nav a:hover {
    color: #ffffff;
}

.blog-hero-section .blog-hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #ffffff;
    max-width: 800px;
}

.blog-hero-section .blog-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 680px;
    margin: 0;
}

/* 2. Blog Search & Filter Bar */
.blog-filter-section {
    padding: 30px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 76px;
    z-index: 40;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.blog-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.blog-category-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pill {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-pill:hover {
    color: #f15a24;
    background: #fff7ed;
    border-color: rgba(241, 90, 36, 0.4);
    transform: translateY(-2px);
}

.blog-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, #f15a24, #ff7a45);
    border-color: #f15a24;
    box-shadow: 0 4px 14px rgba(241, 90, 36, 0.35);
}

.blog-pill .pill-count {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.08);
}

.blog-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
}

.blog-search-box {
    display: flex;
    align-items: center;
    position: relative;
    min-width: 280px;
}

.blog-search-box input {
    width: 100%;
    padding: 10px 42px 10px 18px;
    border-radius: 24px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    outline: none;
    transition: all 0.25s;
    background: #f8fafc;
}

.blog-search-box input:focus {
    background: #ffffff;
    border-color: #00e5ff;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.blog-search-box button {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 15px;
    transition: color 0.2s;
}

.blog-search-box button:hover {
    color: #f15a24;
}

/* 3. Blog Main Archive Container & Grid */
.blog-archive-section {
    padding: 70px 0 100px;
    background-color: #f8fafc;
    min-height: 500px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media screen and (max-width: 991px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    .blog-hero-section .blog-hero-title {
        font-size: 32px;
    }
}

/* Floating Category & Reading Time Badge on Cards */
.img-blog-link .category-badge-overlay {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: rgba(7, 19, 44, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.img-blog-link .read-time-overlay {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 4. Pagination */
.blog-pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #0b1c3f;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s;
}

.blog-pagination-wrapper .page-numbers:hover {
    color: #f15a24;
    border-color: #f15a24;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(241, 90, 36, 0.15);
}

.blog-pagination-wrapper .page-numbers.current {
    background: #f15a24;
    color: #ffffff;
    border-color: #f15a24;
    box-shadow: 0 4px 14px rgba(241, 90, 36, 0.35);
}

/* 5. Single Article Presentation */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #f15a24, #00e5ff);
    z-index: 99999;
    transition: width 0.1s;
}

.single-post-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 90px;
}

.single-post-header {
    margin-bottom: 35px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.single-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-post-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    color: #0b1c3f;
    margin-bottom: 24px;
}

.single-post-hero-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 45px;
    box-shadow: 0 16px 40px rgba(11, 28, 63, 0.08);
}

.single-post-body {
    font-size: 18px;
    line-height: 1.85;
    color: #334155;
}

.single-post-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0b1c3f;
    margin: 45px 0 18px;
}

.single-post-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0b1c3f;
    margin: 35px 0 14px;
}

.single-post-body p {
    margin-bottom: 24px;
}

.single-post-body blockquote {
    border-left: 4px solid #f15a24;
    background: #fff7ed;
    padding: 20px 28px;
    border-radius: 0 14px 14px 0;
    font-style: italic;
    color: #9a3412;
    margin: 35px 0;
    font-size: 19px;
    line-height: 1.7;
}

.single-post-body ul, .single-post-body ol {
    margin: 20px 0 30px 24px;
}

.single-post-body li {
    margin-bottom: 12px;
}

.single-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(11, 28, 63, 0.08);
    display: block;
}

.single-post-body figure {
    margin: 30px 0;
}

.single-post-body figcaption {
    font-size: 13.5px;
    color: #64748b;
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.single-author-card {
    margin-top: 60px;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.single-author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00e5ff;
}

.single-author-info h5 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #0b1c3f;
}

.single-author-info p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}





