/* ============================================
   BLOG STYLES — Shakti IT Services
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #1a1a2e;
    --blue: #2251ff;
    --blue-hover: #1a3fcc;
    --cyan: #00b4d8;
    --gray-light: #f5f5f5;
    --white: #ffffff;
    --gray-bg: #ebebeb;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border: #d4d4d4;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', 'Segoe UI', sans-serif;
    --container: 740px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
}

/* ====== NAVBAR ====== */
.blog-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--navy);
    z-index: 1000;
    padding: 18px 0;
}

.blog-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-nav-logo {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.blog-nav-logo span { color: var(--cyan); }

.blog-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.blog-nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.blog-nav-links a:hover { color: #ffffff; }

.blog-nav-cta {
    background: var(--blue) !important;
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600 !important;
}

/* ====== ARTICLE HERO ====== */
.article-hero {
    padding-top: 100px;
    background: var(--navy);
    color: #ffffff;
}

.article-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 48px 48px;
}

.article-tag {
    display: inline-block;
    background: rgba(34,81,255,0.2);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.article-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 620px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article-meta strong { color: rgba(255,255,255,0.8); }

.article-hero-img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.7);
}

/* ====== ARTICLE BODY ====== */
.article-body {
    max-width: 740px;
    margin: 0 auto;
    padding: 56px 48px 80px;
}

.article-body h2 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 48px 0 16px;
    line-height: 1.3;
}

.article-body h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 32px 0 12px;
}

.article-body p {
    font-size: 1.02rem;
    color: #333;
    line-height: 1.85;
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 16px 0 24px 24px;
}

.article-body li {
    font-size: 1.02rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 8px;
}

.article-body strong { color: var(--text-dark); }

.article-body a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pull quote */
.pull-quote {
    border-left: 4px solid var(--blue);
    padding: 20px 28px;
    margin: 36px 0;
    background: #f0f4ff;
    border-radius: 0 6px 6px 0;
}

.pull-quote p {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--navy);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Callout box */
.callout {
    background: var(--gray-light);
    border-radius: 8px;
    padding: 24px 28px;
    margin: 32px 0;
}

.callout-title {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
}

/* Step list */
.step-list {
    list-style: none;
    margin: 16px 0 24px 0 !important;
    counter-reset: steps;
}

.step-list li {
    counter-increment: steps;
    padding-left: 44px;
    position: relative;
    margin-bottom: 16px !important;
}

.step-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    background: var(--blue);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== CTA BAND ====== */
.article-cta {
    background: var(--navy);
    color: #ffffff;
    padding: 60px 48px;
    text-align: center;
}

.article-cta h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.article-cta p {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    margin-bottom: 28px;
}

.btn-cta {
    display: inline-block;
    background: var(--blue);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cta:hover { background: var(--blue-hover); }

/* ====== RELATED ARTICLES ====== */
.related-section {
    background: var(--gray-light);
    padding: 60px 48px;
}

.related-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.related-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-card-body {
    padding: 20px;
}

.related-card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.related-card-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ====== FOOTER ====== */
.blog-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 28px 48px;
    font-size: 0.85rem;
}

.blog-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.blog-footer a:hover { color: #fff; }

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .article-hero-inner { padding: 40px 24px 32px; }
    .article-title { font-size: 2rem; }
    .article-body { padding: 40px 24px 60px; }
    .related-grid { grid-template-columns: 1fr; }
    .related-section { padding: 48px 24px; }
    .article-cta { padding: 48px 24px; }
    .blog-nav-inner { padding: 0 24px; }
    .blog-nav-links { display: none; }
}
