/* Custom Styles for GFXTOOY */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
      --primary: #2563eb;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-soft: #f8fafc;
    --border-soft: #e5e7eb;
    --radius: 14px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,.06);
}



body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif;
}



.col-md-6.col-lg-4 h3 {
    color: #0f172a;
}

.steps-timeline h4 {
    color: #0f172a;
}






/* =========================
   Blog Listing – Modern UI
========================= */

/* =========================
   Popular Guides Cards
========================= */
.popular-post-card {
    display: flex;
    align-items: center;
    padding: .35rem;
    border-radius: 12px;
    transition: background .25s ease, transform .25s ease;
}

.popular-post-card:hover {
    background: var(--bg-soft);
    transform: translateX(3px);
}

.popular-post-img {
    width: 60px;          /* fixed width */
    height: 60px;         /* fixed height */
    object-fit: cover;    /* crop/fit image properly */
    border-radius: 10px;
    flex-shrink: 0;
}


.popular-post-content h6 {
    font-size: .9rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
}

.popular-post-content span {
    font-size: .75rem;
    color: var(--text-muted);
}


/* Page title */
h1 {
    font-weight: 800;
    color: var(--text-main);
}

.lead {
    color: var(--text-muted);
}

/* =========================
   Blog Card
========================= */
/* Blog Cards */
.blog-post-card {
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
        cursor: pointer;

    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
        overflow: hidden;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
.blog-post-card img {
    border-radius: 12px;
    object-fit: cover;
    max-height: 200px;
    width: 100%;
    margin-bottom: 1rem;
}

.blog-post-card .blog-title {
    color: #0f172a; /* dark black / slate */
}

.blog-post-card h2 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: .6rem;
}
.blog-post-card h2 a {
    display: block;
    color: #0f172a;
}

.blog-post-card p {
    flex-grow: 1;
}

/* Popular Sidebar Cards */
.popular-post-card {
    display: flex;
    align-items: center;
    padding: .35rem;
    border-radius: 12px;
    transition: background .25s ease, transform .25s ease;
}
.popular-post-card:hover {
    background: #f8fafc;
    transform: translateX(3px);
}
.popular-post-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.popular-post-content h6 {
    font-size: .9rem;
    font-weight: 600;
    margin: 0;
}
.popular-post-content span {
    font-size: .75rem;
    color: #64748b;
}

.blog-title a {
    white-space: nowrap;       /* keep in one line */
    overflow: hidden;          /* hide overflow */
    text-overflow: ellipsis;   /* show ... if too long */
    color: #0f172a;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post-card img {
        max-height: 180px;
    }
}


/* Read more button */
.blog-post-card .btn {
    border-radius: 999px;
    font-weight: 600;
    padding: .45rem 1.2rem;
}

/* Divider */
hr {
    border-color: var(--border-soft);
}

/* =========================
   Pagination
========================= */
.pagination .page-link {
    border: none;
    margin: 0 .2rem;
    border-radius: 10px;
    color: var(--text-main);
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
}

.pagination .page-link:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

/* =========================
   Sidebar
========================= */
.sidebar {
    position: sticky;
    top: 90px;
}

/* Sidebar cards */
.sidebar .card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.sidebar .card-title {
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Categories & links */
.sidebar ul li {
    margin-bottom: .5rem;
}

.sidebar ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color .2s ease;
}

.sidebar ul a:hover {
    color: var(--primary);
}

/* Popular posts */
.sidebar ul a::before {
    content: "›";
    margin-right: .4rem;
    color: var(--primary);
}

/* =========================
   Newsletter
========================= */
#newsletterForm input {
    border-radius: 10px;
    border-color: var(--border-soft);
}

#newsletterForm input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .15rem rgba(37,99,235,.15);
}

#newsletterForm button {
    border-radius: 999px;
    font-weight: 700;
}

/* =========================
   Empty State
========================= */
.alert-info {
    border-radius: var(--radius);
    background: var(--bg-soft);
    border: none;
    color: var(--text-main);
}

/* =========================
   Responsive
========================= */
@media (max-width: 991px) {
    .sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-post-card h2 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: .6rem;
}
}










/* =========================
   Blog Post – Modern UI/UX
========================= */


/* Blog wrapper */
.blog-post {
    background: #fff;
    border-radius: var(--radius);
}

/* =========================
   Breadcrumb
========================= */
.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: .9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* =========================
   Post Header
========================= */
.post-header img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.post-header h1 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

/* Meta info */
.post-meta {
    font-size: .9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: .75rem 0;
}

.post-meta a {
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--primary);
}

/* =========================
   Post Content
========================= */
.post-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #1f2937;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-main);
}

.post-content h2 {
    font-size: 1.6rem;
}

.post-content h3 {
    font-size: 1.35rem;
}

.post-content ul,
.post-content ol {
    padding-left: 1.3rem;
    margin-bottom: 1.3rem;
}

.post-content li {
    margin-bottom: .5rem;
}

/* Images inside content */
.post-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-soft);
}

/* Blockquote */
.post-content blockquote {
    background: var(--bg-soft);
    border-left: 4px solid var(--primary);
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin: 2rem 0;
    color: var(--text-main);
    font-style: italic;
}

/* Code */
.post-content pre {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1.2rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: .9rem;
}

.post-content code {
    background: #f1f5f9;
    padding: .2rem .4rem;
    border-radius: 6px;
    font-size: .9rem;
}

/* =========================
   Tags
========================= */
.post-tags h5 {
    font-weight: 700;
}

.post-tags a {
    border-radius: 999px;
    padding: .35rem .8rem;
    font-size: .8rem;
    border-color: var(--border-soft);
    color: var(--text-main);
}

.post-tags a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* =========================
   Share Buttons
========================= */
.share-buttons .btn {
    border-radius: 999px;
    font-weight: 600;
    padding: .45rem 1rem;
}

/* =========================
   Related Posts
========================= */
.related-posts h4 {
    font-weight: 800;
}

.related-posts .card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease;
}

.related-posts .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.1);
}

.related-posts img {
    border-radius: var(--radius) var(--radius) 0 0;
}

.related-posts .card-title a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: .95rem;
}

.related-posts .card-title a:hover {
    color: var(--primary);
}

/* =========================
   Comments
========================= */
.comments-section {
    padding: 2rem;
    background: var(--bg-soft);
    border-radius: var(--radius);
}

.comments-section h4 {
    font-weight: 800;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 1.7rem;
    }

    .post-content {
        font-size: 1rem;
    }
}









/* =========================
   Blog Post Content Styling
========================= */

/* Blog post title */
.post-header h1 {
    color: #000000; /* black */
}


.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #212B35;
}

/* Headings inside post */
.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #041C32;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #064663;
}

/* Paragraphs */
.post-content p {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Lists */
.post-content ul {
    margin: 1rem 0 1.5rem 1.2rem;
    padding-left: 1rem;
}

.post-content ul li {
    margin-bottom: .6rem;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

/* Custom bullet instead of ? */
.post-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Links */
.post-content a {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

/* Horizontal rule */
.post-content hr {
    margin: 2.5rem 0;
    border-top: 1px solid #e2e8f0;
}





/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    
}

/* Feature Cards */
.feature-card {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    color: var(--primary-color);
}

/* Blog Cards */
.blog-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-content {
    background: white;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.feature-card.text-center.p-4 h4 {
    color: #212B35;
}

.row.align-items-center h2 {
    color: #212B35;
}


h2.text-center.mb-5 {
    color: #212B35;
}




/* Sidebar */
.sidebar .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
}

.social-links a {
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .site-headline {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 10px 15px;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(0,123,255,0.1);
    color: var(--primary-color);
}