/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* Kill desktop mega menu */
  .menu {
    width: 100% !important;
  }

  .menu > li > .megadrop {
    position: static !important;
    width: 100% !important;
    left: 0 !important;
    display: none;
    border: none;
  }

  .menu > li.active > .megadrop {
    display: block;
  }

  .menu > li {
    width: 100%;
  }

  /* Product cards */
  .col-md-4,
  .col-lg-2,
  .col-sm-3,
  .col-sm-6 {
    width: 100% !important;
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Hide desktop menu */
  nav#menu {
    display: none !important;
  }

  /* Force mobile header */
  header {
    position: relative !important;
  }

  /* Carousel images */
  .owl-carousel .item img {
    width: 100%;
    height: auto;
  }

}
/* Contact buttons mobile layout */
@media (max-width: 768px) {

  .strip .row {
    display: flex;
    gap: 6px;
  }

  .strip .col-md-4 {
    flex: 1;
    max-width: 33.33%;
  }

  .strip .col-md-4 img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

}
/* Countries section mobile layout */
@media (max-width: 768px){

  .grid_item.small {
    display: block;
    padding: 5px;
  }

  /* Make 3 countries per row */
  .col-lg-1,
  .col-sm-2 {
    width: 33.33% !important;
    max-width: 33.33% !important;
    flex: 0 0 33.33% !important;
  }

  .grid_item.small figure img {
    height: 60px !important;
    object-fit: cover;
  }

  .grid_item.small .info {
    font-size: 12px;
    padding: 4px 0;
    text-align: center;
  }

}

/* Premium Companies waala section  */
@media (max-width: 768px){

  /* Premium company card */
  .grid_item.small figure{
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
  }

  .grid_item.small figure img{
    width: 100%;
    height: 130px !important;
    object-fit: contain;
    padding: 10px;
    background: #fff;
  }

  /* Black gradient overlay */
  .grid_item.small .info{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    text-align: left;
  }

  .grid_item.small .info h3{
    font-size: 13px;
    color: #fff;
    margin: 2px 0 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cat_star{
    margin-bottom: 2px;
  }

  .cat_star i{
    color: gold;
    font-size: 13px;
  }

  
}

/* ========== TESTIMONIAL FIX (PC + MOBILE) ========== */

/* Owl item ko proper card banaye */
#carousel_in1 .item{
    background:#fff;
    padding:15px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.08);
    text-align:center;
}

/* Text area */
#carousel_in1 .item p{
    font-size:14px;
    line-height:1.5;
    margin-bottom:15px;
}

/* Logo */
#carousel_in1 .item img{
    width:120px;
    max-height:80px;
    object-fit:contain;
    display:block;
    margin:10px auto;
}

/* Name + Designation */
#carousel_in1 .item strong{
    display:block;
    font-size:14px;
    margin-top:5px;
}

/* Make only ONE card visible at a time */
#carousel_in1 .owl-item{
    width:100% !important;
}

#carousel_in1 .owl-stage{
    display:flex;
}
/* Equal height testimonial cards */
#carousel_in1 .item{
    height: 320px;   /* 🔑 all cards same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Text area fixed */
#carousel_in1 .item p{
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
}


/* Logo */
#carousel_in1 .item img{
    max-height: 80px;
    object-fit: contain;
}

/* Stop height jumping */
#carousel_in1 .owl-stage-outer{
    height: 480px !important;   /* enough for biggest testimonial */
}

/* Each card same size */
#carousel_in1 .item{
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:#fff;
    padding:15px;
    border-radius:10px;
}

/* Text full but no overflow */
#carousel_in1 .item p{
    overflow: hidden;
}
 /* all,popular waala navbar */
/* ===== FIX FILTER BAR (Desktop + Mobile) ===== */

/* Make sticky work properly */
.filters_listing{
    position: relative;
    z-index: 100;
    background: #fff;
}

/* Sticky behavior */
.filters_listing.sticky_horizontal{
    position: sticky;
    top: 60px; /* below header */
    z-index: 999;
    background: #fff;
}

/* Prevent any parent from clipping */
.filters_listing,
.filters_listing .container,
.filters_listing .container ul{
    overflow: visible !important;
}

/* Layout */
.filters_listing ul{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Mobile layout */
@media (max-width: 768px){
    .filters_listing.sticky_horizontal{
        top: 70px; /* more space for mobile header */
    }

    .filters_listing ul{
        justify-content: center;
    }
}
.category-section{
    background:#f7f7f7;
    padding:30px;
    border-radius:10px;
}

.category-layout{
    display:grid;
    grid-template-columns:30% 70%;
    gap:20px;
}

.left-banner{
    position:relative;
    border-radius:10px;
    overflow:hidden;
}
.left-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.left-banner .overlay{
    position:absolute;
    bottom:20px;
    left:20px;
    color:#fff;
}
.left-banner .overlay a{
    background:red;
    padding:8px 15px;
    color:#fff;
    text-decoration:none;
    border-radius:5px;
}

.right-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

.cat-box{
    background:white;
    border-radius:10px;
    padding:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
}
.cat-box img{
    width:70px;
    height:70px;
    border-radius:8px;
    object-fit:cover;
}

.cat-pagination{
    text-align:center;
    margin-top:20px;
}
.cat-pagination a{
    background:#222;
    color:white;
    padding:10px 20px;
    text-decoration:none;
    border-radius:5px;
    margin:5px;
}
.big-category-card{
    background:#fff;
    margin-bottom:40px;
    padding:25px;
    border-radius:10px;
}

.big-cat-layout{
    display:grid;
    grid-template-columns:28% 72%;
    gap:20px;
}

.big-left{
    position:relative;
    border-radius:10px;
    overflow:hidden;
}
.big-left img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.big-left .overlay{
    position:absolute;
    bottom:20px;
    left:20px;
}
.big-left .overlay a{
    background:red;
    padding:10px 20px;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

.big-right{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.sub-card{
    background:#f9f9f9;
    padding:15px;
    border-radius:10px;
    display:flex;
    justify-content:space-between;
}

.sub-card img{
    width:80px;
    height:80px;
    border-radius:8px;
    object-fit:cover;
}

.sub-card h4{
    margin-bottom:10px;
}

.sub-card span{
    display:block;
    color:#1a73e8;
    margin-bottom:4px;
}
