body {
    background-color: #f8fbff;
    /* Light bluish background matching screenshot */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Filter Buttons */
.filter-buttons-container {
    padding: 10px;
}

.filterSwiper .swiper-slide {
    width: auto;
    /* Allow buttons to define their own width */
    height: auto;
}

.filterSwiper {
    padding: 10px 0;
    /* Add some vertical padding for shadows */
}

/* Center the slides wrapper if content is less than width */
.filterSwiper .swiper-wrapper {
    /* justify-content: center; */
}


.filter-btn {
    border-radius: 4px;
    font-weight: 600;
    /* color: #1a3c6e; */
    color: #000;
    /* Dark blue text */
    /* min-width: 225px; */
    min-width: 237px;
    border: 1px solid #e1e8ed;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.filter-btn:hover {
    background-color: #7acb8c;
    color: #fff;
}

/* Section Title */
.section-title {
    /* color: #3b5998; */
    /* Muted blue */
    font-weight: 500;
}

/* Swiper Custom Styling */
.swiper {
    width: 100%;
}

.mySwiper {
    padding-top: 20px;
    padding-bottom: 20px;
}

.swiper-slide {
    height: auto;
    /* For equal height cards */
}

/* Custom Navigation Buttons */
.custom-nav-btn {
    /* color: #1976D2; */
    color: #7acb8c;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    /* Square with slight radius */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.custom-nav-btn::after {
    font-size: 18px;
    font-weight: bold;
    font-family: 'swiper-icons';
    content: 'next';
    /* Default fallback */
}

.swiper-button-prev.custom-nav-btn::after {
    content: 'prev';
}

.swiper-button-next.custom-nav-btn::after {
    content: 'next';
}


/* Position arrows specific for filter section (closer to content) */
/* The parent is inline-block, so left:0/right:0 refers to the edges of the content */
.filter-prev.custom-nav-btn {
    left: 0;
}

.filter-next.custom-nav-btn {
    right: 0;
}

/* Position arrows for main carousel (at edges of container) */
.swiper-button-prev.custom-nav-btn:not(.filter-prev) {
    left: -40px;
}

.swiper-button-next.custom-nav-btn:not(.filter-next) {
    right: -40px;
}
/* @media (max-width: 1699px) {
    .filterSwiper .swiper-slide {
        width: 233px !important;
    }
}

@media (max-width: 1399px) {
    .filterSwiper .swiper-slide {
        width: 247px !important;
    }
}

@media (max-width: 992px) {

    .filterSwiper .swiper-slide {
        width: 48% !important;
    }

    .filterSwiper .swiper-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .filter-btn {
        width: 100% !important;
    }
} */

@media (max-width: 768px) {

    /* Hide arrows on medium mobile screens (576px - 768px) */
    .swiper-button-prev.custom-nav-btn,
    .swiper-button-next.custom-nav-btn {
        display: none !important;
    }

    /* Adjust container padding for mobile */
    .filterSwiper {
        padding: 10px 0;
    }

    .mySwiper {
        padding-top: 10px;
        padding-bottom: 15px;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Improve mobile card sizing */
    .custom-card {
        border-radius: 6px;
    }

    .card-img-top-wrapper {
        height: 140px;
    }

    .text-wrap {
        font-size: 0.85rem;
        line-height: 1.1;
    }

    .section-bg h2 {
        font-size: 1.5rem;
    }

    /* Filter button mobile optimization */
    .filter-btn {
        min-width: 120px;
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    /* Add margin to prevent overlap with navigation buttons */
    /* .filterSwiper {
        margin: 0 40px;
    } */
}

/* Small screens below 576px - SHOW ARROWS */
@media (max-width: 575px) {

    /* Show arrows on mobile and style them */
    .swiper-button-prev.custom-nav-btn,
    .swiper-button-next.custom-nav-btn {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Position arrows inside the swiper on mobile */
    .filter-prev.custom-nav-btn {
        left: 5px;
    }

    .filter-next.custom-nav-btn {
        right: 5px;
    }

    .section-bg .swiper-button-prev.custom-nav-btn {
        left: 5px;
    }

    .section-bg .swiper-button-next.custom-nav-btn {
        right: 5px;
    }

    /* Adjust container padding for mobile */
    /* .filterSwiper {
        padding: 10px 0;
    } */

        .filterSwiper {
        padding: 30px 0;
    }

    .mySwiper {
        padding-top: 10px;
        padding-bottom: 15px;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Improve mobile card sizing */
    .custom-card {
        border-radius: 6px;
    }

    .card-img-top-wrapper {
        height: 120px;
    }

    .text-wrap {
        font-size: 0.8rem;
        line-height: 1;
    }

    .section-bg h2 {
        font-size: 1.25rem;
    }

    /* Filter button mobile optimization */
    .filter-btn {
        min-width: 100px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    

    
}
@media (max-width: 575px) and (min-width: 375px) {
    .swiper-button-prev.custom-nav-btn, .swiper-button-next.custom-nav-btn {
        display: flex !important;
        position: absolute;
        top: 28%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .filter-buttons-section .custom-nav-btn {
        top: 34% !important;
    }

        /* .filter-prev.custom-nav-btn {
        left: 450px !important;
    } */
}

@media (min-width: 769px) {

    /* Ensure arrows are positioned correctly on desktop */
    .filter-nav-button {
        /* Centered vertically relative to the container */
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-top: 0;
        /* Reset any manual offsets if needed */
    }

   

}


/* Cards */
.custom-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    background: #fff;
}

.custom-card:hover {
    transform: translateY(-5px);
}

.card-img-top-wrapper {
    background-color: #eef6fc;
    /* Light blue background for image area */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    /* Fixed height for image area */
}

.card-img-top {
    max-width: 100%;
    object-fit: contain;
}

/* Color Bars below image */
.color-bars {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 6px;
    border-radius: 3px;
    display: inline-block;
}

.bar-orange {
    background-color: #FFA726;
}

.bar-gray {
    background-color: #78909C;
}

.bar-blue {
    background-color: #42A5F5;
}

.bar-gray-light {
    background-color: #B0BEC5;
}

.bar-gray-dark {
    background-color: #546E7A;
}

.bar-blue-light {
    background-color: #81D4FA;
}

.bar-red {
    background-color: #EF5350;
}

.bar-green {
    background-color: #66BB6A;
}

.bar-green-light {
    background-color: #A5D6A7;
}

.bar-yellow {
    background-color: #FFEE58;
}

/* Wrapper text */
.text-wrap {
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Video Section */
.video-section {
    background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 100%);
}

.video-thumb {
    width: 100%;
    /* max-width: 800px; */
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background-color 0.2s;
}

.play-button i {
    font-size: 30px;
    color: #555;
    margin-left: 5px;
    /* Visual center adjustment */
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #fff;
}

/* User's custom class refined */
.filter-buttons-section .custom-nav-btn {
    /* color: #1976D2; */
    color: #7acb8c;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    position: absolute;
    z-index: 10;
    cursor: pointer;
   
    top: 88%;
    transform: translateY(-50%);
}

.video-section{
    background-color: #eff4fd;
}


/*  */
.video-section {
  background: #f3f7ff; /* match your page background */
}

.video-bg {
  width: 100%;
  max-width: 1920px;
  height: 400px;

  background-image: url("./images/video-thum.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 0;        /* remove card look */
  box-shadow: none;        /* remove pop-up effect */
}

/* Play button */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 80px;
  height: 80px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  color: #000;
}

/* Video full overlay */
#promo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Page background */
.video-section {
  background: #f3f7ff;
  padding: 80px 0;
}

/* Image as background */
.video-bg {
  width: 100%;
  max-width: 1920px;
  height: 400px;
  margin: 0 auto;

  background-image:
    radial-gradient(
      ellipse at center,
      rgba(243, 247, 255, 0) 55%,
      #f3f7ff 100%
    ),
    url("/images/new.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
}

.video-wrapper {
        max-width: 100%; /* Optional: limits width on huge monitors */
        margin: 0 auto;
        overflow: hidden;
    }

    #main-video, #video-placeholder {
        width: 100% !important;
       height: 60vh !important;
        object-fit: cover; /* Prevents stretching */
        display: block;
    }

@media (max-width: 576px) {
    /* Extra small phones */
    .mySwiper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .section-bg {
        padding: 20px 0 !important;
    }

    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .filter-btn {
        min-width: 100px;
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .card-img-top-wrapper {
        height: 120px;
    }

    


.card-body{
    /* height: 16vh; */
            /*height: 30vh;*/

}

.filterSwiper {
    margin: 0 !important;
}

}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
}

.play-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.section-bg h2{
    font-size: 2rem;
 
}

@media (max-width: 500px) and (min-width: 360px) {

    #searchform {
        flex-direction: column !important;
        gap: 10px;
        padding: 0 10px;
    }

    #searchform > div,
    #searchform input,
    #searchform select,
    #searchform .select2-container,
    #searchform button {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 8px !important;
    }

    /* FIX SELECT2 */
    .select2-container {
        width: 100% !important;
    }

    .select2-selection {
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* BUTTON */
    .banner-search {
        margin-top: 5px;
    }
}

/*  */
@media (max-width: 575px) {

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .filter-buttons-section {
    width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
  }

  .filterSwiper {
    width: 100% !important;
    overflow: hidden !important;
            margin-bottom: 25px !important;

  }

  .filterSwiper .swiper-wrapper {
    width: auto !important;
  }

  .filterSwiper .swiper-slide {
    width: auto !important;
  }

  /* NAV INSIDE VIEW */
  .filter-next {
    right: 5px !important;
  }

  /* .filter-prev {
    left: 5px !important;
  }
   */

    .filter-prev {
        left: 80% !important;
    }

  .filter-buttons-section .custom-nav-btn{
    background: transparent;
    border: none;
    box-shadow: none;  }

        .filter-btn {
     
        /* padding: 6px 48px; */
        padding: 6px 21px !important;
       
    }
}
@media (max-width:411px){
        .filter-btn {
        padding: 6px 55px;
    }
}
@media (max-width:375px){
    .filter-buttons-section .custom-nav-btn{
        top: 35% !important;
    }
}



/*  */

.swiper-button-next.filter-next.custom-nav-btn::after,
.swiper-button-next.custom-nav-btn::after  {
    content: "next" !important;
    color: green !important;
    font-size: 14px;
}

.swiper-button-prev .filter-prev .custom-nav-btn::after,
.swiper-button-prev.custom-nav-btn::after {
    content: "prev" !important;
    color: green !important;
    font-size: 14px;
}


/* Card layout */
.custom-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image area */
.card-img-top-wrapper {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Body */
.custom-card .card-body {
    display: flex;
    flex-direction: column;
}

/* Title */
.slide-title {
    font-size: 1rem;
    line-height: 1.3;
}

/* Buttons container */
.slide-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Button style (matches screenshot) */
.slide-btn {
    display: block;
    width: 100%;
    padding: 12px 14px;
    background-color: #7acb8c;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.slide-btn:hover {
    background-color: #66bb78;
    color: #fff;
}



/* new */
/* ===============================
   ONLY FOR: filterSwiper section
   Will NOT touch any other swiper
================================= */

.filterSwiper.filterSwiper-0 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
}

/* WRAPPER FIX – ONLY THIS SLIDER */
.filterSwiper.filterSwiper-0 > .swiper-wrapper {
    justify-content: center !important;
    width: 100% !important;
}

/* SLIDE GAP FIX – ONLY THIS SLIDER */
.filterSwiper.filterSwiper-0 > .swiper-wrapper > .swiper-slide {
    margin-right: 6px !important;
    width: auto !important;
}

/* ===== ARROWS – ONLY THIS SLIDER ===== */
.filterSwiper.filterSwiper-0 .swiper-button-next,
.filterSwiper.filterSwiper-0 .swiper-button-prev {

    opacity: 1 !important;
    background: #ffffff !important;
    color: #000 !important;
    border: 1px solid #ddd !important;

    width: 38px !important;
    height: 38px !important;
    border-radius: 6px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    --swiper-navigation-size: 16px !important;
    --swiper-navigation-color: #000 !important;

    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

/* FORCE ICON COLOR – ONLY THIS */
.filterSwiper.filterSwiper-0 .swiper-button-next::after,
.filterSwiper.filterSwiper-0 .swiper-button-prev::after {
    color: #000 !important;
    opacity: 1 !important;
}

/* DISABLED STATE – ONLY THIS */
.filterSwiper.filterSwiper-0 .swiper-button-disabled {
    opacity: 1 !important;
}

/* BUTTON STYLE – ONLY THIS */
.filterSwiper.filterSwiper-0 .filter-btn {
    padding: 8px 14px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

/* SAFETY */
.filterSwiper.filterSwiper-0 {
    overflow: hidden !important;
}
/* ======= NUCLEAR OVERRIDE ONLY FOR THIS SECTION ======= */

/* 1. DESTROY SWIPER INLINE WIDTH */
/* .cat-overlay-section .cat-overlay-swiper .swiper-slide.cat-overlay-slide {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;

    margin-right: 4px !important;     
    flex: 0 0 150px !important;
}


.cat-overlay-section .cat-overlay-swiper .swiper-wrapper {
    display: flex !important;
    justify-content: center !important;
    gap: 4px !important;         
}


.cat-overlay-section .cat-overlay-item,
.cat-overlay-section .cat-overlay-img {
    width: 150px !important;
    height: 150px !important;
}


.cat-overlay-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.cat-overlay-section .cat-overlay-swiper {
    padding: 0 !important;
    margin: 0 auto !important;
} */

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled{
    opacity: initial;
}


/* ============================
   FILTER SLIDER SECTION STYLE
============================ */
.filter-section {
  position: relative;
}

/* Button inside slide */
.filter-slide-btn {
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 10px;
  white-space: nowrap;
}

/* Keep slide center */
.filterBtnSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wrapper padding for arrows */
.filter-slider-wrapper {
  padding: 0 55px;
  position: relative;
}

/* ============================
   ARROWS (DESKTOP / TAB)
============================ */
.filter-swiper-nav .filter-swiper-prev,
.filter-swiper-nav .filter-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #fff;
  border: none;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

.filter-swiper-nav .filter-swiper-prev {
  left: 0;
}

.filter-swiper-nav .filter-swiper-next {
  right: 0;
}

/* ============================
   MOBILE ARROWS TOP RIGHT
============================ */
@media (max-width: 768px) {
  .filter-slider-wrapper {
    padding: 45px 0 0 0; /* top space for arrows */
  }

  .filter-swiper-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
    z-index: 99;
  }

  .filter-swiper-nav .filter-swiper-prev,
  .filter-swiper-nav .filter-swiper-next {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 20px;
  }
}


.content-wrapper h4{
    font-size: 1rem !important;
    font-weight: 500 !important;
}

.cat-overlay-btn{
border-radius: 4px !important;
}




@media(max-width:575px){

.video-height #video-placeholder {
        height: auto !important;

}
}
	.fs-1-1 {
		font-size: 1.1rem !important;
	}


    h5.card-title.fs-1-1 {
    font-weight: bold;
}

p.custom-height {
    height: 60px;
}


/* section */

        .cat-overlay-swiper {
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
        }

        .cat-overlay-slide {
            width: 100%;

            display: flex;
            justify-content: center;
        }

        .cat-overlay-section {
            padding: 30px 0;
            background-color: #CAFFD6;
        }

        .cat-overlay-section .container {
            max-width: 700px !important;

        }

        /* swiper width control + center */


        /* slide */


        /* item wrapper */
        .cat-overlay-item {
            position: relative;
            display: inline-block;
            text-decoration: none;
        }

        /* round image */
        .cat-overlay-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
        }

        /* button ON image */
        .cat-overlay-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);

            /* background: rgba(255, 255, 255, 0.9); */
            /* background: #CAFFD6; */
            background: #7BCB8D;
            color: black;
            /* padding: 6px 12px; */
            padding: 10px 55px;
            font-size: 12px;
            font-weight: 600;

            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
            white-space: nowrap;
        }