
:root {
    --bg-color : #FEFBF6;
    --bg-primary : #53B3CB;
    --light-primary:#DBEDEE;
    --bg-secondary  : #F15946;
    --bg-third  : #F9C22E;
    --bg-third-rgb  : 249, 194, 46;
    --text-base : #929AAB ;
    --text-base2 : #0C090D ;
    --text-theme : #0C090D ;

    --bg-color-rgb : 254, 251, 246;
    --bg-primary-rgb : 82, 179, 203;
    --bg-third-rgb  : 249, 194, 46;

    --bg-card :  #fff;
    --border-card :  #EFECEC;

    --bg-color : #FEFBF6;

    --color-gray : #555;
    transition: all ease-in-out .3s;
}

[theme="dark"]:root{
    --bg-color : #0C090D;
    --bg-primary : #53B3CB;
    --light-primary:#31363F;
    --bg-secondary  : #F15946;
    --bg-third  : #F9C22E;
    --bg-third-rgb  : 249, 194, 46;
    --text-base : #FEFBF6 ;
    --text-base2 : #FEFBF6 ;
    --text-theme : #FEFBF6 ;

    --bg-color-rgb : 12, 9, 13;
    --bg-primary-rgb : 82, 179, 203;

    --bg-card :  #31363F;
    --border-card :  transparent;

    transition: all ease-in-out .3s;


}


*,
*::before,
*::after {
    box-sizing: border-box;
}

.bx {
    transform: translateY(1px);
}

.bx-fix-2 {
    transform: translateY(2px) !important;
}

.bx-fix-3 {
    transform: translateY(3px);
}

.bx-fix--1 {
    transform: translateY(-1px);
}

.bx-fix--2 {
    transform: translateY(-2px);
}

.bx-fix--3 {
    transform: translateY(-3px);
}

[cursor] {
    cursor: pointer !important;
}

.link-a {
    color: var(--text-theme);
}

.link-a:hover {
    color: var(--bg-primary) !important;
    text-decoration: underline !important;
}

.d-grid-center {
    display: grid;
    place-content: center;
    place-items: center;
}


html {
    scroll-behavior: smooth;
}
/* Set a base font size and style */
body {
    font-family: 'Ping', sans-serif !important;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0;
    margin: 0;
    background-color: var(--bg-color) !important;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
    text-rendering: optimizeLegibility;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

[lang="ar"] body {
    overflow-x: hidden !important;
}

.font2{
    font-family: 'Caveat', sans-serif;
}

[lang="ar"] .font2{
    font-family: "Aref Ruqaa", serif !important;
    font-size: 30px !important;
    line-height: 2 !important;
}

/* Anchor tag styles */
a {
    text-decoration: none;
    color: #007BFF;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0.5em 0;
    font-weight: 600;
}

/* Basic styling for paragraphs */
p {
    margin: 0 0 1.5em 0;
}

/* Image responsiveness */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

.d-grid-center {
    display: grid;
    place-content: center;
    place-items: center;
}

.text-primary {
    color: var(--bg-primary) !important;
}

.text-secondary {
    color: var(--bg-secondary) !important;
}

.text-base {
    color: var(--text-base2);
}

.text-theme {
    color: var(--text-theme);
}

[theme="dark"] .text-base {
    color: var(--text-base2) !important;
}


/* Pagination  */

.pagin-link {
    height: 35px;
    min-width: 35px;
    border: 1px solid #c9c9c9;
    display: grid;
    place-content: center;
    place-items: center;
    border-radius: 5px;
    margin: 4px 3px;
    padding: 0 6px;
    padding-top: 5px;
    background-color: var(--bg-card);
}

[dir="rtl"] .pagin-link .bx {
    transform: translateY(-3px) rotate(180deg);
}

.pagin-link:hover {
    background-color: rgba( var(--bg-primary-rgb) , .3);
    border-color: var(--bg-primary);
}

.pagin-link.active {
    background-color: var(--bg-primary) !important;
    color: #000 !important;
    font-weight: bold;
    border-color: var(--bg-primary);
}

.ns-btn {
    height: 45px;
    outline: none;
    border-radius: 10px;
    border: none;
    background-color: var(--light-primary);
    text-align: center;
    color: #0C090D;
    font-size: 15px !important;
}

[theme="dark"] .ns-btn {
    color: var(--text-base);

}

.ns-btn:hover {
    background-color: var(--bg-primary);
    color: #FEFBF6 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}


.ns-btn-sq {
    aspect-ratio: 1/1 !important;
    display: grid;
    place-items: center;
}

.ns-btn-sq .bx {
    font-size: 25px !important;
}

.ns-btn .bx {
    font-size: 25px !important;
}
.btn-title {
    transform: translateY(2px);
    font-size: 15px !important;
}

.ns-btn-secondary {
    background: rgba( var(--bg-third-rgb) , .5);
}

.ns-btn-secondary:hover {
    background: rgba( var(--bg-third-rgb) , 1) !important;
}

header {
    width: 100%;
    min-height: 75vh;
    background-color: transparent;
    display: grid;
    place-items: center;
    padding-bottom: 40px;
}

header .header-image {
    min-width: 280px;
    max-width: 280px;
    background-color: transparent;
}

header .header-image img {
    border-radius: 200px;
}

.container-header {
    max-width: 900px;
    width: 100%;
}


.header-conent h1 {
    font-weight: 900;
    color: var(--text-theme) !important;
}

.header-conent p {
    line-height: 2 !important;
    font-size: 15px;
}
.header-conent i {
    font-size: 16px !important;
}
.header-conent {
    font-size: 14px;
}

.header-blog {
    text-align: center;
    background-color: rgba( var(--bg-primary-rgb) , .2);
}

.header-blog .header-blog-links a {
    color: var(--bg-primary);
    font-weight: bold;
}

.header-blog .header-blog-links a:hover {
    text-decoration: underline !important;
}

.header-blog .header-blog-links span {
    color: var(--text-base);
}


.title {
    font-weight: 900;
    color: var(--text-theme);
    font-size: 35px;
}

.title2 {
    font-weight: 900;
    color: var(--text-theme);
    font-size: 16px;
}

.title2 span {
    font-size: 30px;
}

section {
    background-color: var(--bg-color);
    padding-top: 50px;
    padding-bottom: 100px;
}



.ns-card , .loco-card{
    background-color: var(--bg-card) ;
    border: 1px solid var(--border-card);
    border-radius: 15px;
    padding: 30px 25px;
}

.ns-card .card-title {
    color: var(--text-theme);
    font-weight: 800;
}

.ns-card p {
    font-size: 12.5px;
    color: var(--text-base);
    font-weight: 400;
}

.btn-card {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-theme);
    transition: all ease-in-out .2s;
}

.btn-card i {
    transform: translateY(3px);
    font-size: 18px;
    color: var(--bg-primary);
}

[ dir="rtl" ] .btn-card i {
    transform: translateY(3px) rotate(180deg);
}

.btn-card:hover{
    color: var(--bg-primary);
}


.ns-card:hover {
    background-color: var(--bg-primary);
    transition: all ease-in-out .2s;
}

.ns-card:hover .card-title , .ns-card:hover .btn-card{
    color: #FEFBF6;
    transition: all ease-in-out .2s;

}

.ns-card:hover p , .ns-card:hover .text-theme {
    color: #FEFBF6;
    transition: all ease-in-out .2s;
}


.ns-card.active {
    background-color: rgba( var(--bg-primary-rgb) , .1);
}

.ns-card.active .card-title , .ns-card.active .btn-card{
    color: var(--text-base);
    transition: all ease-in-out .2s;

}

.sn-title {
    display: flex;
    align-items: center; /* Vertically aligns items */
    justify-content: space-between;
    font-size: 14px !important;
}


.sn-title .liner {
    flex-grow: 1; /* This makes the liner stretch to fill available space */
    height: 1px; /* Line height */
    background-color: #ccc; /* Line color */
    margin: 0 15px; /* Optional: Space between the liner and span */
    transform: translateY(-2px);
}

.sn-title .liner.liner-dashed{
    background-color: transparent !important;
    border-top: 1.5px dashed #ccc !important;
}

.ns-card:hover .liner {
    background-color: #FEFBF6 ;
}

.persentage-title {
    font-size: 15px;
}

.skills-progress {
    width: 100%;
    height: 5px;
    background-color: #e4e4e4;
    border-radius: 20px;
    position: relative;
}

.skills-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--skills-progress);
    height: 5px;
    background-color: #929AAB;
    border-radius: 20px;
}
[dir="rtl"] .skills-progress::before {
    left: unset;
    right: 0;
}

[theme="light"] .ns-card:hover .skills-progress {
    background-color: rgba(255, 255, 255, .5);
}

.ns-card:hover .skills-progress::before {
    background-color: #F9C22E;
}

.history-title {
    font-size: 15px !important;
}

.card-details {
    overflow: hidden;
    padding: 20px 20px;
    border-radius: 10px;
    height: 0;
    padding: 0px 0px ;
    margin-top: 0px;
    margin-bottom: 0px;
    transition: all ease-in-out .2s;
}

.card-detail-inform {
    font-size: 13.5px !important;
    font-weight: 500;
    color: var(--text-base);
}

.active .history-title {
    color: var(--bg-secondary) !important;
}


.active .persentage-title {
    color: var(--bg-primary) !important;
}

.card-details.show {
    padding: 0px 0px;
    margin-top: 0px;
    margin-bottom: 20px;
    height: auto;
    transition: all ease-in-out .2s;
}

.card-details.show p {
    color: var(--text-base) !important;
}


/* Grid --- --- --- --- --- --- */

.grid-container {
    width: 100%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    place-content: center;
    place-self: center;
}

.grid-item {
    background-color: #009688;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    aspect-ratio: 2/1.2;
    grid-column: span 1;
    transition: transform 0.3s;
}

.grid-item.large {
    grid-column: span 2;
}

.grid-item.large {
    grid-row: span 2;
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .grid-container.grid-galery-details{
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    }

    .grid-item {
        gap: 0px;
        grid-column: span 1;
    }

    .grid-item.large {
        grid-column: span;
    }

    .grid-item.protfolio-aspect.large{
        grid-column: span !important;
    }
}

.grid-container.grid-galery-details{
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.grid-item.protfolio-aspect{
    aspect-ratio: 6/4;
    border: 1px solid var(--border-card);
    height: 100%;
}

.protfolio-image {
    background-color: var(--bg-color);
    background-image: var(--protfolio-image);
    background-position: top center;
    background-size: cover;
    position: relative;
    background-repeat: no-repeat;
    z-index: 0;
    overflow: hidden;
    transition: all cubic-bezier( 0.68, -0.55, 0.265, 1.55 ) .5s;
}

.protfolio-image:hover {
    background-size: cover;
    transition: all cubic-bezier( 0.68, -0.55, 0.265, 3.55 ) .5s;
}


.protfolio-image .protfolio-details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    z-index: 2;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    transition: all ease-in-out .2s;
}

.protfolio-image:hover .protfolio-details {
    opacity: 1;
    transition: all ease-in-out .2s;
}

.protfolio-details button , .protfolio-details a {
    width: max-content;
    margin: 20px;
    background-color: var(--bg-card);
    border: none;
    outline: none;
    border-radius: 6px;
    font-weight: 400;
    font-size: 14px;
    padding-top: 4px;
    padding: 0 10px;
}
.portfolio-category {
    text-align: center;
    margin-top: 20px;
}
.portfolio-category a {
    margin: 0 10px;
    font-size: 14px;
    color: var(--text-theme) !important;
    transition: all ease-in-out .3s;
    cursor: pointer;
}

.portfolio-category a:hover{
    color: var(--bg-primary) !important;
    text-decoration: underline !important;
}

.portfolio-category a.active {
    color: var(--bg-secondary) !important;
    text-decoration: underline !important;
    font-weight: bold;
    transition: all ease-in-out .3s;
}

body #magicMouseCursor {
    border-color: var(--bg-secondary) !important;
}

body #magicMouseCursorx.is-hover{
    width: 0px !important;
    height: 0px !important;
    opacity: 0 !important;
}

body #magicPointer {
    background-color: var(--bg-secondary) !important;
    width: 8px !important;
    height: 8px !important;
}
body #magicPointer.is-hover{
    width: 50px !important;
    height: 50px !important;
    opacity: .2;
}
body #magicPointer.pointer-overlay {
    box-shadow: none !important;
    mix-blend-mode: exclusion !important;
}



/* BolgGrid --- --- --- --- --- --- */

.blogGrid-container {
    width: 100%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 15px;
    place-content: center;
    place-self: center;
}

.blogGrid-item {
    grid-column: span 1;
    transition: transform 0.3s;
}

.blogGrid-item.large {
    grid-column: span 1;
    grid-row: span 3;
    min-height: 300px;

}


@media (max-width: 600px) {
    .blogGrid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 2fr));
        gap: 20px;
    }


    .blogGrid-item {
        gap: 0px;
        grid-column: span 2;
    }

    .blogGrid-item.large , .blogGrid-item.fill {
        grid-column: span 2;
        grid-row: span 1;

    }

}

.blog-cover {
    width: 100%;
    background-color: #929AAB;
    border-radius: 10px;
    background-image: var(--blog-cover);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #efefef;
    box-shadow: 0 0 3px rgba(204, 204, 204 , .2);
}

.ns-card:hover .blog-cover {
    border-color: transparent;
    box-shadow: none;
}

[theme="dark"] .blog-cover {
    border: 1px solid #222;
}

.blog-cover.ratio-2-1{
    aspect-ratio: 2/1;
}

.blog-cover.ratio-1-1{
    aspect-ratio: 1/1;
}


.blog-cover.nd2 {
    width: 100px;
    height: 100px;
}

.blog-date , .blog-tags {
    font-size: 13px;
    color: var(--text-base);
    font-weight: 500;
}

.blog-date i, .blog-tags i {
    color: var(--bg-primary);
    font-size: 18px !important;
    transform: translateY(3px);
}

.blog-tags a .tagx-title {
    color: var(--text-base);
    margin-top: -1px;
}

.blog-tags a .tagx-title:hover {
    color: var(--bg-primary);
    cursor: pointer;
    text-decoration: underline;
}

.blog-tags span {
    color: var(--text-base);
    margin-right: 6px !important;
}

.ns-card:hover .blog-date , .ns-card:hover .blog-tags  ,.ns-card:hover .blog-date i , .ns-card:hover .blog-tags i {
    color: #FEFBF6 !important;
}

.blog-title {
    font-weight: 800;
    color: var(--text-theme);
    margin-top: 10px;
    font-size: 14px;
    line-height: 1 !important;
}

.ns-card a.blog-title:hover {
    color: #F6EFBD !important;
    text-decoration: underline !important;
}

.ns-card:hover .blog-title {
    color: #FEFBF6 !important;
}

.blog-title-sm {
    font-size: 13px;
}

.blog-title-sm2 {
    font-size: 15px;
}

.blog-except-sm {
    font-size: 12px !important;
}

.blog-page-image {
    width: 100% !important;
}


/* Blog Details */
.blog-end {
    margin-top: 60px;
    width: 100%;
    padding: 10px;
    position: relative;
    text-align: center;
}
.blog-end::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50% - 0px );
    height: 2px;
    opacity: .4;
    background-color: var(--bg-third);
}

.blog-end span {
    position: relative;
    display: block;
    width: max-content;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 0 20px;
    padding-top: 6px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-theme);
}
[theme="dark"] .blog-end::before {
    opacity: 1;
    background-color: #929aab34;
}

.blog-content {
    padding-top: 20px;
    color: var(--text-theme) !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 2 !important;
}

.blog-content ol , .card-details ol {
    list-style-type:decimal; /* Use Roman numerals (I, II, III) */
}
.blog-content li , .card-details li {
    line-height: 2 !important;
}

.blog-content ul , .card-details ul {
    list-style-type:disc; /* Use Roman numerals (I, II, III) */
}

.blog-content ul {
    list-style: none;
    padding-left: 25px;
}

[lang="ar"] .blog-content ul {
    list-style: none;
    padding-left: auto;
    padding-right: 25px;
}

.blog-content ul li {
    position: relative;
    margin-bottom: 25px;
}

.blog-content ul li::before {
    content: '';
    background-color: rgba( var(--bg-primary-rgb) , .2 );
    border: 2px solid var(--bg-primary);
    border-radius: 4px;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 5px;
    left: -25px;
}

.blog-content li>p>strong {
    font-weight: bold !important;
}

[lang="ar"] .blog-content ul li::before {
    right: -25px;
    left: unset !important;

}

.blog-content ol {
    list-style: none;
    counter-reset: my-counter;
    padding-left: 25px;
}

[lang="ar"] .blog-content ol {
    padding-right: 25px;
    padding-left: unset !important;
}

.blog-content ol li {
    counter-increment: my-counter;
    position: relative;
    margin-bottom: 25px;
}

.blog-content ol li::before {
    content: counter(my-counter)" .";
    position: absolute;
    top: 0px;
    left: -25px;
    border-radius: 4px;
    color: var(--bg-primary);
    font-weight: bold;
}

[lang="ar"] .blog-content ol li::before {
    right: -25px;
    left: unset !important;

}

.blog-content ol li p , .blog-content ul li p{
    margin: 0;
    margin-bottom: 10px;
}


.blog-content a {
    color: var(--bg-primary);
}

.blog-content::selection , .blog-content ::selection {
    background-color: rgba( var(--bg-third-rgb) , .4) !important;
    color: #0C090D !important;
}

.blog-content a ::selection {
    color: #F15946 !important;
}


.blog-content h1 { font-size: 32px; line-height: 1.5; }
.blog-content h2 { font-size: 28px; line-height: 1.5; }
.blog-content h3 { font-size: 24px; line-height: 1.5; }
.blog-content h4 { font-size: 20px; line-height: 1.5; }
.blog-content h5 { font-size: 16px; line-height: 1.5; }
.blog-content h6 { font-size: 14px; line-height: 1.5; }

/* Blockquote styling */
.blog-content blockquote {
    font-size: 1.2em;
    font-style: italic;
    color: #555; /* Slightly muted text color */
    background: #ececec; /* Light background for contrast */
    padding: 20px 30px; /* Add padding for better readability */
    border-left: 4px solid #53B3CB; /* Left border to visually highlight the quote */
    margin: 20px 0; /* Space around the blockquote */
    color: #444;
    position: relative;
}

[dir="rtl"] .blog-content blockquote {
    border-left: none; /* Left border to visually highlight the quote */
    border-right: 4px solid #53B3CB; /* Left border to visually highlight the quote */

}
[theme="dark"] .blog-content  blockquote {
    background-color: #131313;
    color: #999;
}
/* Quotation marks effect */
.blog-content blockquote::before {
    font-family: 'Georgia', serif;
    content: "“"; /* Opening quote */
    font-size: 3em;
    color: #53B3CB; /* Quote color (red) */
    position: absolute;
    top: 0;
    left: 10px;
    line-height: 1; /* Align with blockquote text */
}

[dir="rtl"] .blog-content blockquote::before {
    right: 10px;
    left: unset;

}

.blog-content blockquote::after {
    font-family: 'Georgia', serif;
    content: "”"; /* Closing quote */
    font-size: 3em;
    color: #53B3CB;
    position: absolute;
    bottom: -10px;
    right: 10px;
    line-height: 0;
}

[dir="rtl"] .blog-content blockquote::after {
    left: 10px;
    right: unset;

}

/* Style for the citation (if present) */
.blog-content blockquote footer {
    font-size: 0.9em;
    color: #888; /* Muted color for the citation */
    text-align: right;
    margin-top: 10px;
    color: #53B3CB;
}

[dir="rtl"] .blog-content blockquote footer {
    text-align: left;
}

.blog-content blockquote footer::before {
    content: "— "; /* Em dash before the citation */
}


.blog-content pre{
    background: #0d1117;
    color: #fff;
    padding: 20px 20px;
    border-radius: 8px;
    font-family: "Fira Code", monospace !important;
    font-weight: 500;
}

[theme="dark"] .blog-content pre {
    background: #252538 !important;
}

.blog-content pre code , .blog-content pre * {
    font-family: "Fira Code", monospace !important;
}

[theme="dark"] .hljs {
    background-color: #252538 !important;
}


/* Gallery Grid --- --- --- --- --- --- */

.galleryGrid-container {
    width: 100%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    place-content: center;
    place-self: center;
}

.galleryGrid-item {
    width: 100%;
    height: 300px;
    background-color: #929AAB;
    border-radius: 10px;
    background-image: var(--gallery-cover);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    grid-column: span 1;
    filter: grayscale(100%);
    transition: all ease-in-out 0.3s;
}

.galleryGrid-item:hover {
    filter: grayscale(0%);
    transition: all ease-in-out 0.3s;
}

.galleryGrid-item:nth-child(1) ,
.galleryGrid-item:nth-child(1) ,
.galleryGrid-item:nth-child(5) ,
.galleryGrid-item:nth-child(7) ,
.galleryGrid-item:nth-child(11) ,
.galleryGrid-item:nth-child(13)  ,
.galleryGrid-item:nth-child(17) ,
.galleryGrid-item:nth-child(19) {
    grid-column: span 2; /* Span 2 columns for larger width */
}


@media (max-width: 600px) {
    .galleryGrid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }

    .galleryGrid-item {
        gap: 0px;
        grid-column: span 1 !important;
        height: 140px;
    }

    .galleryGrid-item.large {
        grid-column: span 1 !important;
    }

}


.ns-footer {
    background: rgba( var(--bg-primary-rgb) , .1);
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px 10px;
}
.copyright {
    color: var(--text-theme);
}
.copyright a {
    color: var(--bg-primary);
    font-weight: 900;
}


/* Page */
.header-page {
    min-height: 200px;
}

.container-page {
    padding-top: 50px;
    max-width: 1080px;
    width: calc(100% - 40px);
    margin: 0px 20px;
    border-bottom: 1px solid #555;
    position: relative;
}
.header-page h1 {
    font-size: 30px;
    font-weight: 900;
}
.header-page p {
    font-size: 14px;
}

.blog-page-container {
    padding-top: 80px;
}

.back-btn {
    display: grid;
    height: 80px;
    width: 80px;
    background-color: #53B3CB;
    border-radius: 100px;
    place-items: center;
    font-size: 15px;
    color: #FEFBF6;
    font-weight: bold;
    position: absolute;
    right: -10px;
    bottom: -40px;
    box-shadow: 0 0 0 0px rgba( var(--bg-primary-rgb) , 0);
    transition:  all ease-in-out .2s;
}

.back-btn.header-blog-back {
    bottom: -70px;
}

.back-btn:hover {
    color: #FEFBF6;
    box-shadow: 0 0 0 10px rgba( var(--bg-primary-rgb) , .2);
    transition:  all ease-in-out .2s;
}

[dir="rtl"] .back-btn {
    right: unset !important;
    left: -10px;

}



.back-btn .d-flex{
    transform: translate(-4px , 4px);
}

[dir="rtl"] .back-btn .d-flex{
    transform: translate(3px , 0px);
}
.back-btn  i {
    transform: translateY(0px);
    font-size: 22px;
    margin: 0;
    padding: 0;
}

[dir="rtl"] .back-btn i {
    transform: translateY(-2px) rotate(180deg);
}

@media (max-width: 600px) {
    .back-btn {
        display: grid;
        height: 60px;
        width: 60px;
        right: -10px;
        bottom: -29px;
        font-size: 12px;
    }
    .back-btn .d-flex{
        transform: translate(-4px , 2px);
    }
    .back-btn  i {
        transform: translateY(-1px);
        font-size: 18px;
        margin: 0;
        padding: 0;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    place-content: center;
    place-items: center;
    z-index: 99;
    opacity: 1;
    background-color: var(--bg-color);
}

.preloader.hide {
    animation: fadeOut .3s forwards .3s; /* 3s delay, then fade out */
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}
.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 2px solid #FF3D00;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  .loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 4px;
    top: 4px;
    background-color: #53B3CB;
    border: 2px solid #53B3CB;
    width: 12px;
    height: 12px;
    border-radius: 50%;
  }

  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }




  /* Slider */
.slider-header {
    margin-bottom: 20px;
}
.slider-header i{
    font-size: 20px !important;
    transform: translateY(-3px);
    color: var(--text-theme);
}

.slider-header .slider-title {
    font-weight: bolder;
    font-size: 25px;
    color: var(--text-theme);
}


/* Blog Category */

.blog-category-lists {

}

.blog-category-lists .blog-category-list:nth-child(1){
    border-top-color: transparent;
}

.blog-category-lists .blog-category-list {
    position: relative;
    color: var(--text-base);
    font-size: 13px;
    font-weight: 600;
    padding-left: 30px;
    display: block;
}

[dir="rtl"] .blog-category-lists .blog-category-list{
    padding-left: unset;
    padding-right: 30px;
}

.blog-category-lists .blog-category-list::before {
    content: '';
    transform: translateY(-1px);
    position: absolute;
    width: 20px;
    height: 20px;
    left: 0;
    background-color: rgba( var(--bg-primary-rgb) , .3);
    border-radius: 6px;
    font-family: boxicons !important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1.2;
    text-rendering: auto;
    display: inline-block;
    text-transform: none;
    speak: none;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[dir="rtl"] .blog-category-lists .blog-category-list::before {
    left: unset;
    right: 0;
}

.blog-category-lists .blog-category-list:hover span:nth-child(1) , .blog-category-lists .blog-category-list.active span:nth-child(1) {
    color: var(--bg-primary);
    text-decoration: underline !important;
}

.blog-category-lists .blog-category-list:hover span:nth-child(2) , .blog-category-lists .blog-category-list.active span:nth-child(2) {
    color: var(--bg-primary);
}

.blog-category-lists .blog-category-list.active::before{
    color: var(--bg-color);
    content: "\ea41";
    text-align: center;
    background-color: rgba( var(--bg-primary-rgb) , .8) !important;
}


.blog-category-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.blog-category-tags .blog-category-tag {
    background-color: rgba( var(--bg-primary-rgb) , .2);
    padding: 2px 10px;
    padding-top: 5px;
    border-radius: 8px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px ;
}

.blog-category-tags .blog-category-tag:hover , .blog-category-tags .blog-category-tag.active {
    background-color: var(--bg-primary);
    color: #fff;
}

[theme="dark"] .blog-category-tags .blog-category-tag {
    color: #e5e5e5 !important;
}



/* $04 Page*/

.container-404 {
    height: calc(100vh - 70px);
    background-color: transparent;
    display: grid;
    place-content: center;
    place-items: center;
}

.container-404 img {
    max-width: 300px;
    width: 90%;
    margin:  0 a;
}

.container-404 .light , .container-404 .dark {
    display: none;
}

[theme="light"] .container-404 .light {
    display: unset !important;
}

[theme="dark"] .container-404 .dark {
    display: unset !important;
}



.cover-size-2 {
    width: 70px !important;
    height: 70px !important;
}
