  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
header {
  background-color: #0f172a;
  color: white;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.auth-links .btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  margin-left: 0.5rem;
  transition: background 0.2s ease;
}

.btn-login {
  background: #101357;
  color: white;
}

.btn-login:hover {
  background: #1e40af;
}

.btn-register {
  background: #10b981;
  color: white;
}

.btn-register:hover {
  background: #059669;
}

/* Search Bar */
.search-bar {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 2rem auto;
}

.search-bar input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px 0 0 8px;
}

.search-bar button {
  padding: 0.8rem 1.2rem;
  background-color: #101357;
  color: white;
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

/* Grid and Cards */
.listing-section {
  margin-top: 3rem;
  padding: 0 1.5rem;
}

.listing-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;

      min-height: 50px;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  width: 33%;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.card-body p {
  font-size: 0.9rem;
  color: #475569;
}

.price {
  color: #16a34a;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #f1f5f9;
  padding: 2rem 1rem 1rem;
  color: #475569;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-grid h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  padding-left: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: #475569;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar input,
  .search-bar button {
    width: 100%;
    border-radius: 8px;
  }

  .search-bar button {
    margin-top: 0.5rem;
    border-radius: 8px;
  }
}



.blog-main {
  padding: 2rem 1rem;
}

.blog-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1rem;
}

.blog-content h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.blog-content .date {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.blog-content .excerpt {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #475569;
}

.read-more {
  font-weight: 600;
  color: #101357;
}

.read-more:hover {
  text-decoration: underline;
}

   .digy-listing-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }

  .digy-listing-card {
      background: #ffffff;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      transition: transform 0.2s ease-in-out;
      display: flex;
      flex-direction: column;
    }

    .digy-listing-card:hover {
      transform: translateY(-4px);
    }

    .digy-listing-image {
      width: 100%;
      height: 180px;
      object-fit: contain;
    }

    .digy-listing-content {
      padding: 1.5rem 1.5rem 2rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .digy-listing-title {
      font-size: 1.3rem;
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 0.5rem;
    }

    .digy-listing-address {
      font-size: 0.95rem;
      color: #475569;
      margin-bottom: 1rem;
    }

    .digy-contact-info {
      font-size: 0.9rem;
      color: #334155;
      margin-bottom: 0.5rem;
    }

    .digy-contact-info a {
      color: #101357;
      text-decoration: none;
    }

    .digy-contact-info a:hover {
      text-decoration: underline;
    }

    .digy-listing-website a {
      display: inline-block;
      margin-top: 0.8rem;
      background-color: #101357;
      color: #fff;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      text-decoration: none;
      font-size: 0.9rem;
      transition: background-color 0.3s ease;
    }

    .digy-listing-website a:hover {
      background-color: #1d4ed8;
    }

      @media (max-width: 768px) {
      .digy-listing-container  {
        grid-template-columns: 1fr;
      }
    } 


    /***********Pagination********************/
  .busicares-list-results-info {
  background: linear-gradient(135deg, #0d6efd, #6610f2); /* Modern gradient */
  color: #fff;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
} 

.busicares-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 20px 0;
  padding: 0;
}

.busicares-pagination .page-item {
  list-style: none;
}

.busicares-pagination .page-link {
  background: #0d6efd;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.busicares-pagination .page-item.active .page-link {
  background: #0f172a;
  font-weight: bold;
  pointer-events: none;
}

.busicares-pagination .page-item.disabled .page-link,
.busicares-pagination .page-item.disabled span {
  background: #6c757d;
  color: #eee;
  cursor: not-allowed;
  opacity: 0.7;
}

.busicares-pagination .page-link:hover {
  background: #0b5ed7;
  transform: translateY(-2px);
}



     /***********Pagination********************/


     /***********category********************/



  .category-card:hover .category-img-wrapper img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .category-img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
        height: 200px;
  }

  .category-img-wrapper img {
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
        object-fit: scale-down;
  }
     /***********category********************/


     /***********categorywise********************/


 .df-categorywise-listings {
  padding: 20px;
  background-color: #f2f6fb;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-family: 'Segoe UI', sans-serif;
}

.df-category-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e6ed;
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
  padding: 20px;
}

.df-category-title a {
  font-size: 22px;
  font-weight: bold;
  color: #1a202c;
  text-decoration: none;
}

.df-category-title a:hover {
  color: #0077cc;
}

.df-state-section {
  margin-top: 20px;
  padding: 15px;
  border-left: 3px solid #0077cc;
  background: #f9fbfd;
  border-radius: 6px;
}

.df-state-title a {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  text-decoration: none;
}

.df-state-title a:hover {
  color: #005fa3;
}

.df-city-list {
  list-style: none;
  padding-left: 15px;
  margin-top: 10px;
}

.df-city-item {
  margin: 5px 0;
}

.df-city-item a {
  color: #4a5568;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

.df-city-item a:hover {
  color: #1e90ff;
  text-decoration: underline;
}

     /***********categorywise********************/


     /***********Shop********************/

.shop-btn{
  background: #000;
    padding: 10px 15px;
    border-radius: 10px;
    color: #fff;
    text-align: center;
}


.shop-grid img{
  width: 100%;
      height: 400px;
    object-fit: contain;
}
     /***********Shop********************/
