      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      :root {
        --primary: #2c3e50;
        --secondary: #3498db;
        --accent: #e74c3c;
        --light: #f8f9fa;
        --dark: #2c3e50;
        --gray: #7f8c8d;
        --light-gray: #ecf0f1;
        --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        --transition: all 0.3s ease;
        --border-radius: 8px;
        --max-width: 1200px;
      }

      body {
        font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
        line-height: 1.6;
        color: #333;
        background-color: #fff;
        overflow-x: hidden;
      }

      a {
        text-decoration: none;
        color: inherit;
        transition: var(--transition);
      }

      ul {
        list-style: none;
      }

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

      .container {
        width: 100%;
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 20px;
      }

      .btn {
        display: inline-block;
        padding: 12px 28px;
        background-color: var(--primary);
        color: white;
        border-radius: var(--border-radius);
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: var(--transition);
        font-size: 16px;
      }

      .btn:hover {
        background-color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: var(--shadow);
      }

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

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

      .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        color: var(--dark);
        position: relative;
        padding-bottom: 10px;
      }

      .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background-color: var(--secondary);
      }

      .section-subtitle {
        color: var(--gray);
        margin-bottom: 2rem;
        font-size: 1.1rem;
      }

      /* Header & Navigation */
      header {
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        position: sticky;
        top: 0;
        z-index: 1000;
      }

      .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
      }

      .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .logo span {
        color: var(--secondary);
      }

      .logo i {
        font-size: 1.5rem;
      }

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

      .nav-links a {
        font-weight: 500;
        position: relative;
      }

      .nav-links a:hover {
        color: var(--secondary);
      }

      .nav-links a::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--secondary);
        transition: var(--transition);
      }

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

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

      .search-btn {
        background: none;
        border: none;
        font-size: 1.2rem;
        visibility: hidden;
        color: var(--gray);
        cursor: pointer;
        transition: var(--transition);
      }

      .search-btn:hover {
        color: var(--secondary);
      }
      /* 
 .mobile-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
} */
      /* Hero Section */
      .hero {
        padding: 80px 0 60px;
        background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
      }

      .hero-content {
        max-width: 600px;
      }

      .hero h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        color: var(--dark);
        line-height: 1.2;
      }

      .hero p {
        font-size: 1.2rem;
        color: var(--gray);
        margin-bottom: 30px;
      }

      .hero-btns {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
      }

      /* Featured Posts */
      .featured-posts {
        padding: 80px 0;
        background-color: white;
      }

      .posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 50px;
      }

      .post-card {
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: var(--transition);
        background-color: white;
      }

      .post-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
      }

      .post-image {
        height: 200px;
        width: 100%;
        object-fit: cover;
      }

      .post-content {
        padding: 25px;
        cursor: pointer;
      }

      .post-category {
        display: inline-block;
        padding: 5px 12px;
        background-color: var(--light-gray);
        color: var(--primary);
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        margin-bottom: 15px;
      }

      .post-category.tech {
        background-color: #e1f5fe;
        color: #0277bd;
      }

      .post-category.lifestyle {
        background-color: #f3e5f5;
        color: #7b1fa2;
      }

      .post-category.business {
        background-color: #e8f5e9;
        color: #2e7d32;
      }

      .post-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: var(--dark);
        line-height: 1.4;
      }

      .post-excerpt {
        color: var(--gray);
        margin-bottom: 20px;
        font-size: 0.95rem;
      }

      .post-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        color: var(--gray);
        padding-top: 15px;
        border-top: 1px solid var(--light-gray);
      }

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

      .author-avatar {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        object-fit: cover;
      }

      /* Main Content & Sidebar */
      .main-content {
        padding: 60px 0 80px;
        background-color: #f9f9f9;
      }

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

      /* Recent Articles */
      .recent-articles .post-card {
        display: grid;
        grid-template-columns: 150px 1fr;
        margin-bottom: 30px;
      }

      .recent-articles .post-image {
        height: 100%;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
      }

      .recent-articles .post-content {
        padding: 20px;
      }

      /* Sidebar */
      .sidebar {
        padding-left: 30px;
        border-left: 1px solid var(--light-gray);
      }

      .sidebar-widget {
        background-color: white;
        padding: 25px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        margin-bottom: 30px;
      }

      .widget-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: var(--dark);
        padding-bottom: 10px;
        border-bottom: 2px solid var(--light-gray);
      }

      .categories-list li {
        padding: 10px 0;
        border-bottom: 1px solid var(--light-gray);
        display: flex;
        justify-content: space-between;
      }

      .categories-list li:last-child {
        border-bottom: none;
      }

      .category-count {
        background-color: var(--light-gray);
        color: var(--primary);
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 0.8rem;
      }

      .newsletter-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
      }

      .form-input {
        padding: 12px 15px;
        border: 1px solid var(--light-gray);
        border-radius: var(--border-radius);
        font-size: 1rem;
      }

      .form-input:focus {
        outline: none;
        border-color: var(--secondary);
      }

      .popular-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .tag {
        padding: 8px 15px;
        background-color: var(--light-gray);
        border-radius: 20px;
        font-size: 0.9rem;
        transition: var(--transition);
      }

      .tag:hover {
        background-color: var(--secondary);
        color: white;
      }

      /* Footer */
      footer {
        background-color: var(--primary);
        color: white;
        padding: 60px 0 30px;
      }

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

      .footer-logo {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 20px;
        display: block;
      }

      .footer-logo span {
        color: var(--secondary);
      }

      .footer-about p {
        color: #bdc3c7;
        margin-bottom: 20px;
      }

      .social-links {
        display: flex;
        gap: 15px;
      }

      .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: var(--transition);
      }

      .social-links a:hover {
        background-color: var(--secondary);
        transform: translateY(-5px);
      }

      .footer-links h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        color: white;
      }

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

      .footer-links ul li a {
        color: #bdc3c7;
      }

      .footer-links ul li a:hover {
        color: var(--secondary);
        padding-left: 5px;
      }

      .copyright {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: #bdc3c7;
        font-size: 0.9rem;
      }

      /* Responsive Design */
      @media (max-width: 992px) {
        .content-wrapper {
          grid-template-columns: 1fr;
          gap: 40px;
        }

        .sidebar {
          padding-left: 0;
          border-left: none;
          border-top: 1px solid var(--light-gray);
          padding-top: 30px;
        }

        .hero h1 {
          font-size: 2.5rem;
        }
      }

      /* Mobile toggle button */
      .mobile-toggle {
        display: none;
        width: 30px;
        height: 22px;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
      }

      .mobile-toggle span {
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--primary);
        border-radius: 3px;
        transition: all 0.3s ease;
        left: 0;
      }

      .mobile-toggle span:nth-child(1) {
        top: 0;
      }
      .mobile-toggle span:nth-child(2) {
        top: 9px;
      }
      .mobile-toggle span:nth-child(3) {
        top: 18px;
      }

      /* X animation */
      .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
      }

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

      .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
      }

      /* Mobile menu animation */
      @media (max-width: 768px) {
        .mobile-toggle {
          display: block;
        }

        .nav-links {
          position: absolute;
          top: 100%;
          right: 0;
          background: white;
          width: 100%;
          padding: 20px;
          display: flex;
          flex-direction: column;
          gap: 15px;
          transform: translateY(-10px);
          opacity: 0;
          pointer-events: none;
          transition: all 0.3s ease;
        }

        .nav-links.active {
          transform: translateY(0);
          opacity: 1;
          pointer-events: auto;
        }
      }

      @media (max-width: 576px) {
        .section-title {
          font-size: 1.6rem;
        }

        .hero {
          padding: 60px 0 40px;
        }

        .featured-posts,
        .main-content {
          padding: 50px 0;
        }
      }
