body {
  font-family: "Poppins", sans-serif;
}

.u-btn-outline-lightblue:hover {
  background-color: #dbeafe;
}

.head {
  color: #242424;
  font-weight: 600;
  font-size: 28px;
}
.head-2 {
  color: #242424;
  font-weight: 400;
}

@media (min-width: 768px) and (max-width: 1180px) {
  .head-2 {
    color: #242424;
    font-weight: 400;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .g-bg-img-hero {
    margin-bottom: -40px;
  }
}

.button1 {
  background-color: #4b8de8;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-top: 10px;
  border-radius: 5px;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
  margin-right: 10px;
  margin-bottom: 15px;
  text-decoration-line: none;
}

.button-c {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-top: 10px;
  color: rgb(31, 115, 215);
  font-size: 14px;
  text-align: center;
  line-height: 20px;
  font-weight: 500;
  text-decoration-line: none;
  align-items: center;
  margin-right: 10px;
  margin-bottom: 15px;
  border-width: 2px;
  border-style: solid;
  border-color: rgb(31, 115, 215);
  border-image: initial;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .button1 {
    background-color: rgb(75, 141, 232);
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: 12px;
    text-align: center;
    text-decoration-line: none;
    border-radius: 5px;
    flex-wrap: nowrap;
  }
}

@media (max-width: 600px) {
  .button-c {
    font-size: 12px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    text-decoration-line: none;
    border-radius: 5px;
    flex-wrap: nowrap;
  }
}

/* button css */
.nav-item {
  padding: 2px 3px;
}

/* Base button (desktop first) */
.btn-lg {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; /* prevents text from breaking */
}

/* Large laptop screens */
@media (min-width: 1280px) {
  .btn-lg {
    font-size: 15px;
    padding: 10px 35px;
  }
}
@media (max-width: 1280px) {
  .tab {
    font-size: 13px;
    padding: 2px 4px;
  }
}

/* Large laptop screens */
/* @media (max-width: 1920px) {
  .btn-lg {
    font-size: 15px;
    padding: 10px 25px;
  }
} */
/* Large laptop screens */
@media (max-width: 1366px) {
  .btn-lg {
    font-size: 15px;
    padding: 10px 15px;
  }
}

/* Tablets (portrait/landscape) */
@media (max-width: 1024px) {
  .btn-lg {
    font-size: 14px;
    padding: 10px 8px;
  }
}

@media (min-width: 1680px) {
  .btn-lg {
    font-size: 16px;
    padding: 12px 8px;
  }
}
@media (min-width: 1680px) {
  .tab {
    font-size: 13px;
    padding: 2px 3px;
  }
}

/* @media (min-width: 1280px) {
 .btn-lg {
    font-size: 17px;
    padding: 12px 55px;


  }
}  */

.data-btn-classes {
  margin-top: auto; /* pushes buttons to bottom */
  display: flex;
  justify-content: center; /* centers them horizontally */
  gap: 2px; /* space between buttons */
}

/* Small tablets & large phones */
@media (max-width: 768px) {
  .btn-lg {
    font-size: 14px;
    padding: 10px 10px;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .btn-lg {
    font-size: 13px;
    padding: 8px 12px;
    width: 100%; /* makes buttons full width */
    text-align: center;
    justify-content: center;
  }

  .g-flex-centered {
    flex-direction: column; /* stack buttons */
    gap: 4px; /* spacing between buttons */
  }
}

/* end button css */

.banner {
  color: #242424;
  font-size: 40px;
  text-align: center;
}

.banner-2 {
  color: #242424;
  font-size: 16px;
}

@media (max-width: 600px) {
  .banner {
    font-size: 20px;
    margin-top: -100px;
  }

  .banner-2 {
    color: #242424;
    font-size: 13px;
    text-align: center;
  }
}

/* @media (max-width: 1024px) {
    .btn-lg {

        display: flex;
        align-items: center;
        font-size: 15px;
        padding-bottom: 8px;
        padding-top: 8px;
        padding-left: 10px;

        padding-right: 10px;
      
        margin-top: 10px;
    }

} */

@media (max-width: 600px) {
  .col-md-6 {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .col-md-6 {
    padding: 5px;
  }
}

/* accordion */

.u-shadow-v1-4 {
  color: #242424;
  border: 1px solid #d9dbe9;
  font-size: 14px;
  font-weight: 400;
  border-radius: 9px;
}
/* end accordion */

#accordion-11-body-40,
#accordion-11-body-41,
#accordion-11-body-42 {
  border: 1.5px solid #d9dbe9;
  border-radius: 5px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#accordion-01-body-01,
#accordion-01-body-02,
#accordion-01-body-03,
#accordion-01-body-04,
#accordion-01-body-05,
#accordion-01-body-06 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-14-body-01 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-14-body-02 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-14-body-03 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-14-body-04,
#accordion-14-body-05,
#accordion-14-body-06,
#accordion-14-body-07,
#accordion-14-body-08 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}
#accordion-12-body-01,
#accordion-12-body-02,
#accordion-12-body-03,
#accordion-12-body-04,
#accordion-12-body-05 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-18-body-01,
#accordion-18-body-02,
#accordion-18-body-03 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-17-body-01 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-17-body-02 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-17-body-03 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-16-body-01,
#accordion-16-body-02 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-16-body-03,
#accordion-16-body-04,
#accordion-16-body-05 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-15-body-01 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

#accordion-13-body-01,
#accordion-13-body-02 {
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}


#accordion-19-body-01{
  border: 1.5px solid #d9dbe9;
  border-radius: 10px;
}

/* .accordion {
    color: #242424;
    border: 1px solid #D9DBE9;
    font-size: 14px;
    font-weight: 400;
    border-radius: 9px;
} */

.g-color-main {
  color: #242424;
}

.h5 {
  color: #242424;
}

.u-shadow-v19 {
  border: 1px solid #d9dbe9;
  border-radius: 10px;
}

/* search */
.search-container {
  display: flex;
  align-items: center;

  margin: 40px auto;
  margin-top: -10px;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 12px;
}

.search-box svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  fill: #777;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 15px;
}

.clear-btn {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
  color: #999;
  cursor: pointer;

  display: none; /* hidden by default */
}

.search-box input:valid ~ .clear-btn,
.search-box input:not(:placeholder-shown) ~ .clear-btn {
  display: block; /* show only when input has text */
}

/* .filter-btn {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 14px;
    margin-left: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    fill: #333;
} */

/* end search */

/* search */

.search-results-container {
  scrollbar-width: thin;
  scrollbar-color: #d9dbe9 #f8f9fa;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 9px 9px;
  /* Remove max-height and overflow-y properties */
  display: none;
  margin-top: 15px;
}

/* Remove the scrollbar styles since we're not scrolling in the container anymore */
.search-results-container::-webkit-scrollbar {
  width: 0;
}

.search-results-container::-webkit-scrollbar-track {
  background: transparent;
}

.search-results-container::-webkit-scrollbar-thumb {
  background-color: transparent;
}

.search-results-container .row {
  margin-left: -10px;
  margin-right: -10px;
}

.search-results-container .g-px-20 {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;
}

.search-container {
  position: relative;
  margin-bottom: 30px;
}

/* Update the spacer to use auto height instead of fixed */
.search-results-spacer {
  height: 0;
  transition: height 0.3s ease;
}

/* Remove the fixed height for visible state */
.search-results-visible .search-results-spacer {
  height: auto;
}

/* New class to hide content below search */
.hide-below-search {
  display: none !important;
}

.search-results-container figure {
  position: relative;
  min-height: 150px;
  background-color: #f8f9fa;
}

.search-results-container img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

/* Mobile-specific search result styles */
@media (max-width: 767px) {
  .search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 15px;
    margin-bottom: 0;
    border-radius: 0 0 9px 9px;
    max-height: none;
    z-index: 1000;
  }

  /* Increase the spacer height significantly on mobile to prevent footer clipping */
  .search-results-visible .search-results-spacer {
    height: auto;
    min-height: 100px;
  }

  /* Adjust the search container for mobile */
  .search-container {
    margin-bottom: 20px;
  }

  /* Improve card layout for mobile */
  .search-results-container .col-md-6 {
    margin-bottom: 20px;
  }

  /* Ensure product cards don't get too tall on mobile */
  .product-card {
    height: auto !important;
    min-height: 400px;
  }

  /* Adjust padding and margins for better mobile display */
  .search-results-container .g-px-20 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .search-results-container .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  /* Add some extra margin to the content below to ensure space for footer */
  body.search-results-visible .content-below-search {
    margin-top: 20px;
  }
}

/* Keep desktop styles as they are */
@media (min-width: 768px) {
  .search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 15px;
  }
}

/* end search-2 */

svg {
  width: 25px;
  height: 20px;
  fill: #4b8de8;
  font-weight: 700;
}

svg:hover {
  fill: #0414bf;
}

.svg1 {
  width: 25px;
  height: 20px;
  fill: #ffff;
  font-weight: 700;
}

/* responsive tabs */

@media (max-width: 600px) {
  .tab {
    font-size: 13px;
    padding: 5px;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    transition: all 0.3s ease;
    width: 100%; /* makes them uniform */
  }
}

/* responsive tabs */

/* @media (max-width: 600px) {
  .tab {
font-size: 13px;

}
}  */

/* end responsive tab */

.icon {
  color: #1f73d7;
}

/* display content  */

/* end display content */

/* arrow */

.mobile-arrow {
  display: none; /* hidden by default */
  font-size: 0.8rem;
}

/* Show arrow only on small screens */
@media (max-width: 576px) {
  .mobile-arrow {
    display: inline-block;
  }
}
/* end arrow */

/* end responsive tabs */

/* phone screen text */

@media (max-width: 767px) {
  .col-md-6.col-lg-4.g-mb-30 {
    flex: 0 0 100% !important; /* full width */
    max-width: 100% !important; /* override Bootstrap column width */
    padding-left: 0px !important; /* remove left padding */
    padding-right: 0px !important; /* remove right padding */
    margin-bottom: 10px !important;
  }

  .col-md-6.col-lg-4.g-mb-30 article {
    border-radius: 5px !important; /* optional: remove rounded corners */
  }
}
/* end phone screen text */

/* Card content should stretch and organize text better */
article.u-shadow-v19 {
  display: flex;
  flex-direction: column;
  height: 100%; /* makes all cards equal height */
}

article.u-shadow-v19 .g-pa-10 {
  flex: 1; /* lets the text area expand and take available space */
  display: flex;
  flex-direction: column;
}

article.u-shadow-v19 footer {
  margin-top: auto; /* pushes footer (buttons) to bottom */
}

/* card-height */

.scroll {
  height: 320px;
  overflow-y: scroll;
  scrollbar-width: thin;
}

.scroll-1 {
  height: 120px;
  overflow-y: scroll;
  scrollbar-width: thin;
}

.scroll-2 {
  height: 180px;
  overflow-y: scroll;
  scrollbar-width: thin;
}
/* end card height */

/* Only for iPad screens */
/* @media (min-width: 768px) and (max-width: 1180px) {
  .button-container {
    display: flex;
    flex-wrap: wrap;     
    justify-content: baseline;
    gap: 1px;   
    font-size: 13px;  
    text-align: center;  
    justify-content: center;      
  }

  .button-container .nav-item {
    flex: 1 1 40%; 
    text-align: center;
  }

  .button-container .nav-link {
    width: 60%;  
  }
}
 */

/* Only for iPad screens */
@media (min-width: 768px) and (max-width: 1180px) {
  .button-container {
    display: flex;
    flex-wrap: wrap; /* allows multiple rows */
    justify-content: center; /* center the rows */
    gap: -2px; /* spacing between buttons */
    font-size: 13px;
    text-align: center;
  }

  .button-container .nav-item {
    flex: 1 1 20%; /* 5 per row = 100/20 */
    max-width: 20%; /* prevent stretching more than 20% */
    text-align: center;
  }

  .button-container .nav-link {
    width: 100%; /* fill the flex item fully */
    display: block;
  }
}

/* tab */

/* footer btn */

/* end footer btn */
