:root {
    --primary-green: #10B981;
    --primary-green-dark: #059669;
    --primary-green-light: #D1FAE5;

    --primary-blue: #10B981; /* override old blue */
    --primary-dark: #064E3B;

    --accent-gradient: linear-gradient(135deg, #10B981, #3B82F6);
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
h1{font-size: 40px;}


.section-title {
    background: linear-gradient(135deg, #10B981, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* ===================================
   Navigation
   =================================== */

.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
}

.navbar.sticky-top {
    box-shadow: var(--shadow-sm);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#navbarNav .navbar-nav {
    display: flex !important;
    align-items: center;
    flex-direction: row;
}

#navbarNav .navbar-nav .nav-item {
    margin-right: 35px !important;
}

#navbarNav .navbar-nav .nav-item:last-child {
    margin-right: 0 !important;
}
/* FORCE NAVBAR ITEM SPACING */
.navbar .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.navbar .navbar-nav > li,
.navbar .navbar-nav > .menu-item,
.navbar .navbar-nav > .nav-item {
    margin-right: 40px !important;
}

.navbar .navbar-nav > li:last-child,
.navbar .navbar-nav > .menu-item:last-child,
.navbar .navbar-nav > .nav-item:last-child {
    margin-right: 0 !important;
}

#navbarNav > ul > li,
#navbarNav .menu > ul > li,
.navbar-nav > li {
    margin-left: 2rem !important;
}

#navbarNav > ul > li:first-child,
#navbarNav .menu > ul > li:first-child,
.navbar-nav > li:first-child {
    margin-left: 0 !important;
}

.navbar-collapse li a,
.navbar-nav .nav-link,
.navbar-nav a {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.navbar-collapse li a:hover,
.navbar-nav .nav-link:hover,
.navbar-nav a:hover {
    color: var(--primary-blue) !important;
}

.navbar-collapse li a::after,
.navbar-nav .nav-link::after,
.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.navbar-collapse li a:hover::after,
.navbar-nav .nav-link:hover::after,
.navbar-nav a:hover::after {
    width: 100%;
}

.navbar-expand-lg #navbarNav > ul,
.navbar-expand-lg #navbarNav .menu > ul,
.navbar-expand-lg .navbar-nav {
    gap: 2rem !important;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16,185,129,0.6), rgba(6,78,59,0.7));
    pointer-events: none;
    z-index: 1;
}



.badge-primary {
    background: rgba(16,185,129,0.1);
    color: #59bd9b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 1.5rem 0 1rem;
    color :#ffffff !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

.illustration {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.1));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===================================
   Skeleton Loaders
   =================================== */

.skeleton-line {
    height: 16px;
    background: linear-gradient(90deg, var(--border-light) 25%, rgba(226, 232, 240, 0.5) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    animation: loading 1.5s infinite;
}

.skeleton-title {
    height: 32px;
    margin-bottom: 1.5rem;
}

.skeleton-subtitle {
    height: 24px;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    background: linear-gradient(90deg, var(--border-light) 25%, rgba(226, 232, 240, 0.5) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: loading 1.5s infinite;
    margin-bottom: 1rem;
}

.skeleton-btn {
    height: 48px;
    background: linear-gradient(90deg, var(--border-light) 25%, rgba(226, 232, 240, 0.5) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: loading 1.5s infinite;
    margin-right: 1rem;
    width: 150px;
    display: inline-block;
}

.skeleton-btn-small {
    height: 40px;
    background: linear-gradient(90deg, var(--border-light) 25%, rgba(226, 232, 240, 0.5) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: loading 1.5s infinite;
    width: 100%;
    margin-top: 1rem;
}

.skeleton-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-skeleton {
    animation: fadeIn 0.3s ease;
}

.card-skeleton {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.blog-skeleton {
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}

.case-study-skeleton {
    padding: 2rem 1.5rem;
}

.hero-image-skeleton {
    background: linear-gradient(90deg, var(--border-light) 25%, rgba(226, 232, 240, 0.5) 50%, var(--border-light) 75%);
    background-size: 200% 100%;
    border-radius: 16px;
    animation: loading 1.5s infinite;
    min-height: 400px;
    position: relative;
}

.skeleton-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 16px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   Featured Section
   =================================== */

.featured-section {
    background-color: var(--white);
    padding: 100px 0 !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.card-feature {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent);
    pointer-events: none;
}

.card-feature:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #10B981;
    font-size: 1.75rem;
}

.card-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #10B981;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #059669 !important;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ===================================
   Blog Section
   =================================== */

.blog-section {
    background-color: var(--bg-light);
    padding: 100px 0 !important;
}

.card-blog {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-blog:hover {
    border-color: #10B981;
    box-shadow: 0 20px 50px rgba(16,185,129,0.15);
    transform: translateY(-6px);
}

.card-blog:hover .blog-image {
    transform: scale(1.05);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-title a:hover {
    color: #10B981;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-read-more {
    color: #10B981;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-read-more:hover {
    color: #059669 !important;
}

.blog-read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

/* ===================================
   Pagination
   =================================== */

.pagination-container {
    margin-top: 3rem;
}

.pagination {
    border-bottom: none;
}

.pagination .page-link {
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.pagination .page-link:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

/* ===================================
   Email Capture Section
   =================================== */

.email-capture-section {
    background-color: var(--white);
    padding: 80px 0 !important;
}

.email-capture-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2744 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.email-capture-box h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.email-capture-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.email-form {
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.email-form .input-group {
    gap: 0.5rem;
}

.email-form input {
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
}

.email-form input::placeholder {
    color: var(--text-secondary);
}

.email-form .btn {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #10B981;
    border-color: #198754;
    transform: translateY(-2px);
}
.email-form .btn:hover {
    background-color: #10B981;
    border-color: #198754;
    transform: translateY(-2px);
}

.email-notice {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem; 
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #10B981;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: #10B981;
    color: var(--white);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===================================
   Single Post Styles
   =================================== */

.post-single {
    background-color: var(--white);
    
}

.entry-header {
    border-bottom: 1px solid var(--border-light);
   
}

.entry-title {
    font-size: 2.5rem;
    line-height: 1.2;
   
}

.entry-meta {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.entry-meta a {
        color: #10B981;

}

.featured-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.entry-content {
   
    line-height: 1.8;
    color: var(--text-primary);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 2rem 0 1rem;
}

.entry-content a {
    color: #10B981;
    text-decoration: underline;
}

.entry-content a:hover {
    color: #10B981;
}

.entry-footer {
    padding-top: 2rem;
}

.post-tags .badge {
    margin-right: 0.5rem;
}

/* ===================================
   Table of Contents
   =================================== */

.table-of-contents {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    top: 100px;
}

.toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
}

.toc-title i {
        color: #10B981;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.toc-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.toc-list li a:hover {
    color: #10B981;
    border-left-color: #10B981;
    padding-left: 1rem;
}

.toc-list li.active > a {
    color: #10B981;
    border-left-color: #10B981;
    padding-left: 1rem;
    font-weight: 600;
}

/* TOC Nesting */
.toc-list .toc-list {
    padding-left: 1rem;
}

.toc-list li.h3 > a {
    padding-left: 1.5rem;
    font-size: 0.85rem;
}

.toc-list li.h4 > a {
    padding-left: 2rem;
    font-size: 0.8rem;
}

/* Scrollbar styling for TOC */
.table-of-contents::-webkit-scrollbar {
    width: 6px;
}

.table-of-contents::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.table-of-contents::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.table-of-contents::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .email-form .input-group {
        flex-direction: column;
    }

    .email-form input,
    .email-form .btn {
        width: 100%;
    }

    .email-capture-box {
        padding: 2rem 1.5rem;
    }

    .footer {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .card-feature {
        margin-bottom: 1rem;
    }

    .entry-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    #navbarNav > ul,
    #navbarNav .menu > ul,
    .navbar-nav {
        align-items: flex-start;
        gap: 0.75rem !important;
        padding-top: 1rem;
        flex-direction: column;
    }

    #navbarNav > ul > li,
    #navbarNav .menu > ul > li,
    .navbar-nav > li {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-nav {
        gap: 2.5rem !important;
        align-items: flex-start;
    }

    .navbar-nav > li {
        margin-left: 0;
    }

    .navbar-nav .nav-link,
    .navbar-nav a {
        margin: 0 !important;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.85rem !important;
    }

    .badge-primary {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    /* Table of Contents - Mobile */
    .table-of-contents {
        display: none;
    }

    .post-single .row {
        flex-direction: column;
    }

    .post-single .col-lg-6 {
        width: 100%;
    }
}


.featured-banner {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

#tools-skeleton {
    margin-bottom: 20px;
}

.flip-card {
    width: 260px;
    height: 320px;
    perspective: 1000px;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* FRONT */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    backface-visibility: hidden;
}

/* FRONT */
.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BACK */
.flip-card-back {
    background: #0F172A;
    color: #fff;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-card {
    position: relative;
    padding: 28px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #eef2f7;
    transition: all 0.35s ease;
    overflow: hidden;
}

/* SOFT GRADIENT GLOW */
.case-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(16,185,129,0.15), transparent 70%);
    top: -40px;
    right: -40px;
    z-index: 1;
    pointer-events: none;
}

/* HOVER */
.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
}

/* BIG NUMBER */
.case-result {
    font-size: 36px;
    font-weight: 800;
    color: #10B981;
    letter-spacing: -1px;
}

/* SMALL LABEL */
.case-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}

/* TITLE */
.case-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

/* DESC */
.case-desc {
    font-size: 14px;
    color: #64748b;
}

.case-card {
    position: relative;
    cursor: pointer;
}

/* FULL CLICK LINK */
.case-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 10; /* MUST be highest */
}

/* REMOVE z-index from content */
.case-result,
.case-title,
.case-desc,
.case-label {
    position: relative;
    z-index: 1; /* lower than overlay */
}

.case-title {
    transition: color 0.3s ease;
}

.case-card:hover .case-title {
    color: #06704d;
}
/* GRID FIX */
.row.g-4 > div {
    display: flex;
}

/* CARD FIX */
.case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* PUSH CONTENT */
.case-desc {
    flex-grow: 1;
}

/* ===================================
   Dark Mode - follows system/browser theme
   =================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --primary-green-light: rgba(16,185,129,0.14);
        --primary-dark: #A7F3D0;
        --accent-gradient: linear-gradient(135deg, #10B981, #60A5FA);
    }

    body {
        background: var(--bg-main);
        color: var(--text-primary);
    }

    .navbar {
        background-color: rgba(2, 6, 23, 0.94);
        backdrop-filter: blur(12px);
    }

    .navbar-light .navbar-toggler {
        border-color: var(--border-light);
    }

    .navbar-light .navbar-toggler-icon {
        filter: invert(1) grayscale(100%);
    }

    .brand-logo,
    .toc-title {
        background: linear-gradient(135deg, #A7F3D0 0%, #10B981 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #A7F3D0;
    }

    .featured-section,
    .email-capture-section,
    .post-single {
        background-color: var(--bg-main);
    }

    .hero-section,
    .blog-section {
        background-color: var(--bg-light);
    }

    .card,
    .card-blog,
    .card-feature,
    .premium-card,
    .case-card,
    .table-of-contents,
    .wp-caption,
    .card-skeleton {
        background: #0F172A;
        border-color: var(--border-light);
        box-shadow: var(--shadow-sm);
    }

    .card-feature::before,
    .premium-card::before,
    .case-card::before {
        background: radial-gradient(circle at top right, rgba(16,185,129,0.18), transparent 65%);
    }

    .premium-card {
        background: linear-gradient(145deg, #0F172A, #111827);
        border-color: var(--border-light);
    }

    .premium-image {
        background: linear-gradient(135deg, #111827, #020617);
    }

    .premium-title a,
    .case-title,
    .blog-title a,
    .blog-title,
    .premium-title,
    .section-title {
        color: var(--text-primary);
    }

    .premium-desc,
    .case-desc,
    .case-label,
    .section-subtitle,
    .blog-excerpt,
    .blog-date,
    .toc-list li a,
    .navbar-nav .nav-link {
        color: var(--text-secondary) !important;
    }

    .pagination .page-link,
    .email-form input {
        background-color: #0F172A;
        border-color: var(--border-light);
        color: var(--text-primary);
    }

    .email-form input::placeholder {
        color: var(--text-secondary);
    }

    .premium-footer,
    .entry-header,
    .footer-bottom {
        border-color: var(--border-light);
    }

    .btn,
    .btn-primary,
    .btn-success,
    .btn-outline-primary:hover,
    .email-form .btn,
    .pagination .page-link:hover,
    .pagination .page-item.active .page-link,
    .footer-title,
    .email-capture-box h2,
    .blog-image,
    .email-capture-box,
    .social-links a:hover {
        color: #ffffff;
    }

    .btn-outline-primary {
        color: #34D399;
        border-color: #10B981;
    }

    .email-capture-box,
    .footer {
        background: linear-gradient(135deg, #022C22 0%, #020617 100%);
    }

    .skeleton-line,
    .skeleton-image,
    .skeleton-btn,
    .skeleton-btn-small,
    .hero-image-skeleton {
        background: linear-gradient(90deg, #1E293B 25%, #334155 50%, #1E293B 75%);
        background-size: 200% 100%;
    }
}

/* CARD */
.premium-card {
    background: var(--white) !important;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

/* IMAGE AREA */
.premium-image {
    background: #ffffff; /* slightly darker than page */
}

/* HOVER */
.premium-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.premium-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    transition: all 0.35s ease;
    width: 100%;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* IMAGE */
.premium-image {
    position: relative;
    height: 180px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-image img {
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* BADGE */
.tool-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16,185,129,0.1);
    color: #059669;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* CONTENT */
.premium-content {
    padding: 20px;
}

.premium-category {
    font-size: 12px;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 6px;
    display: inline-block;
}

.premium-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.premium-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* META */
.premium-meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* FOOTER */
.premium-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-light);
}

.premium-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
}
.premium-icon{
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    font-size: 40px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tool-tags span {
    font-size: 12px;
    padding: 4px 8px;
    background: #EFF6FF;
    color: var(--primary-blue);
    border-radius: 6px;
}

.tutorial-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 30px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

/* LEFT */
.tutorial-left {
    background: #F1F5F9;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutorial-left img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

/* PLACEHOLDER */
.tutorial-placeholder {
    font-size: 40px;
    color: var(--primary-blue);
}

/* RIGHT */
.tutorial-title {
    font-size: 24px;
    margin: 10px 0;
}

.tutorial-desc {
    font-size: 15px;
    color: var(--text-secondary);
}

/* BADGE */
.tutorial-badge {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(16,185,129,0.1);
    color: #059669;
}

/* META */
.tutorial-meta {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* HOVER */
.tutorial-featured-grid:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .tutorial-featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.blog-card-premium {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-light);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* IMAGE */
.blog-image {
    position: relative;
    height: 180px;
    background: #F1F5F9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* BADGE */
.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(16,185,129,0.1);
    color: #059669;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* CONTENT */
.blog-content {
    padding: 18px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
}

/* FOOTER */
.blog-footer {
    padding: 15px 18px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.blog-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
}

/* HOVER */
.blog-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card-premium:hover img {
    transform: scale(1.05);
}

/* PLACEHOLDER */
.blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 28px;
    color: var(--primary-blue);
}

/* ===================================
   Final Dark Mode Overrides
   =================================== */

@media (prefers-color-scheme: dark) {
    body,
    .site-main,
    .post-single,
    .archive-page,
    .resume-maker-page {
        background: var(--bg-main);
        color: var(--text-primary);
    }

    .navbar,
    .navbar-collapse {
        background-color: rgba(2, 6, 23, 0.96);
    }

    .navbar-nav .nav-link,
    .navbar-nav a {
        color: var(--text-secondary) !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav a:hover {
        color: #34D399 !important;
    }

    .premium-card,
    .blog-card-premium,
    .tutorial-featured-grid,
    .case-card,
    .card-blog,
    .card-feature,
    .table-of-contents,
    .wp-caption {
        background: #0F172A !important;
        border-color: var(--border-light);
        color: var(--text-primary);
    }

    .premium-image,
    .tutorial-left,
    .blog-image {
        background: #111827;
    }

    .entry-title,
    .entry-content,
    .entry-content p,
    .premium-title,
    .premium-title a,
    .blog-title,
    .blog-title a,
    .tutorial-title,
    .case-title,
    .dynamic-field-header h4 {
        color: var(--text-primary) !important;
    }

    .entry-meta,
    .premium-desc,
    .premium-meta,
    .blog-excerpt,
    .blog-date,
    .tutorial-desc,
    .tutorial-meta,
    .case-desc,
    .case-label {
        color: var(--text-secondary) !important;
    }

    .tool-tags span {
        background: rgba(16,185,129,0.14);
        color: #A7F3D0;
    }
}
