/* General */
a {
  text-decoration: none !important;
}
/*--------------------------------------------------------------
    #Header styles
  --------------------------------------------------------------*/
.small-screen{
  display:none!important;
}
.mart-cart{
  margin-right: 10px;
}
.logo{
  margin-left:-50px !important;
}
@media only screen and (max-width: 700px) {
    .large-screen{
      display:none;
    }
    h1.sitename{
      font-size: 110%!important;
      margin-left: -20px!important;
    }
    .logo{
      margin-left:0px !important;
    }
    .small-screen{
      width: 40%;
      margin-left:10px!important;
      display:flex!important;
    }
    .smallscreen-mart-cart{
      margin:0px 0px 0px -10px !important;
    }
    .accounts-circle{
      margin-left:-8px !important;
      transform: none !important;
    }
  }

  /* bottom navbar */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  /* Bottom Fixed Nav */
  .bottom-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 10px 20px;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .bottom-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.3s ease;
  }

  .bottom-nav a:hover {
    background-color: #f0f0f0;
  }

  .bottom-nav a.active {
    background-color: #0d0b66;
    color: white;
  }

  /* Responsive for small screens */
  @media (max-width: 600px) {
    .bottom-nav {
      flex-wrap: wrap;
      gap: 10px;
      padding: 8px 14px;
      width: 90%;
    }

    .bottom-nav a {
      font-size: 14px;
      padding: 6px 12px;
    }
  }

  /* dropdown */

    .dropdown-menu a {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 15px;
    }

    .dropdown-menu a:hover {
      color: white !important;
      background-color: #0d6efd; /* or your preferred hover bg */
    }

   /* Login system */
   @media (max-width: 575.98px) {
      .user-info-wrapper {
        width: 100%;
        justify-content: flex-start !important;
      }

      .username {
        margin-left: 4px;
      }
    }
    /* Login system */


  /*--------------------------------------------------------------
    #End Header styles
  --------------------------------------------------------------*/


  /*--------------------------------------------------------------
  #Pre-Loader
  --------------------------------------------------------------*/
  #preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  /*--------------------------------------------------------------
  #End Pre-Loader
  --------------------------------------------------------------*/


/*--------------------------------------------------------------
#How it works
--------------------------------------------------------------*/
.process-section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: -80px;
}
.process-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: -30px;
  position: relative;
}
.process-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background-color: #4f46e5;
  margin: 10px auto 0;
}
.rocket-img {
  position: absolute;
  top: 80px;
  left: 15%;
  width: 250px;
  transform: translate(-50%, -50%);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}
@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}
.row-wrapper {
  position: relative;
  margin-top: -30px;
  padding-top: 80px;
}
.dotted-curve-wrapper {
  position: absolute;
  top: 70px;
  left: 130px;
  width: 100%;
  height: 150px;
  z-index: 0;
  pointer-events: none;
}
.step {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.step-number {
  font-size: 2rem;
  background-color: var(--accent-color);
  color: white;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 15px;
}
.step-number:hover{
  background-color: #fd7e14;
}
.step-title {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.step-description {
  color: #6c757d;
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .rocket-img {
    left: 50%;
    top:-10px;
    width: 150px;
  }
  .dotted-curve-wrapper {
    display: none;
  }
}
/*--------------------------------------------------------------
#End how it works
--------------------------------------------------------------*/



/*--------------------------------------------------------------
#successful projects
--------------------------------------------------------------*/
.highlight {
  background-color: #d7e3ff;
  display: inline-block;
  color: var(--accent-color);
  padding: 0 8px;
  border-radius: 5px;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}
.main-heading {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
}
.main-heading span {
  background: #c3d4ff;
  border-radius: 5px;
  padding: 0 10px;
}
.description {
  color: #666;
  font-size: 18px;
  margin-bottom: 40px;
}
.stats {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}
.stats-text {
  font-size: 16px;
  color: #555;
}
.projects-stars{
  color: #ffc107;
  margin: 0 1px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}
/* Modal */
.modal-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}
.modal-backdrop {
  background: rgba(0,0,0,0.7);
}
@media (max-width: 768px) {
  .main-heading {
    font-size: 36px;
  }
  .description {
    font-size: 16px;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
#end successful projects
--------------------------------------------------------------*/


/*--------------------------------------------------------------
#services carosel
--------------------------------------------------------------*/
.service-item {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.custom-carousel-btn {
  background-color: rgba(0, 0, 0, 0.5);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  top: 45%;
  transform: translateY(-50%);
}

.custom-carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.carousel-control-prev {
  left: -10px;
}
.carousel-control-next {
  right: -10px;
}

/*--------------------------------------------------------------
#end services carosel
--------------------------------------------------------------*/

/*--------------------------------------------------------------
#Pricing small screen carousel
--------------------------------------------------------------*/
.pricing-tem {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.swiper-slide {
  height: auto !important;
}

.featured {
  background-color: #ffc107;
  color: #000;
  padding: 4px 8px;
  font-size: 0.75em;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.btn-buy {
  background-color: transparent;
  border: 2px solid #0d6efd;
  color: #0d6efd;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-buy:hover {
  background-color: #0d6efd;
  color: white;
}


.pricing-button-prev {
  left: 0px;
}
.pricing-button-next {
  right: -0px;
}
/*--------------------------------------------------------------
    # End Pricing small screen carousel
  --------------------------------------------------------------*/


/*--------------------------------------------------------------
  #Sharaz Mart
--------------------------------------------------------------*/
/* mart */
.featured-carousel {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.featured-carousel .product-card {
  scroll-snap-align: start;
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  min-width: 180px;
}
@media (min-width: 768px) {
  .featured-carousel {
    display: none;
  }
}


.category-card {
  position: relative;
  border: 1px solid #ddd;
  overflow: hidden;
  text-align: center;
  padding: 2rem;
  border-radius: 0.5rem;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  transition: background-color 0.3s ease;
}

.category-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.category-card:hover::before {
  background-color: rgba(0, 0, 0, 0.7);
}

.category-card > * {
  position: relative;
  z-index: 2;
}

.category-card h5 {
  color: #fff; /* Ensures white heading text */
}

/* 🔁 Background-specific classes */
.bg-electronics::before {
  background-image: url('../img/Electronics.webp');
}

.bg-furniture::before {
  background-image: url('../img/Funiture.jpg');
}

.bg-fashion::before {
  background-image: url('../img/Fashion.jpg');
}

.bg-laptops::before {
  background-image: url('../img/Laptops.webp');
}

/*--------------------------------------------------------------
  #End sharaz Mart
--------------------------------------------------------------*/

  
  /*--------------------------------------------------------------
    #Footer
  --------------------------------------------------------------*/
  .footer-contact i {
    color: var(--accent-color)!important;
    margin-right: 3px!important;
  }
  .footer-contact a {
    color: color-mix(in srgb, var(--default-color), transparent 20%) !important;
    font-size:14px!important;
  }
  .footer-contact a:hover {
    color: var(--accent-color)!important;
  }
  .contact-item a {
    color: color-mix(in srgb, var(--default-color), transparent 0%) !important;
  }
  .contact-item a:hover {
    color: var(--accent-color)!important;
  }
  /*--------------------------------------------------------------
    #End Footer styles
  --------------------------------------------------------------*/


/*--------------------------------------------------------------
    #Blogs styling css
--------------------------------------------------------------*/
/* Ensure space below fixed-top navbar */
    .page-title {
    margin-top: 90px; /* Adjust this to your fixed header height */
    background: url('../img/blog/blog-bg.webp') center center / cover no-repeat;
    min-height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: white;
    }

    .bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* dark overlay */
    z-index: 1;
    }

    .heading {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    }

    .icon-wrapper {
    margin-top: 15px;
    animation: bounce 2s infinite;
    }

    .blog-icon {
    width: 60px;
    height: 60px;
    }

    @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    }


    /* Optional Styling blog tags*/
    .tag-link {
      display: inline-block;
      padding: 6px 12px;
      background-color: #f2f2f2;
      border-radius: 20px;
      text-decoration: none;
      color: #333;
      transition: background 0.3s ease;
    }

    .tag-link:hover {
      background-color: #007bff;
      color: #fff;
    }

    .tag-link.active-tag {
      background-color: #007bff;
      color: #fff;
    }
/*--------------------------------------------------------------
    #End Blogs styling css
  --------------------------------------------------------------*/

/*--------------------------------------------------------------
    # backend css
  --------------------------------------------------------------*/
  .loading, .error-message, .sent-message {
    margin-top: 15px;
    display: block;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
  }

  .sent-message {
    color: green;
  }

  .error-message {
    color: red;
  }

  .show {
    display: block !important;
    opacity: 1;
  }

  .loading {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  }
  .loading.show {
  display: block;
  opacity: 1;
}

/*--------------------------------------------------------------
    #End backend css
--------------------------------------------------------------*/