*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.body-section{
    background-color: var(--bg-primary);
    background-image: var(--bg-image);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    transition: background 0.5s ease, color 0.5s ease;
}

/* blogs page css start */
.blog-filter-section {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
}

.blog-search-box {
    position: relative;
    width: 100%;
}

.blog-search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    font-size: 15px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.blog-search-box input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--shadow-color);
    outline: none;
    background-color: var(--bg-tertiary);
}

.blog-search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    font-size: 16px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.blog-search-box input:focus + i {
    color: var(--accent-primary);
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-cat-btn {
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-cat-btn:hover, .blog-cat-btn.active {
    background: var(--gradient-primary);
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Split Hero layout */
.blog-hero-split {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
    margin-bottom: 50px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .blog-hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hero-large-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.hero-large-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}
.hero-large-image:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px var(--shadow-color);
}
@media (max-width: 575px) {
    .hero-large-image {
        height: 240px;
    }
}

.hero-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-large-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.hero-large-title a {
    color: inherit;
    text-decoration: none;
}

.hero-large-card:hover .hero-large-title {
    color: var(--accent-primary);
}

.hero-large-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
}

.hero-large-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    background-color: var(--bg-tertiary);
}

.author-meta-info {
    display: flex;
    flex-direction: column;
}

.author-name-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.author-date-text {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 1px;
}

/* Sidebar List Cards */
.hero-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.sidebar-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--card-bg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    gap: 15px;
}

.sidebar-list-item:hover {
    border-color: var(--accent-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.sidebar-item-content {
    flex: 1;
}

.sidebar-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.sidebar-list-item:hover .sidebar-item-title {
    color: var(--accent-primary);
}

.sidebar-item-date {
    font-size: 12px;
    color: var(--text-tertiary);
}

.sidebar-item-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.sidebar-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* More Resources Grid Section */
.resources-section-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0;
}

.resource-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px var(--shadow-color);
}

.resource-card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-card:hover .resource-card-image img {
    transform: scale(1.03);
}

.resource-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.resource-card-tagline {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.resource-card-tagline span {
    color: var(--text-primary);
}

.resource-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.resource-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-card-title a:hover {
    color: var(--accent-primary);
}

.resource-card-excerpt {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.resource-card-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.resource-card-link:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.no-blogs-found {
    text-align: center;
    padding: 50px 20px;
    background: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    margin: 30px auto;
    width: 100%;
    max-width: 600px;
}

.no-blogs-found i {
    font-size: 40px;
    color: var(--text-tertiary);
    margin-bottom: 15px;
}

.no-blogs-found h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.no-blogs-found p {
    color: var(--text-secondary);
    font-size: 14px;
}

.pagination-sec {
    display: flex;
    justify-content: center;
    margin: 30px auto 50px;
}
/* ===================================================
   BLOG PAGE — SCROLL-REVEAL  (transition-based, replay-safe)
   =================================================== */

/* ---- Base hidden state set entirely by JS after DOMContentLoaded ---- */
/* No opacity:0 in CSS — prevents flash of invisible content on load     */

/* ---- Scroll-reveal: elements before they enter viewport ---- */
[data-sr] {
    transition:
        opacity  0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hidden state (JS sets this after first paint) */
[data-sr="fadeup"]  { opacity: 0; transform: translateY(36px);  }
[data-sr="fadedown"]{ opacity: 0; transform: translateY(-28px); }
[data-sr="left"]    { opacity: 0; transform: translateX(-48px); }
[data-sr="right"]   { opacity: 0; transform: translateX(48px);  }
[data-sr="scale"]   { opacity: 0; transform: scale(0.88);       }

/* Visible state — JS adds .sr-visible */
[data-sr].sr-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Stagger delays (applied via JS inline style) */
/* handled by --sr-delay CSS variable set in JS */
[data-sr] {
    transition-delay: var(--sr-delay, 0s);
}

/* Resources section title underline reveal */
.resources-section-title {
    position: relative;
    display: inline-block;
}

.resources-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.resources-section-title.title-line-in::after {
    width: 100%;
}

/* Category buttons — small pop-in on page load (CSS only, no flash) */
@keyframes catPopIn {
    from { opacity: 0; transform: scale(0.82); }
    to   { opacity: 1; transform: scale(1);    }
}

.blog-cat-btn {
    animation: catPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blog-cat-btn:nth-child(1) { animation-delay: 0.08s; }
.blog-cat-btn:nth-child(2) { animation-delay: 0.15s; }
.blog-cat-btn:nth-child(3) { animation-delay: 0.22s; }
.blog-cat-btn:nth-child(4) { animation-delay: 0.29s; }
.blog-cat-btn:nth-child(5) { animation-delay: 0.36s; }

/* Accent pulse on active filter button */
@keyframes pulse-accent {
    0%, 100% { box-shadow: 0 0 0 0   var(--shadow-color); }
    50%       { box-shadow: 0 0 0 8px transparent;         }
}

.blog-cat-btn.active {
    animation: pulse-accent 2s ease-in-out infinite !important;
}

/* Shimmer images wrapper */
.resource-card-image,
.hero-large-image,
.sidebar-item-thumb {
    position: relative;
}

.blog-item-card {
    padding: 10px !important;
}

/* blogs page css end */

/* ===================================================
   RELATED BLOGS SECTION TITLE — BLOG DETAIL PAGE
   =================================================== */

.related-blogs-section {
    padding: 0 !important;
}

.related-blogs-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 40px;
    position: relative;
}

.related-blogs-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 991px) {
    .related-blogs-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .related-blogs-title {
        font-size: 1.8rem;
    }
}

/* blogcontact page css start */

/* blogcontact page css start */
.contents-section {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    font-weight: 500;
    font-size: 16px;
    margin: 20px 0px;
    backdrop-filter: blur(8px);
}

.shopifylist {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.shopifylist:hover {
    color: var(--accent-primary) !important;
    text-decoration: none;
}   

.shopifyhelp {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shopifyhelp:hover {
    color: var(--text-primary) !important;
    text-decoration: none;
}

.inputsearch {
    border: 1px solid var(--border-color);
    border-radius: 30px;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .03);
    transition: all 0.3s ease;
}

.inputsearch:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px var(--shadow-color);
    outline: none;
    background-color: var(--bg-tertiary);
}

.shopifyimage {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.shopifyimage:hover {
    transform: scale(1.03);
}

.shopifypara {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    width: 100%;
    padding: 20px;
    margin: 15px 0px;
    border-radius: 15px;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .shopifypara {
    box-shadow: 0 5px 20px rgba(114, 137, 72, 0.03);
}

.shopifypara:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.shopifypara span a {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.shopifypara p {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 8px;
    margin-bottom: 0;
}

.facebookicon, .twittericon, .linkedinicon, .instagramicon {
    color: white !important;
    font-size: 18px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.facebookicon { background-color: #4267b2; }
.twittericon { background-color: #1da1f2; }
.linkedinicon { background-color: #0077b5; }
.instagramicon { background-color: #e1306c; }

.facebookicon:hover, .twittericon:hover, .linkedinicon:hover, .instagramicon:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.08);
}

.supportpara {
    background-color: var(--badge-bg);
    padding: 20px;
    font-weight: 700;
    font-size: 20px;
    margin: 30px 0px;
    border-left: 5px solid var(--accent-primary);
    border-radius: 0 10px 10px 0;
    color: var(--text-primary);
}

.author_img_box {
    height: 120px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    overflow: hidden;
    margin: 0 auto;
}

.person1 {
    width: 80%;
    object-fit: contain;
}

.persondetail {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    font-weight: 500;
    margin: 30px 0px;
    border-radius: 20px;
}

.author {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.bidisha {
    font-size: 18px;
    font-weight: 700;
}

.bidisha1 {
    font-weight: 400;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 10px;
}

.card2 {
    display: flex;
    margin: 30px auto;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.leave {
    color: var(--accent-primary);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.leave1 {
    font-size: 14px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.leave2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.leave3 {
    border: 1px solid var(--border-color);
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.leave3:focus {
    border-color: var(--accent-primary);
    background-color: var(--bg-tertiary);
    outline: none;
    box-shadow: 0 0 10px var(--shadow-color);
}

.post-btn1 {
    text-align: center;
    margin-top: 15px;
}

.post-btn {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.post-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px var(--shadow-color);
}

.shopify-grp {
    color: var(--text-secondary) !important;
    padding: 6px 14px;
    margin: 5px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: var(--bg-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.shopify-grp:hover {
    background: var(--gradient-primary);
    color: white !important;
    border-color: transparent;
    transform: translateY(-2px);
}
/* blogcontact page css end */

/* blogcontact page media query start */
@media (max-width:1200px){
    .image-1{
        margin: 10px 0px;
    }
    .main-section{
        margin: 20px 0px;
    }
}
/* blogcontact page media query end*/
.ttm_single_image-wrapper{
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 40px;
    background: var(--bg-secondary);
}
.wrap{
    max-width: 1340px;
    width: auto;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.main-section{
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    padding: 0 20px; 
    width: 100%;
}
.blog_contain{
    width: 100% !important;
    padding-right: 0px;
}
@media (min-width: 1200px) {
    .blog_contain {
        width: 70% !important;
        flex: 0 0 70% !important;
        max-width: 70% !important;
        padding-right: 30px;
    }
    .main-section {
        width: 30% !important;
        flex: 0 0 30% !important;
        max-width: 30% !important;
    }
}

@media (max-width: 768px) {
    .resources-section-title {
        font-size: 22px;
    }
    .hero-large-title {
        font-size: 20px;
    }

    .blog_contain,
    .wrap {
        padding: 0 !important;
    }
    .supportpara {
        padding: 14px 20px;
        font-size: 18px;
        margin: 14px 0;
    }
    .persondetail {
        margin: 30px 20px;
    }
}