/*=====================================
            BANNER PART STYLE
======================================*/
.banner-part {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.banner-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

.banner-slider .slick-list,
.banner-slider .slick-track {
  height: 100%;
}

.banner-slide {
  height: 100%;
  min-height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.banner-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(4, 53, 138, 0.65), rgba(5, 44, 112, 0.65));
}

.banner-slider.owl-carousel {
  position: relative;
  width: 100%;
  min-height: 400px;
  z-index: 1;
  overflow: hidden;
}

.banner-slide-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  background: #eaf6ff;
}

.banner-img-wrapper {
  aspect-ratio: 16/5;
  width: 100%;
  background: #eaf6ff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #eaf6ff;
}

/* Even size for slider and card images */
.banner-img-wrapper,
.product-img {
  aspect-ratio: 16/9;
  width: 100%;
  min-height: 220px;
  max-height: 320px;
  background: #eaf6ff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-img,
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .banner-img-wrapper {
    aspect-ratio: 16/7;
  }
  .banner-img-wrapper,
  .product-img {
    aspect-ratio: 16/12;
    min-height: 140px;
    max-height: 180px;
  }
}

@media (max-width: 575px) {
  .banner-img-wrapper {
    aspect-ratio: 16/10;
  }
  .banner-img-wrapper,
  .product-img {
    aspect-ratio: 16/14;
    min-height: 80px;
    max-height: 120px;
  }
}

@media (max-width: 767px) {
  .banner-part,
  .banner-slider.owl-carousel,
  .banner-slide-item {
    min-height: 220px;
    height: 220px;
  }
  /* .banner-slide-item img {
    height: 220px;
  } */
}
@media (min-width: 768px) and (max-width: 991px) {
  .banner-content {
    padding: 80px 0px 175px;
  }
}
@media (max-width: 991px) {
  .banner-part,
  .banner-slider,
  .banner-slide-item {
    min-height: 160px;
  }
  /* .banner-slide-item img {
    max-height: 180px;
  } */
}
@media (max-width: 575px) {
  .banner-part,
  .banner-slider,
  .banner-slide-item {
    min-height: 100px;
  }
  /* .banner-slide-item img {
    max-height: 120px;
  } */
}
/*=====================================
            SUGGEST PART STYLE
======================================*/
.suggest-part {
  position: relative;
  margin-top: 5px;
  z-index: 2;
}

.suggest-slider .slick-slide img {
  display: inline-block;
}

/*=====================================
            FEATURE PART STYLE
======================================*/
.feature-card-slider {
  margin-left: 50px;
  margin-bottom: 18px;
}

.feature-thumb-slider {
  margin-left: 50px;
}

@media (max-width: 991px) {
  .feature-card-slider,
  .feature-thumb-slider {
    margin-left: 0px;
  }
}
@media (min-width: 400px) and (max-width: 575px) {
  .feature-card-slider {
    width: 370px;
    margin: 0px auto 30px;
  }
  .feature-thumb-slider {
    width: 370px;
    margin: 0px auto;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .feature-content {
    position: inherit;
    padding: 20px 20px 15px;
    background: var(--heading);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .feature-img img {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .feature-wish {
    top: 15px;
    right: 15px;
  }
  .feature-meta {
    display: flex;
    flex-direction: column;
  }
  .feature-price {
    margin: 0px 0px 5px;
  }
}
/*=====================================
         RECOMMENDED PART STYLE
======================================*/
.recomend-slider .product-card {
  margin: 0px 10px;
}

@media (max-width: 575px) {
  .recomend-slider .product-card {
    width: 255px;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .recomend-slider .product-card {
    width: 300px;
  }
}
/*=====================================
            NICHE PART STYLE
======================================*/
.niche-part .niche-nav {
  margin-bottom: 30px;
}
.niche-part .tab-pane {
  padding: 0px;
}
.niche-part .tab-pane .row {
  justify-content: center;
}
.niche-part .product-card {
  margin-bottom: 30px;
}

@media (max-width: 575px) {
  .niche-nav .nav-tabs li .nav-link {
    font-size: 12px;
    line-height: 18px;
    padding: 10px 10px;
  }
}
@media (min-width: 380px) and (max-width: 575px) {
  .niche-part .product-card {
    width: 350px;
    margin: 0px auto 30px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .niche-part .container {
    max-width: 990px;
  }
  .niche-part .container .col-lg-3 {
    padding: 0px 10px;
  }
}
/*=====================================
            CATEGORY PART STYLE
======================================*/
.category-part .row:nth-child(2) {
  justify-content: center;
}

/*=====================================
            INTRO PART STYLE
======================================*/
.intro-part {
  padding: 112px 0px 415px;
  margin-top: 120px;
  position: relative;
  background: linear-gradient(#0044bb, #080229);
}
.intro-part::before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: url(../../images/bg/02.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.intro-part .section-center-heading {
  margin-bottom: 0px;
}
.intro-part .section-center-heading h2 {
  font-size: 45px;
  line-height: 55px;
  color: var(--white);
  margin-bottom: 22px;
}
.intro-part .section-center-heading p {
  color: var(--white);
  margin-bottom: 45px;
}

@media (max-width: 575px) {
  .intro-part .section-center-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }
}
@media (max-width: 767px) {
  .intro-part {
    margin-top: 60px;
    padding: 50px 0px 365px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .intro-part {
    margin-top: 80px;
    padding: 70px 0px 385px;
  }
}
/*=====================================
            PRICE PART STYLE
======================================*/
.price-part {
  margin-top: -300px;
}
.price-part .row:nth-child(2) {
  justify-content: center;
}
.price-part .section-center-heading h2,
.price-part .section-center-heading p {
  color: var(--white);
}

/*=====================================
            BLOG PART STYLE
======================================*/
.blog-part {
  padding: 120px 0px;
}

.blog-card {
  margin: 0px 15px;
}

.blog-btn {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 575px) {
  .blog-card {
    width: 290px;
  }
}
@media (max-width: 767px) {
  .blog-part {
    padding: 30px 0px 60px;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .blog-card {
    width: 335px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .blog-part {
    padding: 50px 0px 80px;
  }
}

/* Improved Business Type Section Styles */
.business-type-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
}
.business-type-card {
  background: #f7f9fc;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
  padding: 32px 16px 24px 16px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.2s;
}
.business-type-card .counter-group {
  margin-top: 16px;
}
.business-type-card .counter {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 8px 0 2px 0;
  color: #222;
}
.business-type-card .counter-label {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
}
.business-type-card .company-link {
  color: #1976d2;
  font-size: 1rem;
  display: block;
  margin-bottom: 8px;
}
.business-type-card.highlight {
  border: 2px solid #1976d2;
  background: #eaf6ff;
}
@media (max-width: 991px) {
  .business-type-row {
    gap: 12px;
  }
  .business-type-card {
    min-width: 160px;
    max-width: 220px;
    padding: 24px 8px 16px 8px;
  }
  .business-type-card .counter {
    font-size: 1.5rem;
  }
}
@media (max-width: 575px) {
  .business-type-row {
    flex-direction: column;
    gap: 8px;
  }
  .business-type-card {
    min-width: 100%;
    max-width: 100%;
    padding: 12px 4px 8px 4px;
  }
  .business-type-card .counter {
    font-size: 1.1rem;
  }
}

/* Responsive container and card fixes */
.company-list-section {
  padding: 32px 0;
}
.company-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.company-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s;
}
.company-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.company-card .card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.company-card .card-body {
  padding: 16px;
  flex: 1 1 auto;
}
.company-card .card-footer {
  padding: 12px 16px;
  background: #f7f9fc;
  border-radius: 0 0 10px 10px;
}
.company-list-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.company-list-col {
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 220px;
  display: flex;
}
@media (max-width: 991px) {
  .company-list-row {
    gap: 12px;
  }
  .company-list-col {
    max-width: 220px;
    min-width: 160px;
  }
}
@media (max-width: 575px) {
  .company-list-section {
    padding: 16px 0;
  }
  .company-list-container {
    padding: 0 4px;
  }
  .company-list-row {
    flex-direction: column;
    gap: 8px;
  }
  .company-list-col {
    max-width: 100%;
    min-width: 100%;
  }
}