.image-container {
    background: rgba(255, 255, 255, 0.1);
    transition: .3s all ease
}

.fw-600 {
    font-weight: 600;
}

.image-container:hover {
    background: #ffbd39;
    transition: .3s all ease
}

.image-container img {
    width: 100%;
    aspect-ratio: 1 / 1; /* defining the aspect ratio of the image */
    object-fit: cover;
}

.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
    font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
    font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
    font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fs-6 {
    font-size: 1rem !important;
}

@media (min-width: 1200px) {
    .fs-1 {
        font-size: 2.5rem !important;
    }

    .fs-2 {
        font-size: 2rem !important;
    }

    .fs-3 {
        font-size: 1.75rem !important;
    }

    .fs-4 {
        font-size: 1.5rem !important;
    }
}

.ftco-navbar-light.scrolled .navbar-toggler {
    color: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(0, 0, 0, 0.5) !important;
}

.z-n1 {
    z-index: -1 !important;
}

.z-0 {
    z-index: 0 !important;
}

.z-1 {
    z-index: 1 !important;
}

.z-2 {
    z-index: 2 !important;
}

.z-3 {
    z-index: 3 !important;
}

.ls-1 {
    letter-spacing: 3px;
}

/*body {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    !* Add your background pattern here *!*/
/*    !*background-color: #313131;*!*/
/*    background-image: radial-gradient(rgba(255, 210, 0, 0.17) 3px, transparent 0);*/
/*    background-size: 50px 50px;*/
/*    background-position: -5px -5px*/
/*}*/

body {
    width: 100%;
    height: 100%;
    --color: rgba(114, 114, 114, 0.1);
    background-color: #191a1a;
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent);
    background-size: 55px 55px;
}

.ftco-footer {
    background-color: #000000 !important;
}

/* Hero Section Fix - Prevent Parallax Background Issues */
.hero-wrap {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: relative !important;
    min-height: 100vh !important;
}

.hero-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

/* Disable stellar parallax effects that cause positioning issues */
.hero-wrap[data-stellar-background-ratio] {
    background-attachment: fixed !important;
    transform: none !important;
    will-change: auto !important;
}

/* Force hero section to maintain proper position on all devices */
@media (max-width: 768px) {
    .hero-wrap {
        background-attachment: scroll !important; /* Fixed backgrounds can cause issues on mobile */
    }
}

/* Blog Dark Theme Styles - No Animations */
.blog-section-dark {
    background-color: #1a1a1a;
    padding: 60px 0;
    position: relative;
    --color: rgba(114, 114, 114, 0.03);
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
}

/* Removed animations that were causing visibility issues */

.blog-content-area {
    border-radius: 8px;
}

.blog-post-card {
    background: #2d2d2d;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    border-color: #ffbd39;
}

.blog-meta {
    border-bottom: 1px solid #404040;
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.blog-meta .d-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.meta-author, .meta-date, .meta-time {
    color: #b0b0b0;
    font-size: 14px;
}

.meta-author i {
    color: #ffbd39;
}

.meta-date i {
    color: #66bb6a;
}

.meta-time i {
    color: #ffcc02;
}

.blog-image {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #404040;
    margin-bottom: 24px;
}

.blog-image img {
    width: 100%;
}


.blog-content {
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 16px;
}

.tags-card {
    background: #2d2d2d;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    margin-bottom: 30px;
}

.tags-card h5 {
    color: #e0e0e0;
    margin-bottom: 15px;
    font-weight: 600;
}

.tag-cloud-link {
    display: inline-block;
    background: #ffbd39;
    color: #1a1a1a;
    padding: 5px 12px;
    margin: 3px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.tag-cloud-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tag-cloud-link:hover::before {
    left: 100%;
}

.tag-cloud-link:hover {
    background: #ffcc02;
    transform: translateY(-2px) scale(1.05);
    color: #1a1a1a;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(255, 189, 57, 0.3);
}

.about-author {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    margin-bottom: 30px;
}

.author-bio img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffbd39;
}

.author-bio h4 {
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 600;
}

.author-bio p {
    color: #b0b0b0;
    margin: 0;
    line-height: 1.6;
}

.blog-cta {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    margin-bottom: 30px;
    text-align: center;
}

.blog-cta h4 {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.blog-cta p {
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-btn {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.social-btn-twitter {
    background: #1da1f2;
    color: white;
}

.social-btn-linkedin {
    background: #0077b5;
    color: white;
}

.social-btn-github {
    background: #24292e;
    color: white;
}

/* Sidebar Styles - No Animations */
.sidebar-dark {
    padding-left: 30px;
}

.sidebar-box {
    background: #2d2d2d;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #404040;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.sidebar-box:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    border-color: #555;
}

.sidebar-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    --color: rgba(114, 114, 114, 0.02);
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%, transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%, transparent);
    background-size: 30px 30px;
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
}

.sidebar-box > * {
    position: relative;
    z-index: 2;
}

.sidebar-box h5 {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Modern Search Bar Design - Simplified Fix */
.search-input {
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 8px 0 0 8px;
    padding: 14px 16px;
    font-size: 14px;
    color: #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-right: none;
}

.search-input:focus {
    border-color: #ffbd39;
    box-shadow: 0 0 0 3px rgba(255, 189, 57, 0.1);
    outline: none;
}

.search-input::placeholder {
    color: #888;
    font-weight: 400;
}

.search-btn {
    background: #ffbd39;
    color: #1a1a1a;
    border: 1px solid #ffbd39;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: none;
}

.search-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    background: #ffcc02;
    border-color: #ffcc02;
    color: #1a1a1a;
    box-shadow: 0 4px 8px rgba(255, 189, 57, 0.2);
}

.search-btn:hover i {
    transform: scale(1.1);
}

.search-btn:focus {
    background: #ffbd39;
    border-color: #ffbd39;
    color: #1a1a1a;
    outline: 2px solid #ffbd39;
    outline-offset: 2px;
}

.categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories li {
    border-bottom: 1px solid #404040;
    padding: 10px 0;
}

.categories li:last-child {
    border-bottom: none;
}

.categories a {
    color: #b0b0b0;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5px 10px;
    margin: -5px -10px;
    border-radius: 6px;
    position: relative;
}

.categories a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ffbd39;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.categories a:hover::before {
    transform: scaleY(1);
}

.categories a:hover, .categories a:focus {
    color: #ffbd39;
    text-decoration: none;
    background: rgba(255, 189, 57, 0.05);
    transform: translateX(5px);
}

.category-count {
    color: #ffbd39 !important;
    font-weight: 500;
}

.recent-post {
    border-bottom: 1px solid #404040;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.recent-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recent-post {
    transition: all 0.3s ease;
    padding: 15px 10px;
    margin: -15px -10px 15px -10px;
    border-radius: 8px;
}

.recent-post:hover {
    background: rgba(255, 189, 57, 0.03);
    transform: translateX(3px);
}

.recent-post h6 a {
    color: #e0e0e0;
    text-decoration: none;
    line-height: 1.4;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.recent-post h6 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffbd39;
    transition: width 0.3s ease;
}

.recent-post h6 a:hover::after {
    width: 100%;
}

.recent-post h6 a:hover, .recent-post h6 a:focus {
    color: #ffbd39;
    text-decoration: none;
}

.recent-post small {
    color: #888;
    font-size: 12px;
}

.recent-post small i {
    color: #66bb6a;
}

.sidebar-about {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* Phase 2: Responsive Design & Accessibility */
@media (max-width: 991px) {
    .sidebar-dark {
        padding-left: 0;
        margin-top: 40px;
    }

    .blog-post-card {
        padding: 30px 20px;
    }

    .sidebar-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .blog-section-dark {
        padding: 40px 0;
    }

    .blog-post-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }

    .sidebar-box {
        padding: 20px 15px;
    }

    .tag-cloud-link {
        font-size: 11px;
        padding: 4px 10px;
    }
}

@media (max-width: 576px) {
    .blog-section-dark {
        padding: 30px 0;
    }

    .blog-post-card:hover {
        transform: translateY(-2px);
    }

    .sidebar-box:hover {
        transform: translateY(-1px);
    }

    .meta-author, .meta-date, .meta-time {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .blog-meta .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Enhanced Focus States for Accessibility */
.search-btn:focus,
.tag-cloud-link:focus,
.categories a:focus,
.recent-post h6 a:focus {
    outline: 2px solid #ffbd39;
    outline-offset: 2px;
}

.search-input:focus {
    border-color: #ffbd39;
    box-shadow: 0 0 0 3px rgba(255, 189, 57, 0.1);
}

/* Typography Enhancements */
.blog-content h1, .blog-content h2, .blog-content h3 {
    color: #ffffff;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.blog-content h1 {
    font-size: 2.2em;
    font-weight: 700;
}

.blog-content h2 {
    font-size: 1.8em;
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.4em;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.2em;
}

/* Inline code only - not code blocks */
.blog-content p code,
.blog-content li code,
.blog-content h1 code,
.blog-content h2 code,
.blog-content h3 code,
.blog-content h4 code,
.blog-content h5 code,
.blog-content h6 code {
    background: #1e1e1e;
    color: #ffbd39;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.blog-content pre {
    background: #1e1e1e;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #404040;
}

.blog-content blockquote {
    border-left: 4px solid #ffbd39;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #cccccc;
}

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

/* Loading state animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Code Syntax Highlighting - GoLand Theme */
.blog-content pre {
    background: #1e1e1e;
    color: #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #404040;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    line-height: 1.6;
}

.blog-content pre code {
    background: transparent;
    padding: 0;
}

/* GoLand Colors - Complete Coverage */
.hljs-keyword {
    color: #cf8e6d;
}

/* func, var, const - orange */
.hljs-title {
    color: #FFC66D;
}

/* function names - yellow */
.hljs-string {
    color: #6aab73;
}

/* strings - green */
.hljs-comment {
    color: #7a7e85;
    font-style: italic;
}

/* comments - gray */
.hljs-literal {
    color: #cf8e6d;
}

/* nil, true, false - orange */
.hljs-number {
    color: #2aacb8;
}

/* numbers - cyan */
.hljs-type {
    color: #56a8f5;
}

/* types - blue */
.hljs-built_in {
    color: #56a8f5;
}

/* built-ins - blue */

/* Additional classes found in the HTML */
.hljs-function {
    color: inherit;
}

/* function wrapper - inherit from children */
.hljs-params {
    color: #bcbec4;
}

/* parameters like () - white/gray */
.hljs-property {
    color: #FFC66D;
}

/* property access - yellow */
.hljs-variable {
    color: #bcbec4;
}

/* variables - white/gray */
.hljs-punctuation {
    color: #bcbec4;
}

/* punctuation - white/gray */

/* Markdown checkbox styling - goldmark generates disabled checkboxes */
input[type="checkbox"]:disabled {
    -webkit-appearance: none;
    appearance: none;
    background-color: #2d2d2d !important;
    border: 2px solid #FFC66D !important;
    border-radius: 4px !important;
    width: 16px !important;
    height: 16px !important;
    position: relative !important;
    cursor: default !important;
    margin-right: 8px !important;
}

/* Checked state for disabled checkboxes */
input[type="checkbox"]:disabled:checked {
    background-color: #FFC66D !important;
    border-color: #FFC66D !important;
}

/* Add checkmark for checked disabled checkboxes */
input[type="checkbox"]:disabled:checked::after {
    content: "✓" !important;
    position: absolute !important;
    top: 1px !important;
    left: 1px !important;
    color: #1a1a1a !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1 !important;
}

/* List item styling for markdown task lists */
ul li:has(input[type="checkbox"]:disabled) {
    list-style: none !important;
    margin-left: -20px !important;
    padding-left: 0 !important;
}

/* Alternative selector for older browsers that don't support :has() */
ul li {
    position: relative;
}

/* Target li elements that contain checkboxes directly */
li > input[type="checkbox"]:disabled {
    margin-left: 0 !important;
    vertical-align: middle !important;
}