:root{
  --bg:#0a0a0c;
  --bg-elev:#101015;
  --text:#e9e9ee;
  --muted:#b0b0b8;
  --pink:#ff005c;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Noto Sans",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Arial,sans-serif;background:radial-gradient(1200px 800px at 10% -10%, rgba(193,18,33,.08), transparent 60%),radial-gradient(900px 700px at 110% 10%, rgba(193,18,33,.06), transparent 60%);color:var(--text)}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* Nav (shared with projects look) */
/* Hero (reuse contact hero style) */
.contact-hero {
  padding: 140px 0 80px;
  background: var(--bg);
  text-align: center;
  position: relative;
  color: var(--text);
}

.contact-hero .contact-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-watermark {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 140px;
  font-weight: 900;
  color: rgba(255, 255, 255, .08);
  white-space: nowrap;
  pointer-events: none;
}

.contact-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--text);
}

.contact-hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.contact-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.contact-stat i {
  color: var(--pink);
  font-size: 1.2rem;
}

/* ✅ Responsive styles for small screens */
@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 20px 60px;
  }

  .contact-hero-title {
    font-size: 2rem;
  }

  .contact-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .contact-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-stat {
    justify-content: center; /* icons + text centered */
    text-align: center;
  }

  .contact-stat i {
    font-size: 1.4rem; /* slightly bigger on small screens */
  }
}


/* Filters */
.filters{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:40px 0 24px}
.filter-btn{padding:10px 18px;background:var(--bg-elev);color:var(--muted);border:1px solid rgba(255,255,255,.08);border-radius:24px;font-weight:700;font-size:.9rem;cursor:pointer}
.filter-btn:hover,.filter-btn.active{background:var(--pink);color:#fff;border-color:var(--pink);box-shadow:0 8px 24px rgba(255,0,92,.3)}

/* Blog grid (mirrors projects-grid) */
.blog-list{padding:80px 0;background:var(--bg)}
.posts-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
  gap:32px;
  max-width:1400px;
  margin:0 auto;
}

/* Post Card Styling */
.post-card {
  background: var(--bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Media (image) */
.post-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.post-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-media img {
  transform: scale(1.05);
}

/* Overlay badge */
.post-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.post-badge {
  background: #ff0077;
  color:var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* Post content */
.post-content {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.meta-chip {
  background: var(--pink);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
}

/* Title */
.post-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.post-title:hover {
  color: #ff0077;
}

/* Excerpt */
.post-excerpt {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Read more link */
.post-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #ff0077;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.post-link:hover {
  gap: 10px;
  color: #d60062;
}

/* Pagination (visual only) */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:24px}
.page-btn{padding:10px 14px;border-radius:10px;background:#0f0f18;border:1px solid rgba(255,255,255,.08);color:#e9e9ee;text-decoration:none;font-weight:700}
.page-btn.active,.page-btn:hover{background:var(--pink);border-color:var(--pink);color:#fff}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--pink), #ff4585);
  padding: 80px 0;
  text-align: center;
  box-shadow: 0 -8px 40px rgba(255,0,102,0.12);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: white;
  color: var(--pink);
}

.btn-secondary:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

/* CTA */
.cta{background: linear-gradient(90deg,var(--pink),#ff6b95);text-align:center;padding:80px 0;box-shadow:0 -8px 40px rgba(255,0,102,0.12)}
.cta h2{font-size:clamp(2rem,4vw,3rem);font-weight:900;color:#fff;margin-bottom:10px}
.cta p{color:#fff;opacity:.9;margin-bottom:22px}
.cta .btn{display:inline-block;background:#fff;color:var(--pink);padding:14px 26px;border-radius:12px;font-weight:900;text-decoration:none}
.cta .btn:hover{background:#f2f2f2}

/* Footer */
.footer{background:var(--bg);color:#fff;padding:60px 0;border-top:1px solid rgba(255,255,255,.08)}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-left{display:flex;align-items:center;gap:12px}
.footer-logo{width:36px;height:36px;border-radius:50%;background:var(--pink);display:grid;place-items:center;font-weight:900}
.footer-badge{background:#333;color:#999;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:700}

/* Blog details */
.article-hero{display:none;} /* hide old article-hero rules to avoid conflicts */
.article-hero .container { position:relative; z-index:2; }
.hero-word{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:clamp(72px,12vw,160px);
  font-weight:900;
  color:rgba(255,255,255,0.04);
  pointer-events:none;
  text-transform:uppercase;
  letter-spacing:0.18em;
  z-index:1;
}
.breadcrumb{display:flex;justify-content:center;align-items:center;gap:10px;color:var(--muted);font-size:.95rem;margin-bottom:16px}
.breadcrumb a{text-decoration:none;color:var(--muted)}
.breadcrumb a:hover{color:#fff}
.article-title{font-size:clamp(2.2rem,5.5vw,3.2rem);font-weight:900;line-height:1.15;margin-bottom:10px}
.article-meta{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;color:#c9c9d2;font-weight:700;font-size:.9rem}
.article-feature-container {
  position: relative;
  margin-bottom: 48px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  max-width: 100%;
}

/* Responsive image */
.article-feature-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit:initial;
  aspect-ratio: 16 / 9; /* Keeps image ratio consistent */
}

/* Overlay badge container */
.article-feature-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Badge styling */
.feature-badge {
  background: linear-gradient(135deg, var(--pink), #ff3385);
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255,0,92,0.4);
}

/* Adjustments for smaller devices */
@media (max-width: 768px) {
  .article-feature-image {
    aspect-ratio: 4 / 3; /* taller images for mobiles */
      object-fit: contain;
  }

  .feature-badge {
    font-size: 10px;
    padding: 6px 12px;
  }
}


/* Main content container */
.article-intro {
  margin-bottom: 48px;
  font-family: 'Noto Sans', sans-serif;
  color: #f0f0f0; /* Soft white for text */
  line-height: 1.8;
  font-size: 1rem;
}

/* Paragraphs */
.article-intro p {
  margin-bottom: 1.5em;
  font-weight: 400;
  color: #e0e0e0;
}

/* Lead paragraph for intro */
.article-intro .lead-paragraph {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2em;
}

/* Headings inside article */
.article-intro h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #fff;
}

.article-intro h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-top: 1.75em;
  margin-bottom: 1em;
  color: #ff005c; /* Accent color */
}

/* Blockquotes */
.article-intro blockquote {
  border-left: 4px solid #ff005c;
  padding-left: 16px;
  margin: 1.5em 0;
  font-style: italic;
  color: #ccc;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

/* Lists */
.article-intro ul,
.article-intro ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.article-intro li {
  margin-bottom: 0.75em;
}

/* Inline spans for highlights or accents */
.article-intro span {
  color: #ff005c; /* Highlight text */
  font-weight: 600;
}

/* Links */
.article-intro a {
  color: #ff80ab;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.article-intro a:hover {
  color: #ff005c;
}

/* Code snippets */
.article-intro pre,
.article-intro code {
  font-family: 'Fira Code', monospace;
  background: rgba(255, 255, 255, 0.08);
  color: #ff005c;
  padding: 0.25em 0.5em;
  border-radius: 6px;
  overflow-x: auto;
  display: block;
  margin-bottom: 1.5em;
}

.lead-paragraph {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 32px;
  font-weight: 500;
}

.article-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255,0,92,0.1), rgba(255,0,92,0.05));
  border: 1px solid rgba(255,0,92,0.2);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.highlight-item i {
  color: var(--pink);
  font-size: 1.1rem;
}

.article-section {
  margin-bottom: 48px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.section-number {
  background: var(--pink);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(255,0,92,0.3);
}

.content-card {
  background: linear-gradient(135deg, #161621, #0f0f18);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-header i {
  color: var(--pink);
  font-size: 1.2rem;
}

.card-header h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.enhanced-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.enhanced-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
  line-height: 1.6;
}

.enhanced-list li::before {
  content: '✓';
  color: #00e676;
  font-weight: bold;
  font-size: 1.1rem;
}

.code-example {
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  margin: 24px 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.code-header i {
  color: var(--pink);
}

.code-example pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
}

.code-example code {
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.tools-section {
  background: linear-gradient(135deg, rgba(255,0,92,0.08), rgba(255,0,92,0.04));
  border: 1px solid rgba(255,0,92,0.2);
  border-radius: 16px;
  padding: 32px;
  margin: 48px 0;
}

.tools-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.tools-title i {
  color: var(--pink);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tool-item:hover {
  background: rgba(255,0,92,0.1);
  border-color: rgba(255,0,92,0.3);
  transform: translateY(-2px);
}

.tool-item i {
  color: var(--pink);
  font-size: 1.2rem;
}

/* Enhanced sidebar */
.side-card {
  background: linear-gradient(135deg, #1a1a24, #12121a);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  transition: all 0.3s ease;
}

.side-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  border-color: rgba(255,0,92,0.2);
}

.side-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.tag-cloud{display:flex;flex-wrap:wrap;gap:8px}
.tag{background:rgba(255,0,92,.1);border:1px solid rgba(255,0,92,.25);color:var(--pink);padding:6px 10px;border-radius:999px;font-weight:800;font-size:.85rem}

/* Next/Prev */
.nextprev{padding:60px 0;background:var(--bg)}
.nextprev-card{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;background:var(--bg-elev);border:1px solid rgba(255,255,255,.08);border-radius:20px;padding:28px}
.nextprev h4{margin:0 0 6px;font-size:1.1rem;color:#fff}
.nextprev p{margin:0;color:var(--muted)}
.nextprev img{border-radius:12px;width:100%;display:block}

/* Blog details layout improvements */
.article-wrap {
  padding: 60px 0;
  background: var(--bg);
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.article-body {
  background: linear-gradient(135deg, #161621, #0f0f18);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

.article-body h1, 
.article-body h2, 
.article-body h3, 
.article-body h4 {
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.article-body h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 48px;
}

.article-body h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 40px;
}

.article-body p {
  color: #c4c4cc;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.article-body ul, 
.article-body ol {
  margin: 24px 0;
  padding-left: 20px;
}

.article-body li {
  color: #c4c4cc;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-body blockquote {
  background: linear-gradient(135deg, rgba(255,0,92,0.1), rgba(255,0,92,0.05));
  border-left: 4px solid var(--pink);
  padding: 24px 32px;
  margin: 32px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #e0e0e6;
  font-size: 1.1rem;
}

.sidebar {
  display: grid;
  gap: 24px;
  align-content: start;
  position: sticky;
  top: 120px;
  height: fit-content;
}

/* Responsive improvements */
@media (max-width: 1200px) {
  .article-grid {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
  
  .article-body {
    padding: 36px;
  }
  
  .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
  }
  
  .contact-hero {
    padding: 120px 0 60px;
  }
  
  .contact-watermark {
    font-size: 100px;
    top: -40px;
  }
  
  .contact-hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .contact-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .post-content {
    padding: 24px 20px;
  }
  
  .post-title {
    font-size: 1.4rem;
  }
  
  .filters {
    gap: 8px;
    margin: 32px 0 16px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .cta-section {
    padding: 60px 24px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }
  
  .post-content {
    padding: 24px 20px;
  }
  
  .article-body {
    padding: 28px 24px;
  }
  
  .sidebar {
    grid-template-columns: 1fr;
  }

  /* Center blog hero content on mobile */
  .contact-hero-content {
    text-align: center;
  }
  
  .contact-stats {
    justify-content: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .contact-hero {
    padding: 100px 0 50px;
  }
  
  .contact-hero-content {
    padding: 0 16px;
  }
  
  .post-badge {
    font-size: 10px;
    padding: 6px 12px;
  }
  
  .post-overlay {
    top: 16px;
    right: 16px;
  }
  
  .post-content {
    padding: 20px 16px;
  }
  
  .post-link {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .meta-chip {
    font-size: 11px;
    padding: 6px 12px;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .posts-grid {
    padding: 0 8px;
  }
  
  .post-card {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .filters {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .filter-btn {
    min-width: auto;
    flex: none;
  }
}
/* Footer */
.main-footer {
  background: #000;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  background: #FF0066;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}

.footer-brand-name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-badge {
  background: #333;
  color: #999;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-copyright {
  color: #999;
  font-size: 14px;
}

.footer-buy-btn {
  background: #FF0066;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-buy-btn:hover {
  background: #e6005c;
  transform: translateY(-1px);
}


.social-links a:hover{
background-color: var(--pink);
}