/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 0 20px;
  }
  
  a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: #3498db;
  }
  
  /* Header styles */
  header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 1000;
    padding: 2px;
    margin-top: 50px;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
  }
  
  header h1 {
    font-size: 1rem;
    font-weight: 700;
  }
  
  header h1 a {
    color: #2c3e50;
  }
  
  nav ul {
    display: flex;
    list-style: none;
  }
  
  nav ul li {
    margin-left: 20px;
  }
  
  nav ul li a {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  nav ul li a:hover,
  nav ul li a.active {
    background-color: #ecf0f1;
  }
  
  /* Main content styles */
  main {
    padding: 40px 0;
  }
  
  .featured-post {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
  }
  
  .featured-post img {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  
  .featured-post .post-content {
    padding: 30px;
  }
  
  .featured-post h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .read-more {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s ease;
  }
  
  .read-more:hover {
    background-color: #2980b9;
    color: #fff;
  }
  
  .recent-posts h2,
  .categories h2,
  .newsletter h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
  }
  
  .post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .post-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .post-card:hover {
    transform: translateY(-5px);
  }
  
  .post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .post-card .post-content {
    padding: 20px;
  }
  
  .post-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  
  .categories {
    margin-top: 40px;
  }
  
  .categories ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .categories ul li a {
    display: inline-block;
    background-color: #ecf0f1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
  }
  
  .categories ul li a:hover {
    background-color: #3498db;
    color: #fff;
  }
  
  .newsletter {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .newsletter p {
    margin-bottom: 20px;
  }
  
  .newsletter form {
    display: flex;
    gap: 10px;
  }
  
  .newsletter input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .newsletter button {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .newsletter button:hover {
    background-color: #2980b9;
  }
  
  
  
  
/* blog page */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 0 20px;
}

header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2rem;
    color: #2c3e50;
}

.blog-post {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
}

.blog-post img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-content {
    padding: 20px 0;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.post-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.post-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.post-content ul li {
    margin-bottom: 10px;
}

a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: #2980b9;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #2980b9;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 20px;
    }

    header h1 {
        font-size: .5rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }
}
