.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a svg {
  width: 18px;
  height: 18px;
  stroke: #555;
}

.nav-links a:hover {
  color: #000;
}

.nav-links a:hover svg {
  stroke: #000;
}
*, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary: #0ea5e9;
      --primary-dark: #0284c7;
      --secondary: #14b8a6;
      --background: #ffffff;
      --background-alt: #f8fafc;
      --foreground: #0f172a;
      --foreground-muted: #64748b;
      --card: #ffffff;
      --card-border: #e2e8f0;
      --gradient: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 100%);
    }

    .dark {
      --primary: #38bdf8;
      --primary-dark: #0ea5e9;
      --secondary: #2dd4bf;
      --background: #0f172a;
      --background-alt: #1e293b;
      --foreground: #f1f5f9;
      --foreground-muted: #94a3b8;
      --card: #1e293b;
      --card-border: #334155;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--background);
      color: var(--foreground);
      line-height: 1.6;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background);
  border-bottom: 1px solid var(--card-border);
  z-index: 9999;
}

    .header.scrolled {
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

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

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

    .logo img {
      width: 80px;
      height: auto;
      border-radius: 0;
      object-fit: contain;
    }

    .logo-text {
      font-size: 1.25rem;
      font-weight: 700;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .nav-links {
      display: flex;
      gap: 30px;
      list-style: none;
    }

    .nav-links a {
      font-weight: 500;
      color: var(--foreground-muted);
      transition: color 0.3s ease;
      position: relative;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--gradient);
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .dark-toggle {
      background: var(--background-alt);
      border: 1px solid var(--card-border);
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      color: var(--foreground);
    }

    .dark-toggle:hover {
      background: var(--primary);
      color: white;
    }

    .dark-toggle svg {
      width: 20px;
      height: 20px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.3s ease;
      border: none;
    }

    .btn-primary {
      background: var(--gradient);
      color: white;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
    }

    .mobile-menu-btn span {
      display: block;
      width: 25px;
      height: 3px;
      background: var(--foreground);
      margin: 5px 0;
      transition: all 0.3s ease;
      border-radius: 2px;
    }

    .page-header {
      padding: 150px 0 80px;
      background: var(--background-alt);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .page-header::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 500px;
      height: 500px;
      background: var(--gradient);
      opacity: 0.05;
      border-radius: 50%;
      animation: float 8s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-30px) rotate(10deg); }
    }

    .page-header h1 {
      font-size: 3rem;
      font-weight: 800;
      margin-bottom: 15px;
      position: relative;
    }

    .page-header h1 span {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .page-header p {
      color: var(--foreground-muted);
      font-size: 1.2rem;
      max-width: 600px;
      margin: 0 auto;
    }

    .blog-section {
      padding: 80px 0;
    }

    .blog-categories {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-bottom: 50px;
      flex-wrap: wrap;
    }

    .category-btn {
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      background: var(--card);
      border: 1px solid var(--card-border);
      color: var(--foreground-muted);
      font-family: inherit;
    }

    .category-btn:hover,
    .category-btn.active {
      background: var(--gradient);
      color: white;
      border-color: transparent;
    }

    .featured-post {
      margin-bottom: 60px;
    }

    .featured-card {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 24px;
      overflow: hidden;
      transition: all 0.4s ease;
    }

    .featured-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    }


    .featured-card:hover .featured-image img {
  transform: scale(1);
}

    .featured-badge {
      position: absolute;
      top: 20px;
      left: 20px;
      background: var(--gradient);
      color: white;
      padding: 8px 20px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      z-index: 2;
    }

    .featured-content {
      padding: 50px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .featured-category {
      display: inline-block;
      background: rgba(14, 165, 233, 0.1);
      color: var(--primary);
      padding: 8px 16px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 20px;
      width: fit-content;
    }

    .featured-content h2 {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 15px;
      line-height: 1.3;
      transition: color 0.3s ease;
    }

    .featured-content h2:hover {
      color: var(--primary);
    }

    .featured-content > p {
      color: var(--foreground-muted);
      margin-bottom: 25px;
      line-height: 1.8;
      font-size: 1.05rem;
    }

    .featured-meta {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 25px;
      flex-wrap: wrap;
    }

    .author-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .author-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--primary);
    }

    .author-details {
      display: flex;
      flex-direction: column;
    }

    .author-name {
      font-weight: 600;
      font-size: 0.95rem;
    }

    .author-role {
      font-size: 0.8rem;
      color: var(--foreground-muted);
    }

    .post-date {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--foreground-muted);
      font-size: 0.9rem;
    }

    .post-date svg {
      width: 18px;
      height: 18px;
    }

    .read-time {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--foreground-muted);
      font-size: 0.9rem;
    }

    .read-time svg {
      width: 18px;
      height: 18px;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }

    .blog-card {
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: 20px;
      overflow: hidden;
      transition: all 0.4s ease;
    }

    .blog-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .blog-card-image {
      height: 220px;
      position: relative;
      overflow: hidden;
    }

    .blog-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .blog-card:hover .blog-card-image img {
      transform: scale(1.1);
    }

    .blog-card-category {
      position: absolute;
      top: 15px;
      left: 15px;
      background: white;
      color: var(--primary);
      padding: 6px 14px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 600;
      z-index: 1;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
.blog-card-category2 {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #e11d48;
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

    .blog-card-content {
      padding: 25px;
    }

    .blog-card-meta {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 15px;
      flex-wrap: wrap;
    }

    .blog-card-author {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .blog-card-author img {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--primary);
    }

    .blog-card-author-name {
      font-weight: 600;
      font-size: 0.85rem;
    }

    .blog-card-date {
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--foreground-muted);
      font-size: 0.85rem;
    }

    .blog-card-date svg {
      width: 14px;
      height: 14px;
    }

    .blog-card h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 12px;
      line-height: 1.4;
      transition: color 0.3s ease;
    }

    .blog-card h3:hover {
      color: var(--primary);
    }

    .blog-card p {
      color: var(--foreground-muted);
      line-height: 1.7;
      margin-bottom: 20px;
      font-size: 0.95rem;
    }

    .blog-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 15px;
      border-top: 1px solid var(--card-border);
    }

    .blog-card-link {
      color: var(--primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: gap 0.3s ease;
    }

    .blog-card-link:hover {
      gap: 12px;
    }

    .blog-card-link svg {
      width: 18px;
      height: 18px;
    }

    .blog-card-stats {
      display: flex;
      align-items: center;
      gap: 15px;
      color: var(--foreground-muted);
      font-size: 0.85rem;
    }

    .blog-card-stats span {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .blog-card-stats svg {
      width: 16px;
      height: 16px;
    }

.load-more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 50px;
}

.load-more .btn {
  transition: all 0.3s ease;
}

.load-more .btn:hover {
  transform: translateY(-2px);
}

    .newsletter {
      background: var(--gradient);
      padding: 80px 0;
      margin-top: 60px;
      position: relative;
      overflow: hidden;
    }

    .newsletter::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -100px;
      width: 300px;
      height: 300px;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
    }

    .newsletter::after {
      content: '';
      position: absolute;
      bottom: -100px;
      left: -100px;
      width: 400px;
      height: 400px;
      background: rgba(255,255,255,0.05);
      border-radius: 50%;
    }

    .newsletter-content {
      text-align: center;
      max-width: 600px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .newsletter h2 {
      font-size: 2.5rem;
      font-weight: 800;
      color: white;
      margin-bottom: 15px;
    }

    .newsletter p {
      color: rgba(255,255,255,0.9);
      margin-bottom: 30px;
      font-size: 1.1rem;
    }

    .newsletter-form {
      display: flex;
      gap: 15px;
      max-width: 500px;
      margin: 0 auto;
    }

    .newsletter-form input {
      flex: 1;
      padding: 16px 20px;
      border: none;
      border-radius: 10px;
      font-size: 1rem;
      font-family: inherit;
    }

    .newsletter-form input:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    }

    .newsletter-form button {
      padding: 16px 30px;
      background: white;
      color: var(--primary);
      border: none;
      border-radius: 10px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s ease;
      font-family: inherit;
    }

    .newsletter-form button:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .footer {
      background: var(--background);
      border-top: 1px solid var(--card-border);
      padding: 60px 0 30px;
    }

    .footer-content {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand p {
      color: var(--foreground-muted);
      margin: 20px 0;
      line-height: 1.8;
    }

    .footer-social {
      display: flex;
      gap: 12px;
    }

    .footer-social a {
      width: 40px;
      height: 40px;
      background: var(--background-alt);
      border: 1px solid var(--card-border);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .footer-social a:hover {
      background: var(--gradient);
      color: white;
      border-color: transparent;
    }

    .footer-links h4 {
      font-weight: 700;
      margin-bottom: 20px;
    }

    .footer-links ul {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      color: var(--foreground-muted);
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      border-top: 1px solid var(--card-border);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .footer-bottom p {
      color: var(--foreground-muted);
      font-size: 0.9rem;
    }

    .footer-bottom-links {
      display: flex;
      gap: 30px;
    }

    .footer-bottom-links a {
      color: var(--foreground-muted);
      font-size: 0.9rem;
      transition: color 0.3s ease;
    }

    .footer-bottom-links a:hover {
      color: var(--primary);
    }

.mobile-menu {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  background: var(--background);
  border-bottom: 1px solid var(--card-border);
  padding: 20px;
  z-index: 999999;
  display: none;
}

.mobile-menu.active {
  display: block;
}

     .mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

    .mobile-menu ul {
      list-style: none;
    }

    .mobile-menu li {
      padding: 15px 0;
      border-bottom: 1px solid var(--card-border);
    }

    .mobile-menu a {
      font-weight: 500;
      font-size: 1.1rem;
    }

    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .stagger-1 { transition-delay: 0.1s; }
    .stagger-2 { transition-delay: 0.2s; }
    .stagger-3 { transition-delay: 0.3s; }
    .stagger-4 { transition-delay: 0.4s; }
    .stagger-5 { transition-delay: 0.5s; }
    .stagger-6 { transition-delay: 0.6s; }

    @media (max-width: 1024px) {
      .featured-card {
        grid-template-columns: 1fr;
      }

      .featured-image {
        min-height: 300px;
      }

      .featured-content {
        padding: 30px;
      }

      .blog-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .footer-content {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .nav-actions .btn {
        display: none;
      }

      .mobile-menu-btn {
        display: block;
      }

      .page-header {
        padding: 120px 0 60px;
      }

      .page-header h1 {
        font-size: 2rem;
      }

      .page-header p {
        font-size: 1rem;
      }

      .blog-grid {
        grid-template-columns: 1fr;
      }

      .featured-content h2 {
        font-size: 1.5rem;
      }

      .featured-meta {
        gap: 15px;
      }

      .newsletter {
        padding: 60px 0;
      }

      .newsletter h2 {
        font-size: 1.8rem;
      }

      .newsletter-form {
        flex-direction: column;
      }

      .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .footer-social {
        justify-content: center;
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }

      .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 15px;
      }

      .blog-card-content {
        padding: 20px;
      }

      .author-info {
        flex-direction: row;
      }
    }
	#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--primary);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 999;
}

#backToTop svg {
  width: 20px;
  height: 20px;
  transition: 0.3s;
}

#backToTop:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px) scale(1.05);
}

#backToTop:hover svg {
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .footer-brand {
    text-align: center;
  }

  .footer-brand .logo {
    display: inline-block;
  }
}
      .search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 10px 15px 10px 45px;
  transition: all 0.3s ease;
  min-width: 260px;
}

.search-box:hover {
  border-color: var(--primary);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  background: transparent;
  color: var(--foreground);
}

.search-box input::placeholder {
  color: var(--foreground-muted);
}

.search-icon {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--foreground-muted);
  transition: 0.3s;
}

.search-box:focus-within .search-icon {
  color: var(--primary);
}

.blog-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .blog-categories {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }
}
.no-results {
  display: none;
  text-align: center;
  margin: 60px auto;
  color: var(--foreground-muted);
  font-size: 1.2rem;
  width: 100%;
}
.blog-grid {
  text-align: center;
}

.no-results {
  display: none;
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 40px;
  color: var(--foreground-muted);
  font-size: 1.2rem;
}

img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}

img:not(a img) {
  pointer-events: none;
}

a img {
  pointer-events: auto;
}