
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.btn-whatsapp {
  border: 1px solid #198754; /* Bootstrap success color */
  color: #198754;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #198754;
  color: #fff;
}


/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    transition: 0.5s;
}

.text-primary {
  color: var(--bs-primary) !important;
} 

.text-secondary {
  color: var(--bs-secondary) !important;
}

.text-whites {
  color: white !important;
}
.bg-primary{
    background-color: #007bff !important;
}

.bg-lights{
    background-color: #e8eef3 !important;
}

.bg-element{
    background: linear-gradient(to right, #6dd5ed,  #2193b0, #2a5298, #1e3c72);
}

.text-element {
    background: linear-gradient(to right, #6dd5ed, #2193b0, #2a5298, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* For Firefox */
    background-clip: text;
    color: transparent;
}


.bg-elements{
    background: linear-gradient(to right, #1e3c72,  #2a5298, #2193b0, #6dd5ed);
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* .navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
} */

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/* */

.container-fluid.fixed-top,
 h1,
.container-fluid.fixed-top i,
.container-fluid.fixed-top .dropdown-item {
  color: #084cb3 !important; 
}

/* Optional: Also update hover/focus colors for links */
.container-fluid.fixed-top a:hover,
.container-fluid.fixed-top .nav-link:hover,
.container-fluid.fixed-top .dropdown-item:hover {
  color: #084cb3 !important; /* Darker blue on hover */
}

.top-infos{
    background: linear-gradient(to right, #6dd5ed,  #2193b0, #2a5298, #1e3c72);
}

/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
  position: relative;
  overflow: hidden;
  z-index: 1; /* Ensure it's above the blurred layer */
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-imgs.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(-7px);
  z-index: -1; 
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    padding: 0;
   /* optional, overrides py-5 if needed */
}
.page-header img {
    display: block;
    width: 100%;
    height: 150px;
    margin-top: -60px !important;
    margin-bottom: -60px !important; /* or fixed height with object-fit: cover */
}


@media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}
/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-element);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-element);
    
}
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px; 
    height: 90px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

.service  .service-content{
    margin-top: 20px;
}
/*** service End ***/


/*** Fruits Start ***/
.fruite .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fruite .product-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: -10px;

}

.fruite .fruite-item {
    min-height: 500px;
}
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite h5{
  font-size: 18px!important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
   
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
    font-weight: 900;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite-img{
    width: 100%;
    height: 250px;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}

/* ============================
   Product Card Height Alignment
   ============================ */

/* Make card layout consistent */
.card.shopcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 350px; /* adjust based on your layout */
  border-radius: 10px;
  overflow: hidden;
}

/* Fixed image area */
.card-img-top {
  width: 100%;
  height: 160px !important;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Make body flexible and evenly spaced */
.card-body {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  flex-grow: 1;
  padding-bottom: 1rem;
}

/* Product name - fixed height so all align */
.card-body h5.pn {
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;   /* ensures same height across cards */
  line-height: 24px;
  margin-bottom: 8px;
  text-align: center;
}

/* Price position consistency */
.card-body p.fw-bold {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0; /* spacing above button */
}

/* “View More” button stays bottom-centered */
.card-body .btn.morebut {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  align-self: center;
}




.Furnitures h5{
  font-size: 15px!important;
}

/*** vesitable Start ***/

.vesitable .vesitable-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100% !important;
  min-height: 450px !important; /* consistent height */
  transition: 0.5s;
}

.vesitable h5{
  font-size: 18px!important;
}
.vesitable .vesitable-item .p-4 {
  flex-grow: 1; /* pushes footer buttons to bottom */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
    width: 100%!important;
    height: 200px!important;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}


/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-secondary);
}
/*** Banner Section End ***/

.Electronics h5{
  font-size: 15px;
}

/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 20px;
}

.counter h1 {
    margin-bottom: 0;
}
/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/

/* shopdetail */
.detail{
    margin-top: -30px!important;
}

#main-product-img {
  width: 100% !important;
  height: 250px !important;   /* make main image taller than grid */
  object-fit: cover;
  border-radius: 12px;
}


/* Main carousel images */
.single-product .single-carousel .single-item img {
    width: 100%;
    height: 80px;               /* fixed height for uniform size */
    object-fit: cover;           /* crop instead of stretch */
    border: 2px solid var(--bs-dark);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.single-product .single-carousel .single-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Carousel navigation */
.single-product .owl-nav .owl-prev,
.single-product .owl-nav .owl-next {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--bs-primary);
    background: #2e2c2c!important;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s;
}

.single-product .owl-nav .owl-prev:hover,
.single-product .owl-nav .owl-next:hover {
    background: blue!important;
    color: #fff;
}

.single-product .owl-nav .owl-prev { left: -20px; }
.single-product .owl-nav .owl-next { right: -20px; }

/* Thumbnail dots */
.single-product .single-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 12px;
}

.single-product .single-carousel .owl-dot img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--bs-primary);
    transition: all 0.3s;
}

.single-product .single-carousel .owl-dot.active img {
    border: 3px solid var(--bs-secondary) !important;
    transform: scale(1.05);
}



.vesitables .vesitable-items {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;  
    min-height: 400px; /* force equal height for all cards */
    transition: 0.5s;
}

.pn {
    font-size: 17px !important;
}

.vesitables .vesitable-items:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

/* Fix image box */
.vesitables .vesitable-items .vesitable-img {
    flex-shrink: 0;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    max-width: 100%!important; /* ensure it doesn't exceed card width */
}

.vesitables .vesitable-items .vesitable-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* keeps image inside fixed height */
    transition: 0.5s;
}

.vesitables .vesitable-items .vesitable-img img:hover {
    transform: scale(1.2);
}

/* Owl carousel stage */
.vesitables .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitables .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}
.vesitables .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitables .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}
.vesitables .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
.vesitables .btn.morebut {
    margin-top: auto;        
    margin-left: auto;       
    margin-right: auto;      
    display: flex;
    align-items: center;     
    justify-content: center;
    max-width: 100px;
}

/* whattsap */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 80px;
    z-index: 9999;
}

.whatsapp-button {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    border-radius: 50%;
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
    text-align: center;
    line-height: 45px;
    transition: transform 0.2s;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
}

/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/




@media (max-width: 576px) {
/* index */
.hero-header .top{
    margin-top: -10px!important;
    margin-bottom: -30px;
}

.featurs{
    margin-top: -100px!important;
}
.featurs .featurs-item{
    height: 100%;
    padding: 17px 5px;
}
.featurs .featurs-item h5{
    font-size: 17px!important;
}
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 50px;
    height: 50px;
    font-size: 7px!important;
    margin-bottom: 10px!important;
}
.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 20px;
    height: 20px;
    background: var(--bs-element);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-element);    
}

.fruite{
    margin-top: -120px!important;
    img{
      width: 100%!important;
    }
}
 h1{
    font-weight: 700;
}

.service{
    margin-top: -120px!important;
    margin-bottom: -130px!important;
    img{
      width: 100%!important;
    }
}

.vesitable  {
    margin-bottom: 120px!important;
}

.banner {
    margin-top: -200px!important;
}

.Furnitures{
    margin-top: -40px!important;
}

.Electronics{
    margin-top: -80px!important;
}

.Experience{
     margin-top: -30px!important;
}
.mcounter{
    padding: 20px 15px!important;
}
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(243, 243, 243, 0.05);
    padding: 20px 5px!important;
}
.counter i {
    font-size: 40px;
    margin-bottom: 20px;
}
.counter h4 {
    color: var(--bs-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 12px;
}
.counter h1 {
    margin-bottom: 0;
}

.testimonial {
    margin-top: -80px!important;
    margin-bottom: -100px!important;

    h1{
        margin-bottom: 70px!important;
    }
}


/* about */
.hero {
  margin-bottom: -30px!important;
}
.hero .welcome h2 {
  margin: 0;
  font-size: 25px!important;
  font-weight: 700;
  margin-top: -60px!important;
}

.hero .content .icon-box {
    padding: 30px 30px!important;
}

.hero .welcome p {
  margin: 0;
  font-size: 18px!important;
}

.img-fluid {
  width: 230px !important;
  display: block;       /* make it a block element */
  margin-left: auto;    /* center horizontally */
  margin-right: auto;   /* center horizontally */
}
.departments{
  margin-top: -80px!important;
}
.Businesses{
  margin-bottom: -50px!important;
}
.departments .details h3 {
    text-align: center;
    margin-top: 20px!important;
  }
  .services{
    margin-top: -70px!important;
    margin-bottom: -100px!important;
  }
  .services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 40px 20px!important;
  transition: all ease-in-out 0.3s;
  height: 100%;
  border-radius: 20px!important;
}

/* shop */
.fruites{
    margin-top: 0px!important;
}
.pagination{
    margin-top: -10px!important;
    margin-bottom: -100px!important;
}
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 7px 12px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
    font-size: 12px;
}
  


/* shopdetail */
.detail{
    margin-top: -30px!important;
}
.detail .deimg {
    max-width: 90% !important;
    display: block; /* makes margin auto work */
    margin: 0 auto; /* centers horizontally */
}
.defruit{
    margin-top: 30px!important;
}
.Add{
    margin-top: -20px!important;
}
.Vew{
    max-width: 200px;
    margin-top: -20px;
}
.vesitables{
    margin-top: 20px!important;
    margin-bottom: -140px!important;
}
#main-product-img {
  width: 100% !important;
  height: 200px !important;   /* make main image taller than grid */
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--bs-dark);
}
.single-product .single-carousel .single-item img {
    width: 100%;
    height: 80px;               /* fixed height for uniform size */
    object-fit: cover;           /* crop instead of stretch */
    border: 3px solid var(--bs-dark);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

 /* cart */
 .carts{
    margin-top: -30px!important;
    margin-bottom: -90px!important;
 }
 .tcart{
    margin-top: 15px!important;
 }
.remove {
    margin-left: 20px!important;
}


 /* checkout */
.checkout{
    margin-top: -40px!important;
}

.placeholder {
  margin-bottom: -50px !important; /* much better than 300px */
}


 /* contact */
  .contact{
    padding: 30px 0px !important;
    margin-top: -20px!important;
  }
  .contacts{
    padding: 20px 20px !important;
    margin-bottom: -60px!important;
  }


  /*** Footer ***/
  .footer{
    text-align: center !important;
  }
  .icon{
    justify-content: center !important;
  }
  .footer .footer-item p.mb-4 {
    line-height: normal !important;
}
  .footer .footer-item .btn-link{
    line-height: 30px !important;
  }
  
}

@media (min-width: 576px) and (max-width: 992px) {
    .container{
        max-width: 100%!important;
    }

    .hero-header .top{
    margin-top: 0px!important;
    margin-bottom: -30px;
      .carousel-inner{
    img{
      width: 100%!important;
    }
  }
}

.page-header img {
    display: block;
    width: 100%;
    height: 150px;
    margin-top: -60px !important;
    margin-bottom: -60px !important; /* or fixed height with object-fit: cover */
}

.featurs{
    margin-top: -100px!important;
}
.fruite{
    margin-top: -120px!important;
    img{
      width: 100%!important;
    }
}
.service{
    margin-top: -120px!important;
    margin-bottom: -120px!important;
    img{
      width: 100%!important;
    }
}
.banner {
    margin-top: 70px!important
}

.Furnitures{
    margin-top: -40px!important;
}
.Electronics{
    margin-top: -80px!important;
}
.Experience{
     margin-top: -30px!important;
}
.testimonial {
    margin-top: -80px!important;
    margin-bottom: -100px!important;

    h1{
        margin-bottom: 70px!important;
    }
}

/* about */
.hero .welcome h2 {
  margin: 0;
  font-size: 25px!important;
  font-weight: 700;
  margin-top: -40px!important;
}
.hero .welcome p {
  margin: 0;
  font-size: 18px!important;
}

.img-fluid {
  width: 300px !important;
  display: block;       /* make it a block element */
  margin-left: auto;    /* center horizontally */
  margin-right: auto; 
  border-radius: 20px;  /* center horizontally */
}
.departments{
  margin-top: -80px!important;
}
.Businesses{
  margin-bottom: -50px!important;
}
.departments .details h3 {
    text-align: center;
    margin-top: 20px!important;
  }
  .services{
    margin-top: -70px!important;
    margin-bottom: -100px!important;
  }
  .services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 40px 20px!important;
  transition: all ease-in-out 0.3s;
  height: 100%;
  border-radius: 20px!important;
}

/* shop */
.fruites{
    margin-top: 0px!important;

    .more{
      max-width: 400px;
    }
}
.pagination{
    margin-top: -10px!important;
    margin-bottom: -100px!important;
}

/* shopdetail */
.detail{
    margin-top: -30px!important;
}
.detail .deimg {
    max-width: 60% !important;
    display: block; /* makes margin auto work */
    margin: 0 auto; /* centers horizontally */
}
.defruit{
    margin-top: 30px!important;
}
.Add{
    margin-top: -20px!important;
}
.Vew{
    max-width: 400px;
    margin-top: -20px;
}
.vesitables{
    margin-top: 20px!important;
    margin-bottom: -140px!important;
}

 /* cart */
 .carts{
    margin-top: -30px!important;
    margin-bottom: -90px!important;
 }
 .tcart{
    margin-top: 15px!important;
 }
.remove {
    margin-left: 20px!important;
}

 /* checkout */
.checkout{
    margin-top: -40px!important;
}
.placeholder {
  margin: 0 auto !important;   /* center horizontally */
  max-width: 400px;
  display: flex;
  justify-content: center;     /* center child content horizontally */
  align-items: center;         /* center child content vertically */
  text-align: center;  
  margin-bottom: -50px !important;        /* optional: center text inside */
}

/* contact */
.contacts{ 
    margin-bottom: -40px!important;
  }
}

@media (min-width: 576px) and (max-width: 721.98px) {
      .footer {
        text-align: center !important;
    }
    /* footer */
  .footer > .container > .row.g-5 {
    display: flex;
    flex-wrap: wrap;
  }

  .footer > .container > .row.g-5 > .col-lg-4:first-child {
    flex: 0 0 100%; /* full width */
    max-width: 100%;
     /* spacing between rows */
  }

  /* Make the 2nd and 3rd columns side by side */
  .footer > .container > .row.g-5 > .col-lg-4:nth-child(2),
  .footer > .container > .row.g-5 > .col-lg-4:nth-child(3) {
    flex: 0 0 50%; /* each takes 50% width */
    max-width: 50%;
  }

  /* Center text if needed */
  .footer .footer-item{
    text-align: center;
  }
  .footer .footer-item.address {
    text-align: left; /* keep links left aligned */
  }

  /* Optional: center social icons */
  .footer .icon {
    justify-content: center !important;
  }
}

/* From 720px to 992px: force 3 equal columns */
@media (min-width: 720px) and (max-width: 991.98px) {
        .footer {
        text-align: center !important;
    }
    .footer .footer-item.address {
    text-align: left!important; /* keep links left aligned */
  }
  .footer .footer-items{
    text-align: left!important;
  }

  .footer > .container > .row.g-5 > .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}



/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins",  sans-serif;
  --nav-font: "Raleway",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c4964; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1977cc; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}



/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: #ffffff;
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .container {
  z-index: 3;
}

.hero .welcome h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero .welcome p {
  font-size: 24px;
  margin: 0;
}

.hero .content {
  margin-top: 40px;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.hero .content .why-box p {
  margin-bottom: 30px;
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .icon-box {
  text-align: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about   {
  img{
  border-radius: 20px;
  }
  
}
.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 32px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  border-radius: 20px!important;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.departments .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departments .details p:last-child {
  margin-bottom: 0;
}
.tab-pane{
  img{
    border-radius: 20px!important;
  }
}


@media (max-width: 992px) {
  .departments .nav-tabs {
    flex-direction: row !important; /* Make tabs horizontal on mobile */
    overflow-x: auto;               /* Allow horizontal scroll if tabs overflow */
    white-space: nowrap;            /* Prevent wrapping */
  }

  .departments .nav-item {
    flex: 0 0 auto;                 /* Make each tab shrink only if necessary */
  }

  .departments .nav-link {
    border: 0;
    padding: 12px 20px;             /* Adjust padding if needed */
    display: inline-block;
  }

  /* Optional: Scrollbar styling */
  .departments .nav-tabs::-webkit-scrollbar {
    height: 6px;
  }
  .departments .nav-tabs::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
  }
}







