.navbar {
  background-color: #f8f9fa;
  padding: 10px 20px;
}
.navbar-brand {
  font-size: 24px;
  font-weight: bold;
}
.navbar-nav a {
  position: relative;
}

.navbar-nav a::after {
  content: "";
  display: block;
  margin: auto;
  width: 0;
  height: 4px;
  background: #232323;
  margin-top: 5px;
  transition: width 0.3s linear;
}

.navbar-nav a:hover::after {
  width: 70%;
}
.sidebar {
  position: fixed;
  top: 0;
  left: -75%;
  width: 70%;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #232323 !important;
  transition: 0.3s;
  z-index: 10000;
  padding: 30px 15px;
}
.sidebar.show {
  left: 0;
}
.sidebar-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}
.sidebar-overlay.show{
    display: block;
}
.sidebar .inner-sidebar-wrapper {
    height: 90% !important;
    padding-bottom: 25px;
    overflow-y: scroll;
    scrollbar-width: none; /* For Firefox */
}
.sidebar .inner-sidebar-wrapper::-webkit-scrollbar {
    display: none; /* For WebKit browsers */
}
.sidebar .accordion-button:not(.collapsed) {
    color: #232323 !important;
    background-color: none !important;
    box-shadow: none !important;
}
.sidebar a {
    color: #232323;
    text-decoration: none;
}
.sidebar a:hover {
    color: #232323;
}
.sidebar .no-toggle-item .accordion-button::after {
    display: none !important;
}
.menu-btn {
  font-size: 24px;
  cursor: pointer;
}
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  width: 100%;
}
.products-bar, .service-bar{
  position: fixed;
  top: 7% !important;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  border-bottom-right-radius: 35px;
  border-bottom-left-radius: 35px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-200%);
  overflow: hidden; /* Hide overflowing content */
  transition: transform 1.2s ease;
  padding: 3%;
}
.products-bar a p, .solutions-bar a p, .products-bar p, .solutions-bar p, .service-bar a p, .service-bar p{color: var(--primary-Text-color);}
.products-bar .main-wrapper, .service-bar .main-wrapper{
  width: 100%;
}
.products-bar.show, .service-bar.show {
  padding: 3%;
  transform: translateY(0);
}
.header-des{font-size: 22px; font-weight: 400;}
.product-listing img, .service-listing img {
  width: 50px;
  height: 50px;
}
.product-listing, .service-listing {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  text-decoration:none !important;
}
.product-listing h6, .service-listing h6 {
  font-size: 1.3rem;
  font-weight: 500;
  text-align: left;
}
.products-bar .products-list, .service-bar .services-list{
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.products-bar .items-box, .service-bar .items-box {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.header-btn {
  background: transparent;
  color: #232323;
  border: 2px solid #232323;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
}
.header-btn a {
  color: #232323;
  font-size: 16px !important;
  text-decoration: none;
}

.solutions-bar {
  position: fixed;
  top: 7% !important;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 999;
  border-bottom-right-radius: 35px;
  border-bottom-left-radius: 35px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-200%);
  overflow: hidden; /* Hide overflowing content */
  transition: transform 1.2s ease;
  padding: 3%;
}
.solutions-bar .main-wrapper {
  width: 100%;
}
.solutions-bar.show {
  padding: 3%;
  transform: translateY(0);
}
.solutions-bar .products-list {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: stretch;
}
.solutions-bar .items-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.solutions-bar .product-listing{
  width: 20% !important;
  text-decoration:none !important;
}
.products-list p, .services-list p {
  font-weight: 500;
  font-size: 18px;
}

.mobile-header-logo {
  width: 220px;
  float: left;
}

@media (max-width: 1440px) {
  .products-bar, .service-bar {
    top: 11% !important;
  }
  .solutions-bar {
    top: 11% !important;
  }
  .products-list p, .services-list p {
    font-size: 14px;
  }
  .product-listing img, .service-listing img {
    width: 40px;
    height: 40px;
  }
  .products-bar .left-col p, .serivce-bar .left-col p{
    font-size: 16px !important;
  }
  .solutions-bar .left-col p{
    font-size: 16px !important;
  }
}
@media (max-width: 767px) {
  .sidebar {
    left: -85%;
    width: 82%;
  }
  .sidebar .accordion-body .sm-sub-heading a{
    font-size: 18px !important;
    font-weight: 500;
    margin: 15px 0;
  }
  .sidebar .accordion-body a{
    font-size: 16px !important;
    font-weight: 500;
    margin: 15px 0;
  }
}



/*------------ Consent Banner CSS -------------------------*/

/*--------------------- New Way Consent CSS --------------------*/
.cookie-consent-banner {
  width: 50%;
  display: none;
  position: fixed;
  bottom: 5%;
  left: 5%;
  right: 0;
  background-color: #f8f9fa;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
  color: black;
  padding: 20px;
  padding-top: 25px;
  font-size: 14px;
  text-align: center;
  z-index: 100;
  border-radius: 15px;
  font-family: "Poppins", sans-serif;
}
.main-consent-container .close-conent-prop {
  width: 12px;
  height: auto;
  float: right;
  margin-top: -6px;
  margin-bottom: 10px;
  position: absolute;
  top: 14%;
  right: 2%;
  opacity: 0.2;
  cursor: pointer;
}
.cookie-consent-banner h5,
.preferences-modal h5 {
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 10px;
  color:#565f5e !important;
}

.main-consent-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.main-consent-container .first-col {
  width: 70%;
  text-align: left;
  padding-right: 15px;
}
.main-consent-container .second-col {
  width: 30%;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
}
.cookie-consent-banner .cookie-img-col {
  width: 100%;
  position: relative;
  height: 20px;
}
.cookie-consent-banner .cookie-img-col img {
  position: absolute;
  width: 60px;
  padding: 8px;
  height: auto;
  top: -50px;
  right: 12%;
  background-color: #f8f9fa;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}
.cookie-consent-button {
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 4px;
  width: 170px;
}
.cookie-consent-banner p{
    font-size:16px !important;
}
.cookie-consent-button:hover {
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-consent-button:active {
  opacity: 0.5;
}

.cookie-consent-button.btn-success {
  background-color: #565f5e;
  color: white;
}

.cookie-consent-button.btn-grayscale {
  background-color: #dfe1e5;
  color: black;
}

.cookie-consent-button.btn-outline {
  background-color: #e6f4ea;
  color: #34a853;
}

.cookie-consent-options {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cookie-consent-options label {
  margin: 0 10px;
  font-size: 14px;
}

.cookie-consent-options input {
  margin-right: 5px;
}
.preferences-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 8px;
  width: 35vw;
  height: auto;
  background-color: #f8f9fa;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: black;
  padding: 15px;
  font-size: 14px;
  text-align: center;
  position: absolute;
  z-index: 1030;
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
  pointer-events: none; /* Prevents interaction when hidden */
  text-align: left;
  font-family: "Poppins", sans-serif;
}
.preferences-modal p, .preferences-modal a, .preferences-modal p span{
    font-size:16px !important;
}
.preferences-modal .body {
  height: 25rem;
  overflow-y: scroll;
  margin: 15px 0;
}
.preferences-modal .body::-webkit-scrollbar {
  width: 6px; /* Adjust width */
  margin-right: 10px;
}

.preferences-modal .body::-webkit-scrollbar-track {
  background: #ccc; /* Background color of scrollbar track */
  border-radius: 5px;
}

.preferences-modal .body::-webkit-scrollbar-thumb {
  background: #232323; /* Color of scrollbar thumb */
  border-radius: 5px;
}

.preferences-modal .body::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color when hovered */
}
.preferences-modal.open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto; /* Allow interaction when visible */
}
.preferences-modal .header,
.preferences-modal .consent-footer {
  padding: 15px;
  background-color: #dfe1e5;
}
.preferences-overlay {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top:0;
  left:0;
  z-index: 1020;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.preferences-overlay.show {
  display: flex !important;
  opacity: 1;
}

.preferences-modal .do-not-sell-consent,
.preferences-modal .manage-consent-section {
  padding-right: 15px;
}

.accordian-header .accordian-icon-bg {
  background-image: url(http://testing.bestbee.ai/wp-content/uploads/2025/06/add.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  margin: 0;
}
.accordian-header.active .accordian-icon-bg {
  background-image: url(http://testing.bestbee.ai/wp-content/uploads/2025/06/minus-1.png);
}
.accordian-header .always-active {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
/* Change checkbox size */
.preferences-modal .body input[type="checkbox"] {
  width: 20px; /* Adjust size */
  height: 20px; /* Adjust size */
  cursor: pointer;
}

/* Hide the default checkbox */
.preferences-modal .body input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #888;
  border-radius: 4px;
  background-color: white;
  position: relative;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}

/* Checked checkbox custom styling */
.preferences-modal .body input[type="checkbox"]:checked {
  background-color: #232323 !important; /* Background when checked */
  border-color: #232323 !important;
}

/* Custom checkmark - ensures no browser default styles */
.preferences-modal .body input[type="checkbox"]:checked::before {
  content: "✔"; /* Unicode checkmark */
  color: white !important;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Ensure browser default checkmark is removed */
.preferences-modal .body input[type="checkbox"]::-webkit-check {
  background-color: transparent !important;
}
.preferences-modal .body input[type="checkbox"]::-moz-check {
  background-color: transparent !important;
}
.preferences-modal .body input[type="checkbox"]::-ms-check {
  background-color: transparent !important;
}

.preferences-modal .close-modal-btn {
  width: 12px;
  height: auto;
  float: right;
  margin-top: -6px;
  margin-bottom: 10px;
  cursor: pointer;
}
.preferences-modal .close-img-wrapper {
  width: 100%;
}
.cookie-accordians,
.accordian {
  width: 100%;
  margin-right: 15px;
  margin-bottom: 12px;
}
.preferences-modal .inner-flex-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #ccc;
  padding: 10px;
  border-radius: 6px;
}
/* -------------------- Accordian CSS For Consent --------------- */
.preferences-modal .accordian-header {
  background-color: transparent;
  padding: 10px;
  cursor: pointer;
  border: 2px solid #ccc;
  width: 100%;
  display: flex;
  justify-content: space-between;
  outline: 0;
  box-shadow: none;
  border-radius: 5px;
  height: auto;
  font-weight: 600;
  text-align: left !important;
}
.preferences-modal .accordian-plus {
  height: 11px !important;
  width: 11px !important;
  margin-left: 10px;
  transform: rotate(45deg);
  float: right;
  margin-top: 5px;
}
.cookie-consent-options .inner-accordian-wrapper {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.cookie-consent-options .inner-accordian-wrapper.show {
  padding: 10px;
  transition: height 0.3s linear;
  background-color: #f3f3f3;
}
.no-scroll {
  overflow-y: hidden;
  padding-right: 18px;
}
/* ------------------ Toggle Switch ------------------ */
.preferences-modal .switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 26px;
}

.preferences-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.preferences-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: transparent;
  border: 2px solid #565f5e;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.preferences-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 2px;
  background-color: #565f5e;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.preferences-modal input:checked + .slider {
  background-color: transparent;
  border: 2px solid #50b849;
  margin-right: -3px;
}

.preferences-modal input:focus + .slider {
  background-color: transparent;
  border: 2px solid #565f5e;
}
.preferences-modal input:checked + .slider:before {
  -webkit-transform: translateX(19px);
  -ms-transform: translateX(19px);
  transform: translateX(19px);
  background-color: #50b849;
}

/* Rounded sliders */
.preferences-modal .slider.round {
  border-radius: 34px;
}

.preferences-modal .slider.round:before {
  border-radius: 50%;
}

/* -------------------------------------------------- */
@media (max-width: 1440px) {
  .cookie-consent-banner {
    width: 60%;
  }
  .preferences-modal {
    width: 48vw;
  }
  .preferences-modal .body {
    height: 20rem;
    overflow-y: scroll;
    margin: 15px 0;
  }
}
@media (max-width: 1024px) {
  .cookie-consent-banner {
    bottom: 50%;
  }
  .preferences-modal {
    width: 80vw;
    top: 15%;
  }
}
@media (max-width: 992px) {
  .main-consent-container {
    flex-wrap: wrap;
  }
  .cookie-consent-banner {
    bottom: 25%;
  }
  .preferences-modal {
    width: 80vw;
  }
  .main-consent-container .first-col {
    width: 88%;
    text-align: left;
    padding-right: 15px;
  }
  .main-consent-container .second-col {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    margin-left: 12%;
  }
  .main-consent-container .cookie-img-col img {
    width: 60px !important;
    height: auto !important;
  }
}
@media (max-width: 620px) {
  .main-consent-container .first-col {
    width: 100%;
  }
  .main-consent-container .second-col {
    width: 100%;
    margin-left: 0;
  }
  .main-consent-container .cookie-img-col img {
    margin-left: 0px;
  }
  .cookie-consent-banner {
    width: 100% !important;
    padding: 15px;
    height: fit-content;
    bottom: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
  }
  .main-consent-container .second-col {
    justify-content: flex-start;
    flex-direction: row;
  }
  .preferences-modal {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    top: 0;
  }

  .preferences-modal .main-consent-body {
    width: 100vw;
    height: 100vh;
    padding: 20px;
  }
  .preferences-modal .body {
    height: 70%;
    overflow-y: scroll;
    margin: 15px 0;
  }
  .preferences-modal .header,
  .preferences-modal .consent-footer {
    display: flex;
  }
  .cookie-consent-button {
    width: 140px;
    font-size: 13px !important;
  }
  .preferences-modal .header,
  .preferences-modal .consent-footer {
    padding: 8px;
  }
  .preferences-modal h5 {
    font-weight: 400;
    font-size: 16px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .preferences-modal .close-modal-btn {
    margin: 0;
}
  .accordian-plus {
    margin-top: 10px;
  }
  .no-scroll {
    padding-right: 0px;
  }
}
