/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f1f5f9;
  color: #1e293b;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
ol {
  padding: 25px;
}

/* CSS Variables */
:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --accent: #fbbf24;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
}
.logo span {
  color: var(--accent);
}

/* Category Header / Blog Header */
.blog-header,
.category-header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 3rem 0;
  text-align: center;
}
.blog-header h1,
.category-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 0.5rem;
}
.breadcrumb li {
  position: relative;
}
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: white;
}

/* Blog Listing */
.blog-listing {
  margin: 2rem 0;
}
.blog-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 768px) {
  .blog-card {
    flex-direction: row;
  }
}
.blog-card-img {
  flex: 1;
  min-height: 200px;
}
.blog-card-content {
  flex: 2;
  padding: 1.5rem;
}
.blog-meta {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}
.read-more {
  color: var(--primary);
  font-weight: 500;
  display: inline-block;
  margin-top: 1rem;
}
/* blog css is here  */
.product-review {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.product-review img {
  align-self: center;
}
.container .blog-post ul {
  padding: 0px 25px;
}
.container .blog-post ul li {
  list-style: disc;
  margin-bottom: 10px;
}

/* table css is here  */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", sans-serif;
  margin: 20px 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.price-table th,
.price-table td {
  padding: 14px 18px;
  text-align: center;
}

.price-table thead {
  background-color: #f34e4e;
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-table tbody tr {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.price-table tbody tr:hover {
  background-color: #f9f9f9;
}

.price-table td {
  font-size: 16px;
  color: #333;
}

@media screen and (max-width: 600px) {
  .price-table thead {
    display: none;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }

  .price-table td {
    text-align: left;
    padding: 12px 16px;
    position: relative;
  }

  .price-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
    color: #f34e4e;
  }
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .blog-container,
  .pros-cons {
    grid-template-columns: 1fr;
  }
}
