/* Premium IT Agency Blog Styling */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary-color: #0f172a; /* Deep tech navy */
    --secondary-color: #1e293b;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.blog-container { max-width: 840px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.site-nav {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}
.nav-wrapper {
    display: flex; justify-content: space-between; align-items: center;
}
.site-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 800; color: var(--primary-color);
    letter-spacing: -0.5px;
}
.site-logo span { color: var(--accent-blue); }
.site-logo .logo-solution { color: var(--accent-cyan); font-weight: 600; }
.nav-links { display: flex; align-items: center; }
.nav-links a { 
    margin-left: 28px; font-weight: 600; font-size: 0.95rem; 
    color: var(--text-secondary); transition: color 0.3s; 
}
.nav-links a:hover { color: var(--accent-blue); }
.nav-links .btn-contact {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: white; padding: 10px 24px; border-radius: 50px;
    margin-left: 28px; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.nav-links .btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Hero Section */
.blog-hero {
    padding: 80px 0 40px;
    text-align: center;
}
.category-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
}
.blog-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-color);
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.blog-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
}
.author-meta {
    display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 40px;
}
.author-meta img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid white; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.author-details { text-align: left; }
.author-name { display: block; font-weight: 700; font-family: var(--font-heading); color: var(--primary-color); }
.post-date { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500;}

/* Hero Image Wrapper */
.hero-image-wrapper {
    margin-bottom: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    background: #fff;
    padding: 8px; /* Frame effect */
}
.hero-image-wrapper img {
    width: 100%; height: auto; display: block; border-radius: 10px;
}

/* Content Typography */
.blog-content {
    padding-bottom: 60px;
}
.blog-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem; color: var(--primary-color); margin: 60px 0 24px; font-weight: 800;
    letter-spacing: -0.5px;
}
.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem; color: var(--secondary-color); margin: 40px 0 16px; font-weight: 700;
}
.blog-content p {
    font-size: 1.125rem; margin-bottom: 24px; color: var(--text-secondary);
}
.blog-content ul {
    margin-bottom: 24px; padding-left: 20px;
}
.blog-content li {
    font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 12px;
}
.blog-content strong {
    color: var(--primary-color);
}

/* Callout Box */
.callout-box {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.05), rgba(6, 182, 212, 0.05));
    border-left: 4px solid var(--accent-blue);
    padding: 32px;
    border-radius: 0 12px 12px 0;
    margin: 40px 0;
}
.callout-box p {
    margin: 0 0 16px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
}
.callout-box p:last-child { margin: 0; }

/* Service Grid Custom */
.service-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 48px 0;
}
.service-card {
    background: var(--surface); padding: 32px; border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    border-color: rgba(59, 130, 246, 0.3);
}
.service-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem; color: var(--primary-color); margin-bottom: 12px; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
}
.service-card .icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: rgba(59, 130, 246, 0.1); color: var(--accent-blue);
    border-radius: 10px; margin-bottom: 20px; font-size: 1.2rem;
}
.service-card p { font-size: 1rem; margin-bottom: 0; color: var(--text-secondary); }

/* Premium CTA Banner (Replacing Form) */
.premium-cta {
    background: linear-gradient(135deg, var(--primary-color), #1e3a8a);
    color: white;
    padding: 64px 48px;
    border-radius: 24px;
    text-align: center;
    margin: 80px 0 40px;
    box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
}
.premium-cta::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.premium-cta h3 {
    font-family: var(--font-heading); color: white; font-size: 2.5rem; 
    margin: 0 0 16px; position: relative; z-index: 1; font-weight: 800; letter-spacing: -0.5px;
}
.premium-cta p {
    color: #e2e8f0; font-size: 1.25rem; margin: 0 auto 32px; 
    max-width: 600px; position: relative; z-index: 1;
}
.btn-cta-large {
    display: inline-flex; align-items: center; gap: 10px;
    background: white; color: var(--primary-color);
    padding: 16px 40px; border-radius: 50px; font-weight: 700; font-size: 1.125rem;
    transition: all 0.3s; position: relative; z-index: 1;
    font-family: var(--font-heading);
}
.btn-cta-large:hover {
    transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.btn-cta-large i { font-size: 1.2rem; }

/* Inline image */
.article-inline-image { margin: 50px 0; border-radius: var(--border-radius); overflow: hidden; }
.article-inline-image img { width: 100%; height: auto; display: block; border-radius: 12px; }
.article-inline-image figcaption { text-align: center; font-size: 0.9rem; color: var(--text-secondary); margin-top: 12px; font-style: italic; }

/* Footer styling */
.footer { background-color: var(--primary-color); color: #f1f2f6; padding: 80px 0 40px; margin-top: 60px;}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer h2, .footer h3 { font-family: var(--font-heading); color: #fff; margin-bottom: 20px; font-size: 1.5rem; font-weight: 700;}
.footer p, .footer a { color: #94a3b8; font-size: 1rem; }
.social-icons { display: flex; gap: 16px; align-items: center; }
.social-icons a { display: flex; justify-content: center; align-items: center; width: 44px; height: 44px; background-color: rgba(255, 255, 255, 0.05); border-radius: 50%; font-size: 1.2rem; transition: 0.3s ease; }
.social-icons a:hover { background-color: var(--accent-blue); color: #fff; }
.footer-links { grid-column: 1 / -1; text-align: center; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-links a { margin: 0 16px; font-size: 0.95rem; }
.keyword-links { max-width: 1200px; margin: 30px auto 0; padding: 0 24px; text-align: center; }
.keyword-links a { color: #94a3b8; text-decoration: none; margin: 0 12px; font-size: 0.9rem; display: inline-block; padding: 4px 0;}
.keyword-links a:hover { color: var(--accent-cyan); text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; font-size: 0.9rem; color: #64748b; }

/* Contact Box Footer */
.contact-info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.contact-info-box p { margin: 0; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed; width: 64px; height: 64px; bottom: 40px; right: 40px;
    background-color: #25d366; color: #FFF; border-radius: 50px;
    display: flex; align-items: center; justify-content: center; font-size: 32px;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3); z-index: 100; transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); color: white;}

/* Loader */
#loader-container { display: none; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-title { font-size: 2.25rem; }
    .blog-hero { padding: 40px 0 20px; }
    .service-grid { grid-template-columns: 1fr; }
    .nav-links a.hide-mobile { display: none; }
    .premium-cta { padding: 40px 24px; margin: 40px 0; }
    .premium-cta h3 { font-size: 1.75rem; }
    .whatsapp-float { width: 56px; height: 56px; bottom: 20px; right: 20px; font-size: 28px; }
}
