.widget-grid-switch-img img {
    height: 250px;
    object-fit: cover;
}

header .navbar .navbar-brand img, header.side-menu .logo img, header .sidebar-nav-menu .navbar-brand img {
    max-height: 65px;
}

footer .footer-logo img {
    max-height: 65px;
}

@media (max-width: 991px) {
    header .navbar .navbar-brand img, header.side-menu .logo img, header .sidebar-nav-menu .navbar-brand img {
        max-height: 45px;
    }
    
    footer .footer-logo img {
        max-height: 45px;
    }

}

@media (max-width: 768px) {
    .nav-header-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 1200px) {
    .xl-no-border-right {
        border-right: 0 !important;
    }
   
}

@media (min-width: 768px) {
.cm-lg-no-border-bottom {
    border-bottom: 0 !important;
}
}

@media (min-width: 576px) {
    .cm-sm-no-border-bottom {
        border-bottom: 0 !important;
    }
}

/* ------------------------------ */

.widget-img_w_slider_right .left-img-container {
  max-width: 400px;
}

 .hive-grid {
  display: flex;
  flex-shrink: 0;
  flex-grow: 0;
}

.hive-row:nth-child(even) {
  margin-top: 77px;
}

.hive-item {
  width: 200px;
  height: 173.2px; /* unchanged */
  margin: -20px -53px -20px 0;
}


.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card.current .flip-card-inner {
  transform: rotateY(180deg);
}

.hive-item-img__full {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
}

.hexagon-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #777;
  clip-path: polygon(
    25% 5%,
    75% 5%,
    100% 50%,
    75% 95%,
    25% 95%,
    0% 50%
  );
}

.hexagon-item::before {
  content: "";
  position: absolute;
  top: 3px; /* adjust for border thickness */
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: #111; /* border color */
  z-index: -1;
  clip-path: polygon(
    25% 5%,
    75% 5%,
    100% 50%,
    75% 95%,
    25% 95%,
    0% 50%
  );
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
  clip-path: polygon(
    25% 5%,
    75% 5%,
    100% 50%,
    75% 95%,
    25% 95%,
    0% 50%
  );
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #777;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  
  img {
    max-width: 138px;
    max-height: 70px;
  }
}

/* Style the back side */
.flip-card-back {
  background-color: #777;
  color: white;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hive-item-text {
  color: #fff;
  line-height: 140%;
}

.flip-card-front::before, .flip-card-back::before {
  content: "";
  position: absolute;
  top: 3px; /* adjust for border thickness */
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: #111; /* border color */
  z-index: -1;
  clip-path: polygon(
    25% 5%,
    75% 5%,
    100% 50%,
    75% 95%,
    25% 95%,
    0% 50%
  );
}


@media (min-width: 1200px) {
  .widget-img_w_slider_right .left-img-container img {
    transform: scale(1.25);
  }
  .widget-img_w_slider_right .left-text {
    margin-top: 50px !important;
  }
}
@media (min-width: 1366px) {
  .widget-img_w_slider_right .left-img-container img {
    transform: scale(1.5) translatex(-2vw);
  }
  .widget-img_w_slider_right .left-text {
    margin-top: 75px !important;
    margin-left: -5vw;
  }
}