/* ==========================================
   DURION TECHNOLOGIES
   BLOG DETAILS CSS
   PART 1 - Layout & Hero
========================================== */

/* ===========================
   GOOGLE FONT
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   ROOT VARIABLES
=========================== */

:root{

--primary:#0d6efd;
--secondary:#1e293b;
--dark:#0f172a;
--light:#ffffff;
--gray:#64748b;
--light-gray:#f8fafc;
--border:#e2e8f0;

--shadow:
0 10px 30px rgba(0,0,0,.08);

--radius:15px;

}

/* ===========================
   GLOBAL
=========================== */

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Poppins',sans-serif;
background:#fff;
color:var(--dark);
line-height:1.8;
overflow-x:hidden;

}

img{

max-width:100%;
display:block;

}

a{

text-decoration:none;
transition:.3s;

}

ul{

padding-left:20px;

}

section{

padding:80px 0;

}

/* ===========================
   CONTAINER
=========================== */

.container{

max-width:1200px;

}

/* ===========================
   READING PROGRESS BAR
=========================== */

#reading-progress{

position:fixed;

top:0;
left:0;

height:5px;

width:0%;

background:linear-gradient(
90deg,
#0d6efd,
#00b4ff
);

z-index:99999;

transition:width .15s linear;

}

/* ===========================
   NAVBAR
=========================== */

.navbar{

background:#fff;
box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.navbar-brand h5{

font-weight:700;
color:var(--primary);

}

.nav-link{

font-weight:500;
margin-left:15px;

}

.nav-link:hover{

color:var(--primary);

}

/* ===========================
   HERO SECTION
=========================== */

.blog-hero{

padding:120px 0;

background:

linear-gradient(
135deg,
rgba(13,110,253,.95),
rgba(0,180,255,.85)
),

url("../images/blog-banner.jpg");

background-size:cover;

background-position:center;

color:#fff;

position:relative;

overflow:hidden;

}

.blog-hero::before{

content:"";

position:absolute;

width:400px;
height:400px;

background:
rgba(255,255,255,.08);

border-radius:50%;

top:-150px;
right:-120px;

}

.blog-hero::after{

content:"";

position:absolute;

width:300px;
height:300px;

background:
rgba(255,255,255,.08);

border-radius:50%;

bottom:-100px;
left:-100px;

}

.blog-hero .container{

position:relative;

z-index:2;

}

.blog-hero h1{

font-size:3.2rem;

font-weight:800;

line-height:1.3;

margin-bottom:25px;

}

.blog-hero p{

font-size:1.15rem;

max-width:700px;

opacity:.95;

}

.blog-meta{

display:flex;

flex-wrap:wrap;

gap:20px;

margin-top:30px;

font-size:15px;

}

.blog-meta span{

display:flex;

align-items:center;

gap:8px;

background:rgba(255,255,255,.15);

padding:10px 18px;

border-radius:40px;

backdrop-filter:blur(10px);

}

.blog-meta i{

color:#FFD43B;

}

/* ===========================
   BADGE
=========================== */

.badge{

font-size:14px;

padding:10px 18px;

border-radius:30px;

font-weight:600;

}

/* ===========================
   BREADCRUMB
=========================== */

.breadcrumb{

padding:15px 0;

background:transparent;

margin-bottom:0;

}

.breadcrumb-item a{

color:var(--primary);

font-weight:500;

}

.breadcrumb-item.active{

color:#555;

}

/* ===========================
   ARTICLE LAYOUT
=========================== */

.blog-details{

background:#fff;

}

.blog-content{

background:#fff;

padding:40px;

border-radius:20px;

box-shadow:var(--shadow);

}

.blog-content img{

border-radius:15px;

margin-bottom:30px;

}

.blog-content h2{

font-size:2rem;

font-weight:700;

margin-top:45px;

margin-bottom:20px;

color:var(--secondary);

}

.blog-content h3{

font-size:1.5rem;

font-weight:600;

margin-top:35px;

margin-bottom:15px;

}

.blog-content p{

font-size:17px;

color:#555;

margin-bottom:20px;

}

.blog-content ul{

margin:25px 0;

}

.blog-content li{

margin-bottom:12px;

font-size:16px;

}

.blog-content blockquote{

border-left:5px solid var(--primary);

background:#f1f7ff;

padding:25px;

border-radius:10px;

font-style:italic;

margin:30px 0;

}

.blog-content code{

background:#eef5ff;

padding:3px 8px;

border-radius:6px;

color:var(--primary);

}

.blog-content pre{

background:#0f172a;

color:#fff;

padding:25px;

border-radius:10px;

overflow:auto;

margin:30px 0;

}

/* ===========================
   TYPOGRAPHY
=========================== */

h1,h2,h3,h4,h5{

line-height:1.4;

font-weight:700;

}

strong{

font-weight:700;

}

small{

color:#777;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

.blog-hero{

padding:90px 0;

}

.blog-hero h1{

font-size:2.5rem;

}

.blog-content{

padding:30px;

}

}

@media(max-width:768px){

.blog-hero{

text-align:center;

}

.blog-hero h1{

font-size:2rem;

}

.blog-meta{

justify-content:center;

}

.blog-content{

padding:25px;

}

.blog-content h2{

font-size:1.6rem;

}

}

@media(max-width:576px){

.blog-hero{

padding:70px 0;

}

.blog-hero h1{

font-size:1.8rem;

}

.blog-meta{

flex-direction:column;

align-items:center;

}

.blog-content{

padding:20px;

}

}
/* ==========================================
   DURION TECHNOLOGIES
   BLOG DETAILS CSS
   PART 2 - Sidebar & TOC
========================================== */

/* ===========================
   STICKY SIDEBAR
=========================== */

.sticky-top{

top:100px;
z-index:100;

}

/* ===========================
   SIDEBAR CARDS
=========================== */

.sidebar-card,
.card{

background:#ffffff;
border:none;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
overflow:hidden;
transition:.35s;

}

.sidebar-card:hover,
.card:hover{

transform:translateY(-6px);

box-shadow:
0 20px 40px rgba(13,110,253,.15);

}

.card-body{

padding:30px;

}

.card h5{

font-size:22px;
font-weight:700;
margin-bottom:20px;
color:#0f172a;

}

/* ===========================
   TABLE OF CONTENTS
=========================== */

.toc-card{

background:#ffffff;

border-radius:18px;

padding:30px;

margin-bottom:40px;

box-shadow:
0 10px 30px rgba(0,0,0,.08);

}

.toc-card h4{

margin-bottom:20px;

font-weight:700;

display:flex;

align-items:center;

gap:10px;

color:#0d6efd;

}

#tableOfContents{

list-style:none;

padding-left:0;

margin:0;

}

#tableOfContents li{

margin-bottom:14px;

}

#tableOfContents a{

display:block;

padding:12px 18px;

border-radius:10px;

background:#f8fbff;

color:#334155;

font-weight:500;

transition:.3s;

}

#tableOfContents a:hover{

background:#0d6efd;

color:#fff;

padding-left:25px;

}

#tableOfContents a.active{

background:#0d6efd;

color:#fff;

}

/* ===========================
   SEARCH BOX
=========================== */

.sidebar-search{

position:relative;

}

.sidebar-search input{

width:100%;

padding:15px 50px 15px 18px;

border:2px solid #e2e8f0;

border-radius:40px;

outline:none;

transition:.3s;

}

.sidebar-search input:focus{

border-color:#0d6efd;

box-shadow:
0 0 15px rgba(13,110,253,.15);

}

.sidebar-search i{

position:absolute;

right:20px;

top:50%;

transform:translateY(-50%);

color:#0d6efd;

}

/* ===========================
   RECENT POSTS
=========================== */

.recent-post{

display:flex;

align-items:center;

gap:15px;

margin-bottom:20px;

padding-bottom:20px;

border-bottom:1px solid #eee;

transition:.3s;

}

.recent-post:last-child{

border-bottom:none;

margin-bottom:0;

}

.recent-post:hover{

transform:translateX(8px);

}

.recent-post img{

width:90px;

height:90px;

object-fit:cover;

border-radius:12px;

}

.recent-post h6{

font-size:16px;

font-weight:600;

margin-bottom:8px;

}

.recent-post a{

color:#0f172a;

}

.recent-post a:hover{

color:#0d6efd;

}

.recent-post small{

color:#64748b;

}

/* ===========================
   CATEGORY BADGES
=========================== */

.category-list{

display:flex;

flex-wrap:wrap;

gap:12px;

}

.category-list .badge{

padding:10px 18px;

font-size:14px;

border-radius:30px;

cursor:pointer;

transition:.3s;

}

.category-list .badge:hover{

transform:translateY(-4px);

box-shadow:
0 10px 20px rgba(13,110,253,.25);

}

/* ===========================
   NEWSLETTER
=========================== */

.newsletter-card{

background:

linear-gradient(
135deg,
#0d6efd,
#3b82f6
);

color:#fff;

border-radius:20px;

padding:35px;

text-align:center;

overflow:hidden;

position:relative;

}

.newsletter-card::before{

content:"";

position:absolute;

width:180px;

height:180px;

background:
rgba(255,255,255,.08);

border-radius:50%;

top:-60px;

right:-60px;

}

.newsletter-card h4{

font-size:28px;

margin-bottom:15px;

}

.newsletter-card p{

opacity:.95;

margin-bottom:25px;

}

.newsletter-card input{

height:52px;

border:none;

border-radius:40px;

padding:0 20px;

margin-bottom:15px;

}

.newsletter-card button{

width:100%;

height:52px;

border:none;

border-radius:40px;

background:#fff;

color:#0d6efd;

font-weight:700;

transition:.3s;

}

.newsletter-card button:hover{

background:#0f172a;

color:#fff;

}

/* ===========================
   TAGS
=========================== */

.tag-cloud{

display:flex;

flex-wrap:wrap;

gap:10px;

}

.tag-cloud a{

padding:10px 16px;

background:#eef5ff;

border-radius:30px;

font-size:14px;

color:#0d6efd;

transition:.3s;

}

.tag-cloud a:hover{

background:#0d6efd;

color:#fff;

}

/* ===========================
   GLASSMORPHISM
=========================== */

.glass{

background:
rgba(255,255,255,.75);

backdrop-filter:blur(12px);

border:
1px solid rgba(255,255,255,.25);

}

/* ===========================
   SIDEBAR ANIMATION
=========================== */

.card,
.toc-card,
.newsletter-card{

animation:fadeUp .8s ease;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(30px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:992px){

.sticky-top{

position:relative !important;

top:0;

}

}

@media(max-width:768px){

.card-body{

padding:20px;

}

.recent-post{

flex-direction:column;

align-items:flex-start;

}

.recent-post img{

width:100%;

height:180px;

}

.newsletter-card{

padding:25px;

}

.toc-card{

padding:20px;

}

}

/* ==========================================
   BLOG DETAILS CSS
   PART 3A - INTERACTIVE COMPONENTS
========================================== */

/* ===========================
   ARTICLE ACTIONS
=========================== */

.article-actions{

display:flex;
flex-wrap:wrap;
align-items:center;
gap:15px;
margin-top:40px;
padding-top:30px;
border-top:1px solid #e5e7eb;

}

/* ===========================
   COMMON BUTTON STYLE
=========================== */

.like-btn,
.bookmark-btn,
.share-toggle{

display:flex;
align-items:center;
gap:8px;

padding:12px 22px;

border:none;
outline:none;

border-radius:50px;

cursor:pointer;

font-size:15px;
font-weight:600;

transition:all .35s ease;

background:#f8fafc;

color:#334155;

box-shadow:
0 5px 15px rgba(0,0,0,.06);

}

.like-btn:hover,
.bookmark-btn:hover,
.share-toggle:hover{

transform:translateY(-4px);

box-shadow:
0 15px 25px rgba(13,110,253,.18);

}

/* ===========================
   LIKE BUTTON
=========================== */

.like-btn{

background:#fff5f5;

color:#dc2626;

}

.like-btn i{

font-size:20px;

transition:.35s;

}

.like-btn:hover{

background:#dc2626;
color:#fff;

}

.like-btn:hover i{

transform:scale(1.2);

}

.like-btn.liked{

background:#dc2626;

color:#fff;

}

.like-btn.liked i{

animation:heartBeat .6s;

}

.like-count{

font-weight:700;

}

@keyframes heartBeat{

0%{

transform:scale(.8);

}

50%{

transform:scale(1.35);

}

100%{

transform:scale(1);

}

}

/* ===========================
   BOOKMARK BUTTON
=========================== */

.bookmark-btn{

background:#eef5ff;

color:#0d6efd;

}

.bookmark-btn:hover{

background:#0d6efd;

color:#fff;

}

.bookmark-btn.saved{

background:#0d6efd;

color:#fff;

}

.bookmark-btn i{

font-size:19px;

}

/* ===========================
   SHARE BUTTON
=========================== */

.share-container{

position:relative;

}

.share-toggle{

background:#ecfeff;

color:#0891b2;

}

.share-toggle:hover{

background:#0891b2;

color:#fff;

}

/* ===========================
   SHARE MENU
=========================== */

.share-menu{

position:absolute;

top:60px;
left:0;

display:flex;

gap:12px;

padding:15px;

background:#fff;

border-radius:16px;

box-shadow:
0 20px 40px rgba(0,0,0,.12);

opacity:0;

visibility:hidden;

transform:translateY(15px);

transition:.35s;

z-index:999;

}

.share-menu.show{

opacity:1;

visibility:visible;

transform:translateY(0);

}

.share-menu a,
.share-menu button{

width:46px;
height:46px;

display:flex;

align-items:center;
justify-content:center;

border:none;

border-radius:50%;

background:#f1f5f9;

cursor:pointer;

transition:.35s;

font-size:18px;

color:#334155;

}

.share-menu a:hover,
.share-menu button:hover{

transform:translateY(-5px) scale(1.08);

}

/* ===========================
   SOCIAL COLORS
=========================== */

.share-menu .whatsapp:hover{

background:#25D366;
color:#fff;

}

.share-menu .facebook:hover{

background:#1877F2;
color:#fff;

}

.share-menu .linkedin:hover{

background:#0A66C2;
color:#fff;

}

.share-menu .twitter:hover{

background:#000;
color:#fff;

}

.share-menu .copy-link:hover{

background:#64748b;
color:#fff;

}

/* ===========================
   TOAST
=========================== */

.custom-toast{

position:fixed;

bottom:30px;
right:30px;

padding:16px 25px;

background:#0f172a;

color:#fff;

font-weight:600;

border-radius:12px;

box-shadow:
0 20px 40px rgba(0,0,0,.2);

opacity:0;

transform:translateY(40px);

transition:.35s;

z-index:99999;

}

.custom-toast.show{

opacity:1;

transform:translateY(0);

}

/* ===========================
   BUTTON ANIMATION
=========================== */

.like-btn,
.bookmark-btn,
.share-toggle{

animation:fadeIn .6s ease;

}

@keyframes fadeIn{

from{

opacity:0;
transform:translateY(15px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

.article-actions{

flex-direction:column;

align-items:flex-start;

}

.share-menu{

position:relative;

top:15px;

left:0;

flex-wrap:wrap;

}

.like-btn,
.bookmark-btn,
.share-toggle{

width:100%;

justify-content:center;

}

.custom-toast{

left:20px;
right:20px;
bottom:20px;

text-align:center;

}

}
/* ==========================================
   BLOG DETAILS CSS
   PART 3B-1
   Author • Related Blogs • Comments
========================================== */

/* ===========================
   AUTHOR SECTION
=========================== */

.author-section{

padding:80px 0;
background:#fff;

}

.author-section .card{

border:none;
border-radius:20px;
overflow:hidden;

box-shadow:
0 20px 40px rgba(0,0,0,.08);

transition:.4s;

}

.author-section .card:hover{

transform:translateY(-8px);

box-shadow:
0 30px 60px rgba(13,110,253,.18);

}

.author-section img{

width:120px;
height:120px;

object-fit:cover;

border-radius:50%;

border:5px solid #eef5ff;

}

.author-section h3{

font-size:30px;
font-weight:700;
margin-bottom:10px;

color:#0f172a;

}

.author-section p{

font-size:16px;

color:#64748b;

line-height:1.8;

margin-bottom:25px;

}

.author-section .btn{

border-radius:40px;

padding:10px 20px;

font-weight:600;

transition:.35s;

}

.author-section .btn:hover{

transform:translateY(-4px);

}

/* ===========================
   RELATED BLOGS
=========================== */

.related-blogs{

padding:90px 0;

background:#f8fbff;

}

.related-blogs h2{

font-size:38px;

font-weight:700;

margin-bottom:60px;

text-align:center;

color:#0f172a;

}

.related-blogs .card{

border:none;

border-radius:18px;

overflow:hidden;

transition:.35s;

box-shadow:
0 15px 35px rgba(0,0,0,.08);

}

.related-blogs .card:hover{

transform:translateY(-10px);

box-shadow:
0 25px 45px rgba(13,110,253,.18);

}

.related-blogs img{

height:220px;

object-fit:cover;

transition:.4s;

}

.related-blogs .card:hover img{

transform:scale(1.05);

}

.related-blogs .card-body{

padding:25px;

}

.related-blogs .badge{

margin-bottom:15px;

}

.related-blogs h5{

font-size:22px;

font-weight:700;

margin-bottom:15px;

}

.related-blogs p{

color:#64748b;

margin-bottom:20px;

}

.related-blogs .btn{

border-radius:30px;

padding:10px 20px;

}

/* ===========================
   COMMENTS
=========================== */

.comments{

padding:90px 0;

background:#fff;

}

.comments h2{

font-size:36px;

margin-bottom:40px;

font-weight:700;

}

.comments .card{

border:none;

border-radius:18px;

box-shadow:
0 10px 30px rgba(0,0,0,.08);

margin-bottom:25px;

transition:.3s;

}

.comments .card:hover{

transform:translateY(-5px);

}

.comments h5{

font-size:20px;

margin-bottom:5px;

}

.comments small{

color:#94a3b8;

}

.comments p{

margin-top:15px;

color:#475569;

line-height:1.8;

}

/* ===========================
   COMMENT FORM
=========================== */

.comments form{

margin-top:40px;

background:#f8fbff;

padding:35px;

border-radius:20px;

box-shadow:
0 15px 30px rgba(0,0,0,.05);

}

.comments input,

.comments textarea{

border:2px solid #e2e8f0;

border-radius:12px;

padding:15px;

font-size:15px;

margin-bottom:20px;

transition:.3s;

}

.comments input:focus,

.comments textarea:focus{

border-color:#0d6efd;

box-shadow:
0 0 12px rgba(13,110,253,.15);

outline:none;

}

.comments textarea{

resize:vertical;

min-height:180px;

}

.comments button{

padding:14px 28px;

border-radius:40px;

font-weight:600;

transition:.35s;

}

.comments button:hover{

transform:translateY(-4px);

}

/* ===========================
   FADE ANIMATION
=========================== */

.author-section,
.related-blogs,
.comments{

animation:fadeUp .8s ease;

}

@keyframes fadeUp{

from{

opacity:0;
transform:translateY(40px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

.author-section{

text-align:center;

}

.author-section img{

margin:auto;

margin-bottom:25px;

}

.related-blogs h2{

font-size:30px;

}

.comments h2{

font-size:30px;

}

}

@media(max-width:768px){

.author-section h3{

font-size:26px;

}

.related-blogs{

padding:60px 0;

}

.comments{

padding:60px 0;

}

.comments form{

padding:25px;

}

.related-blogs img{

height:200px;

}

}

@media(max-width:576px){

.author-section{

padding:60px 0;

}

.author-section h3{

font-size:22px;

}

.related-blogs h2{

font-size:26px;

}

.comments h2{

font-size:26px;

}

.comments form{

padding:20px;

}

}
