/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --foreground: #1a1f2e;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #4285f4;
  --primary-fg: #ffffff;
  --primary-light: #e8f0fe;
  --primary-dark: #1a56db;
  --accent: #e8f0fe;
  --accent-fg: #1a56db;
  --success: #22c55e;
  --destructive: #ef4444;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body{
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}



.container { max-width: 960px; margin: 0 auto; padding: 0 1rem; }
.hidden { display: none !important; }


/* ===== Site Header/Footer ===== */
:root {
  --navy: #1e3a5f;
  --navy-dark: #152d4a;
  --blue: #1a73e8;
  --blue-hover: #1557b0;
  --blue-light: #e8f0fe;
  --green: #34a853;
  --orange: #fa7b17;
  --red: #d93025;
  --white: #ffffff;
  --card-bg: #ffffff;
  --text: #202124;
  --muted2: #9aa0a6;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --radius-sm: 8px;
}

/* Site container */
.container{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  background: var(--navy);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-box {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px;
}

.logo-box span {
  border-radius: 2px;
}

.logo-box .b1,
.logo-box .b2,
.logo-box .b3 {
  background: var(--blue);
}

.logo-box .b4 {
  background: var(--green);
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 6px;
  transition: all 0.18s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.2);
}



/* Hero Section*/
main{
  flex: 1;
  padding: 24px 0 0;
}

.hero {
  background: linear-gradient(160deg, #1e3a5f 0%, #1a4f8a 55%, #1e5ea8 100%);
  padding: 26px 0 24px;
  text-align: center;
  border-bottom: 4px solid #2563c8;
}

/* Text Inside Section*/
.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: #fff;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}



h1{
  text-align:center;
}

.blog-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.blog-card{
  background:#fff;
  padding:20px;
  border-radius:10px;
  border:1px solid #ddd;
  text-decoration:none;
  color:#111;
  transition:.2s;
}

.blog-card:hover{
  transform:translateY(-5px);
}

.blog-card h3{
  margin-bottom:10px;
}

.blog-card span{
  font-size:12px;
  color:gray;
}




/* FOOTER Section start here */
.site-footer {
  background: var(--navy);
  padding: 18px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.footer-logo-box {
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
}

.footer-logo-box span {
  border-radius: 1px;
}

.footer-logo-box .b1,
.footer-logo-box .b2,
.footer-logo-box .b3 {
  background: rgba(255,255,255,0.9);
}

.footer-logo-box .b4 {
  background: var(--green);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.18s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  margin-left: auto;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 640px) {
  .header-nav {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-copy {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer-nav {
    margin-left: auto;
    display: flex;
    gap: 25px;
  }

  .footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 8px;
 }
}

/* TABLET */
@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .tools-section {
    padding: 60px 0;
  }
}



.tips-grid {
  margin-bottom: 40px;
}


/* Single blog page */
.blog-post-single {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 18px;
  padding: 34px 40px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.blog-post-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 800;
}

.blog-post-meta {
  color: #64748b;
  font-size: 0.98rem;
  margin-bottom: 26px;
}

.blog-content {
  font-size: 1.05rem;
  color: #1f2937;
}

.blog-content p {
  margin: 0 0 18px;
  line-height: 1.85;
}

.blog-content h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 34px 0 14px;
  color: #0f172a;
  font-weight: 800;
}

.blog-content h3 {
  font-size: 1.35rem;
  margin: 24px 0 10px;
  color: #0f172a;
  font-weight: 700;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 22px 24px;
  padding: 0;
}

.blog-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.blog-content strong {
  color: #111827;
}

.blog-content a {
  color: #1a73e8;
  font-weight: 600;
}

.blog-content .toc {
  background: #eef4ff;
  border: 1px solid #d8e5ff;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 26px 0;
}

.blog-content .cta-box {
  margin-top: 34px;
  background: linear-gradient(160deg, #1e3a5f 0%, #1a4f8a 55%, #1e5ea8 100%);
  border-radius: 18px;
  padding: 28px;
  color: #fff;
}

.blog-content .cta-box h3 {
  color: #fff;
  margin-bottom: 10px;
}

.blog-content .cta-box p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
}

.blog-content .btn {
  display: inline-block;
  background: #fff;
  color: #1a56db;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.blog-content .btn:hover {
  background: #eef4ff;
}

.blog-back {
  max-width: 860px;
  margin: 0 auto 16px;
}

.blog-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1a56db;
  text-decoration: none;
}

.blog-back a:hover {
  text-decoration: underline;
}

/* Better spacing for article sections */
.blog-content > *:first-child {
  margin-top: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .blog-post-single {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .blog-post-title {
    font-size: 2rem;
  }

  .blog-content {
    font-size: 1rem;
  }

  .blog-content h2 {
    font-size: 1.55rem;
  }

  .blog-content h3 {
    font-size: 1.2rem;
  }

  .blog-content ul,
  .blog-content ol {
    margin-left: 20px;
  }
}


.blog-featured-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 0 0 24px;
  border: 1px solid #e5eaf1;
}

html {
  scroll-behavior: smooth;
}

.blog-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.blog-post-single {
  max-width: 100%;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 18px;
  padding: 34px 40px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.blog-post-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 800;
}

.blog-post-meta {
  color: #64748b;
  font-size: 0.98rem;
  margin-bottom: 22px;
}

.blog-featured-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 0 0 28px;
  border: 1px solid #e5eaf1;
  display: block;
}

.blog-back {
  max-width: 1168px;
  margin: 0 auto 16px;
}

.blog-back a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1a56db;
  text-decoration: none;
}

.blog-back a:hover {
  text-decoration: underline;
}

.blog-content {
  font-size: 1.05rem;
  color: #1f2937;
}

.blog-content p {
  margin: 0 0 18px;
  line-height: 1.85;
}

.blog-content h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 38px 0 14px;
  color: #0f172a;
  font-weight: 800;
  scroll-margin-top: 90px;
}

.blog-content h3 {
  font-size: 1.35rem;
  margin: 26px 0 10px;
  color: #0f172a;
  font-weight: 700;
  scroll-margin-top: 90px;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 22px 24px;
  padding: 0;
}

.blog-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.blog-content strong {
  color: #111827;
}

.blog-content a {
  color: #1a73e8;
  font-weight: 600;
  text-underline-offset: 3px;
}

.blog-content .cta-box {
  margin-top: 34px;
  background: linear-gradient(160deg, #1e3a5f 0%, #1a4f8a 55%, #1e5ea8 100%);
  border-radius: 18px;
  padding: 28px;
  color: #fff;
}

.blog-content .cta-box h3 {
  color: #fff;
  margin-bottom: 10px;
}

.blog-content .cta-box p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 14px;
}

.blog-content .btn {
  display: inline-block;
  background: #fff;
  color: #1a56db;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.blog-content .btn:hover {
  background: #eef4ff;
}

.blog-toc-sidebar {
  position: sticky;
  top: 90px;
}

.blog-toc-box {
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.blog-toc-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-item {
  margin-bottom: 8px;
}

.toc-subitem {
  padding-left: 14px;
}

.toc-link {
  display: block;
  color: #475569;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 6px 8px;
  border-radius: 8px;
}

.toc-link:hover,
.toc-link.active {
  background: #e8f0fe;
  color: #1a56db;
}

.mobile-toc-wrap {
  display: none;
}

.toc-toggle {
  width: 100%;
  text-align: left;
  border: 1px solid #dfe5ee;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

@media (max-width: 1024px) {
  .blog-page-layout {
    grid-template-columns: 1fr;
  }

  .blog-toc-sidebar {
    position: static;
    order: -1;
  }

  .blog-toc-box {
    display: none;
  }

  .mobile-toc-wrap {
    display: block;
    margin-bottom: 18px;
  }
  
  
  

  .toc-nav {
    display: none;
    margin-top: 12px;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    padding: 12px;
  }

  .toc-nav.is-open {
    display: block;
  }
}

@media (max-width: 768px) {
  .blog-post-single {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .blog-post-title {
    font-size: 2rem;
  }

  .blog-content {
    font-size: 1rem;
  }

  .blog-content h2 {
    font-size: 1.55rem;
  }

  .blog-content h3 {
    font-size: 1.2rem;
  }

  .blog-content ul,
  .blog-content ol {
    margin-left: 20px;
  }
}


.blog-toc-sidebar {
  position: sticky;
  top: 90px;
}

.blog-toc-box {
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.blog-toc-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}

.toc-nav {
  width: 100%;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-item {
  margin-bottom: 8px;
}

.toc-subitem {
  padding-left: 14px;
}

.toc-link {
  display: block;
  color: #475569;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 6px 8px;
  border-radius: 8px;
}

.toc-link:hover,
.toc-link.active {
  background: #e8f0fe;
  color: #1a56db;
}

.mobile-toc-wrap {
  display: none;
  margin-bottom: 18px;
}

.toc-toggle {
  width: 100%;
  text-align: left;
  border: 1px solid #dfe5ee;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.mobile-toc-nav {
  display: none;
  margin-top: 12px;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  padding: 12px;
}

.mobile-toc-nav.is-open {
  display: block;
}

@media (max-width: 1024px) {
  .blog-page-layout {
    grid-template-columns: 1fr;
  }

  .blog-toc-sidebar {
    display: none;
  }

  .mobile-toc-wrap {
    display: block;
  }
}


.blog-single-container {
  padding-top: 24px;
  padding-bottom: 40px;
}


.author-bio-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 38px;
  padding: 22px;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  background: #f8fbff;
}

.author-bio-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #dbe4f0;
}

.author-bio-content {
  flex: 1;
}

.author-bio-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.author-bio-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.author-bio-role {
  font-size: 0.96rem;
  font-weight: 600;
  color: #1a56db;
  margin: 0 0 10px;
}

.author-bio-text {
  margin: 0 0 10px;
  color: #334155;
  line-height: 1.75;
}

.author-bio-expertise {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .author-bio-box {
    flex-direction: column;
    padding: 18px;
  }

  .author-bio-image {
    width: 72px;
    height: 72px;
  }
}



.author-linkedin-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #0a66c2;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.author-linkedin-btn:hover {
  background: #084a8c;
}