@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-BdIt.eot');
    src: url('../font/TTTalent-BdIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-BdIt.woff2') format('woff2'),
        url('../font/TTTalent-BdIt.woff') format('woff'),
        url('../font/TTTalent-BdIt.svg#TTTalent-BdIt') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-BlkIt.eot');
    src: url('../font/TTTalent-BlkIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-BlkIt.woff2') format('woff2'),
        url('../font/TTTalent-BlkIt.woff') format('woff'),
        url('../font/TTTalent-BlkIt.svg#TTTalent-BlkIt') format('svg');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-Blk.eot');
    src: url('../font/TTTalent-Blk.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Blk.woff2') format('woff2'),
        url('../font/TTTalent-Blk.woff') format('woff'),
        url('../font/TTTalent-Blk.svg#TTTalent-Blk') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-XLtIt.eot');
    src: url('../font/TTTalent-XLtIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-XLtIt.woff2') format('woff2'),
        url('../font/TTTalent-XLtIt.woff') format('woff'),
        url('../font/TTTalent-XLtIt.svg#TTTalent-XLtIt') format('svg');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-XBd.eot');
    src: url('../font/TTTalent-XBd.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-XBd.woff2') format('woff2'),
        url('../font/TTTalent-XBd.woff') format('woff'),
        url('../font/TTTalent-XBd.svg#TTTalent-XBd') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-DbIt.eot');
    src: url('../font/TTTalent-DbIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-DbIt.woff2') format('woff2'),
        url('../font/TTTalent-DbIt.woff') format('woff'),
        url('../font/TTTalent-DbIt.svg#TTTalent-DbIt') format('svg');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-Db.eot');
    src: url('../font/TTTalent-Db.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Db.woff2') format('woff2'),
        url('../font/TTTalent-Db.woff') format('woff'),
        url('../font/TTTalent-Db.svg#TTTalent-Db') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-Bd.eot');
    src: url('../font/TTTalent-Bd.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Bd.woff2') format('woff2'),
        url('../font/TTTalent-Bd.woff') format('woff'),
        url('../font/TTTalent-Bd.svg#TTTalent-Bd') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-XBdIt.eot');
    src: url('../font/TTTalent-XBdIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-XBdIt.woff2') format('woff2'),
        url('../font/TTTalent-XBdIt.woff') format('woff'),
        url('../font/TTTalent-XBdIt.svg#TTTalent-XBdIt') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-It.eot');
    src: url('../font/TTTalent-It.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-It.woff2') format('woff2'),
        url('../font/TTTalent-It.woff') format('woff'),
        url('../font/TTTalent-It.svg#TTTalent-It') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent Hairline';
    src: url('../font/TTTalent-HairlineIt.eot');
    src: url('../font/TTTalent-HairlineIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-HairlineIt.woff2') format('woff2'),
        url('../font/TTTalent-HairlineIt.woff') format('woff'),
        url('../font/TTTalent-HairlineIt.svg#TTTalent-HairlineIt') format('svg');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent Hairline';
    src: url('../font/TTTalent-Hairline.eot');
    src: url('../font/TTTalent-Hairline.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Hairline.woff2') format('woff2'),
        url('../font/TTTalent-Hairline.woff') format('woff'),
        url('../font/TTTalent-Hairline.svg#TTTalent-Hairline') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-XLt.eot');
    src: url('../font/TTTalent-XLt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-XLt.woff2') format('woff2'),
        url('../font/TTTalent-XLt.woff') format('woff'),
        url('../font/TTTalent-XLt.svg#TTTalent-XLt') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-LtIt.eot');
    src: url('../font/TTTalent-LtIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-LtIt.woff2') format('woff2'),
        url('../font/TTTalent-LtIt.woff') format('woff'),
        url('../font/TTTalent-LtIt.svg#TTTalent-LtIt') format('svg');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-Md.eot');
    src: url('../font/TTTalent-Md.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Md.woff2') format('woff2'),
        url('../font/TTTalent-Md.woff') format('woff'),
        url('../font/TTTalent-Md.svg#TTTalent-Md') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-MdIt.eot');
    src: url('../font/TTTalent-MdIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-MdIt.woff2') format('woff2'),
        url('../font/TTTalent-MdIt.woff') format('woff'),
        url('../font/TTTalent-MdIt.svg#TTTalent-MdIt') format('svg');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent Normal';
    src: url('../font/TTTalent-Normal.eot');
    src: url('../font/TTTalent-Normal.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Normal.woff2') format('woff2'),
        url('../font/TTTalent-Normal.woff') format('woff'),
        url('../font/TTTalent-Normal.svg#TTTalent-Normal') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent Normal';
    src: url('../font/TTTalent-NormalIt.eot');
    src: url('../font/TTTalent-NormalIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-NormalIt.woff2') format('woff2'),
        url('../font/TTTalent-NormalIt.woff') format('woff'),
        url('../font/TTTalent-NormalIt.svg#TTTalent-NormalIt') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-Rg.eot');
    src: url('../font/TTTalent-Rg.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Rg.woff2') format('woff2'),
        url('../font/TTTalent-Rg.woff') format('woff'),
        url('../font/TTTalent-Rg.svg#TTTalent-Rg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-Thin.eot');
    src: url('../font/TTTalent-Thin.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Thin.woff2') format('woff2'),
        url('../font/TTTalent-Thin.woff') format('woff'),
        url('../font/TTTalent-Thin.svg#TTTalent-Thin') format('svg');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-ThinIt.eot');
    src: url('../font/TTTalent-ThinIt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-ThinIt.woff2') format('woff2'),
        url('../font/TTTalent-ThinIt.woff') format('woff'),
        url('../font/TTTalent-ThinIt.svg#TTTalent-ThinIt') format('svg');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Talent';
    src: url('../font/TTTalent-Lt.eot');
    src: url('../font/TTTalent-Lt.eot?#iefix') format('embedded-opentype'),
        url('../font/TTTalent-Lt.woff2') format('woff2'),
        url('../font/TTTalent-Lt.woff') format('woff'),
        url('../font/TTTalent-Lt.svg#TTTalent-Lt') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

html,
body {
  width: 100vw;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  font-family:'TT Talent',sans-serif;
    -webkit-font-smoothing:antialiased !important;
  font-size: 16px;
  overflow-x: hidden;
  color: #1E2532;
}


/*.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 60px;
}*/


.img,
.img img,
img {
    max-width: 100%;
    height: auto;
}

a{
   color: rgba(222, 0, 165,1);
   text-decoration:  underline; 
}
a:hover{
   color: rgba(25, 145, 240, 1);
   text-decoration: none; 
}
/*TYPOGRAPHY*/
h1,h2,h3,h4,h5,h6,strong{
    color: #1E2532;
}

h1,h2,h3,h4,h5,h6{
    font-weight: 500;
}

.mega-hero-title{
    font-size:48px;
    font-weight:500;
}

.hero-title{
    font-size: 33px;
    line-height: 33px;
}

h2, .md-hero-title{
    font-size: 24px;
    line-height: 24px;
}

.sml-hero-title{
    font-size: 18px;
}

.md-copy-size{
    font-size: 18px;
}

.sml-copy-size{
    font-size: 16px !important;
}

.text-one-line{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-two-line {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* This number controls the maximum number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-three-line {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* This number controls the maximum number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stick {
    position: fixed;
    top: 0;
}

/* NAV */
.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
  
    justify-content: auto;
}

.navbar-brand img{
    width:133px;
}
.navbar-brand{

    padding-left:12px;
}
/* =================================================================== */
/* == START: Definitive Navbar Centering Solution                 == */
/* =================================================================== */
/*
 * Step 1: Turn the main navbar container into a 3-column grid.
 * The magic is `grid-template-columns: 1fr auto 1fr;`. This creates:
 * - A left column that takes up 1 fractional unit of free space.
 * - A center column that is only as wide as its content ("auto").
 * - A right column that takes up 1 fractional unit of free space.
 * Because both side columns are `1fr`, they are always equal in width,
 * which forces the `auto` center column into the true center.
*/
.navbar .container-fluid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center; /* Vertically align all items */
}

/*
 * Step 2: Place the logo in the first grid column and align it
 * to the start (left) of that column.
*/
.navbar .navbar-brand {
    grid-column: 1 / 2;
    justify-self: start;
}

/*
 * Step 3: Place the main navigation menu in the second (center) grid column.
 * It will be perfectly centered automatically because of the grid definition.
*/
.navbar .top-nav {
    grid-column: 2 / 3;
}

/*
 * Step 4: Place the right-side user menu in the third grid column
 * and align it to the end (right) of that column. This works
 * whether it contains buttons or is empty.
*/
.navbar .nav-right-placeholder {
    grid-column: 3 / 4;
    justify-self: end;
    display: flex; /* Ensures buttons inside align correctly */
    align-items: center;
}

/* =================================================================== */
/* == END: Definitive Navbar Centering Solution                   == */
/* =================================================================== */
.nav-link{
    
    color:#828BA2;
}

.nav-link:hover{
    color:rgba(25, 145, 240, 1) !important;

}

.nav-link.active{
    color:#1E2532 !important;
}

.nav {
    align-items: center;
}

.nav.flex-column{
    align-items: start;
}

.nav-tabs{
    border:none;
}

.page-tabs{
    border-bottom:1px solid rgba(231,234,244,1);
}

.page-tabs .nav-link,
.page-favourites .nav-link {
    border-bottom:1px solid rgba(255,255,255, 1);
    border-top:none;
    border-left:none;
    border-right:none;
    font-size:17px;
        
    border-radius:0;
        
    padding-left:0;
    padding-right:0;
    margin-left:16px;
    margin-right:16px;
    font-weight:500;
}
.page-tabs .nav-link:hover{
    border-color:#ffffff;
}
.page-tabs .nav-link.active {
    margin-bottom:-1px;
    border-bottom:2px solid rgba(25, 145, 240, 1);
}

.page-tabs .nav-item:first-child .nav-link {
    margin-left: 0;
}

.nav-favourites{
    padding-top:10px;

}





/*CARDS*/

.card {
    background-color: rgba(255,255,255,0.9);
    background-clip: border-box;
    border-radius: 0px;
    border:5px solid #ffffff;
    
}

.card-header:first-child ,
.card-img-top {
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.card-outline {
    background-color: transparent;
    background-clip: border-box;
    border: 3px solid rgba(255,255,255,1) ;
    border-radius: 25px;
    
}

.card-ghost {
    background-color: rgba(255,255,255,0.1);
    
    
}

.card-blue {
    background-color: rgba(0,127,170,1);
    
    
}

.card-light-green {
    background-color: rgba(231,244,237,1);
    border-radius: 12px;
    border: 3px solid rgba(231,244,237,1) ;
    
}

.card-light-purple {
    background-color: rgba(241,242,255,1);
    border-radius: 12px;
    border: 3px solid rgba(241,242,255,1) ;
    
}

.card-tan {
    background-color: rgba(243,241,245,1);
    border-radius: 12px;
    border: 3px solid rgba(243,241,245,1) ;
}

.card-footer-blue {
    background-color: rgba(73,84,111,0.9);
    
    
}

.card-footer:last-child {
    border-radius: 25px;
    border-top: none;
}

.floating-card{
    position: absolute;
    top: -200px;
}

.card-cta{
    text-decoration:none;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    padding: 24px;
    border-radius: 8px;
    display: flex
;
    z-index: 2;
    box-shadow: rgba(15, 56, 113, 0.32) 0px 0px 1px, rgba(15, 56, 113, 0.12) 0px 1px 2px, rgba(15, 56, 113, 0.08) 0px 2px 4px;
}
.card-cta,
.card-cta-text,
.card-cta-background{
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
}

.card-cta:hover{
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(15, 56, 113, 0.12) 0px 8px 20px -4px, rgba(15, 56, 113, 0.08) 0px 2px 4px -1px, rgba(15, 56, 113, 0.32) 0px 0px 1px 0px;
}



.card-cta:hover .card-cta-background{
    background:rgba(159,28,151,1) !important;
}

/*.card-cta-active{
    box-shadow: rgb(26, 145, 240) 0px 0px 0px 2px !important;

}*/

.card-cta-big{
        
    border-radius: 0px;
    background-color: rgb(255, 255, 255);

}

.card-search-bar{
    box-shadow: rgba(15, 56, 113, 0.08) 0px 2px 4px -1px, rgba(15, 56, 113, 0.12) 0px 8px 20px -4px;
    filter: drop-shadow(rgba(15, 56, 113, 0.32) 0px 0px 1px);
            
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    padding:8px;

}

.course_content{
    overflow: hidden;
        /*position: sticky;
        top: 155px;
        overflow: auto;
        width: 100%;
        height: calc(-300px + 100vh);*/
           
}
/*COLOURS*/
.text-bold{
    font-weight: 500;
}


.text-white,
.text-white strong,
.text-white p{
    color: rgba(255,255,255,1);
}

.text-white svg,
.text-white path{
    fill: rgba(255,255,255,1);
}

.text-light,
.text-light strong,
.text-light p{
    color: rgba(130, 139, 162,1) !important;
}

.text-light svg,
.text-light path{
    fill: rgba(130, 139, 162,1) !important;
}

.text-dark{
    color: rgba(0,0,0,1) !important;
}

.text-dark svg,
.text-dark path{
    color: rgba(0,0,0,1) !important;
}

.text-ultra-light{
    color:#bec4d5;
}

.text-blue,
.text-blue p,
.text-blue strong{
    color: rgba(26,145,240,1) !important;
}

.text-blue svg,
.text-blue path{
    fill: rgba(26,145,240);
}

.text-red,
.text-red p,
.text-red strong{
    color: rgba(218, 12, 34,1);
}

.text-red svg,
.text-red path{
    fill: rgba(218, 12, 34,1);
}


.bg-white{
    background: #ffffff;
}


.bg-purple{
    background: rgba(135, 0, 205,1);
}



.bg-blue{
    background: rgba(0,50,91,1);
}

.bg-light{
    background: rgba(237,237,238,1);
}

.bg-light-blue{
    background: rgba(234,246,255,1);
}


.hr-light {
    border-top: 1px solid #9FA6BB;
}

.border-neutral_15{
    border-color:#E7EAF4 !important;
}

/*Styled Lists */


.chevron-list-purple li,
.chevron-list-tan li,
.check-list-green li,
/*#learning_outcomes li,
#topics li,
#categories li,*/
.keyword-search-form-ul li,
.categories-search-form-ul li{
    display: block;
    list-style-type: none;
    line-height: auto;

}

.chevron-list-purple li:before/*,
#topics ul li:before*/ { 
    position: relative; 
    content:"";
    background: url(../icons/chevron-right-purple.svg) no-repeat left center;
    background-size: 20px;
    padding-right: 24px; 
    margin-right: 10px; 
    margin-left:-34px;
}

.chevron-list-tan li:before/*,
#categories ul li:before*/ { 
    position: relative; 
    content:"";
    background: url(../icons/chevron-right-tan.svg) no-repeat left center;
    background-size: 20px;
    padding-right: 24px; 
    margin-right: 10px; 
    margin-left:-34px;
}

.check-list-green li/*,
#learning_outcomes ul li*/{
    color:#757575;
    padding-bottom:15px;
}

.check-list-green li:before/*,
#learning_outcomes ul li:before*/ { 
    position: relative; 
    content:"";
    background: url(../icons/check-green.svg) no-repeat left center;
    background-size: 20px;
    padding-right: 24px; 
    margin-right: 10px; 
    margin-left:-34px;
}

.keyword-search-form-ul{
    margin: 8px 14px;
    padding-top:16px;
    padding-left:0;
    border-top: 1px solid rgb(217, 222, 235);
}

.keyword-search-form-ul li{
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
}

/*.keyword-search-form-ul li,
.categories-search-form-ul li{
    padding:10px 15px 10px 0px;
    margin-bottom:5px;
}


.keyword-search-form-ul li:before { 
    position: relative; 
    content:"";
    background: url(../icons/search.svg) no-repeat center;
    background-size: 24px;
    padding:10px 24px 10px 15px; 
    margin-right: 4px; 
    margin-left:-34px;
}*/

.keyword-search-form-ul li,
.categories-search-form-ul li {
    display: flex; /* Changed from 'block' to 'flex' for proper alignment */
    align-items: flex-start; /* Aligns the icon with the start of the text block */
    list-style-type: none;
    line-height: auto;
}

.keyword-search-form-ul li,
.categories-search-form-ul li {
    padding: 10px 15px 10px 0px;
    margin-bottom: 5px;
}

.keyword-search-form-ul li:before {
    content: "";
    background: url(../icons/search.svg) no-repeat center;
    background-size: 24px;
    flex-shrink: 0;       /* Prevent the icon from shrinking */
    width: 24px;          /* Give the icon a fixed width */
    height: 24px;         /* Match the height for alignment */
    margin-right: 12px;   /* Create space between the icon and the text */
    /* The problematic position, padding, and negative margin properties have been removed */
}

.keyword-search-form-ul li:hover,
.keyword-search-form-ul li:hover:before {
    background-color: rgb(247, 249, 252);
}

.keyword-search-form-ul li a,
.categories-search-form-ul li a{
    text-decoration:none;
    color:#1E2532;
}

.categories-search-form-ul li:before { 
    position: relative; 
    content:"";
    background: url(../icons/categories.svg) no-repeat left center;
    background-size: 20px;
    padding:10px 24px 10px 0; 
    margin-right: 4px; 
    margin-left:-34px;
}
/*FORMS*/
/*Search Form*/
.search-form input, 
.search-form select, 
.search-form button, 
.search-form textarea{
    border: none ;
    /*font-size:17px;*/
    padding: 15px 20px;

}

.search-form input:focus,
.search-form input:active {
  
  outline: none;

}


.search-form  ::placeholder {
  color: #828ba2;
  opacity: 1; /* Firefox */
}

.search-form  ::-ms-input-placeholder { /* Edge 12 -18 */
  color: #828ba2;
}

/*.form-col-active{
    position:absolute;
    box-shadow: rgba(15, 56, 113, 0.08) 0px 2px 4px -1px, rgba(15, 56, 113, 0.12) 0px 8px 20px -4px;
    filter: drop-shadow(rgba(15, 56, 113, 0.32) 0px 0px 1px);
            
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    margin:-8px 0px -8px -8px !important;
    padding-top:8px !important;
    padding-bottom:8px !important;
    padding-left:8px !important;
    width:100%;
    z-inded:99999;
  
}*/



.keyword-input{
    background-image: url(../icons/search.svg); 
    background-position: 10px 15px; 
    background-repeat: no-repeat;
    width: 100%; 
    font-size: 19px; 
    padding-left: 40px !important;
}

.search-form .btn{
    font-size:19px;
    font-weight:500;
}

.btn-search-form-delete{
    height:55px;
    vertical-align:middle;
    display:block;
    float:right;
    
}

.btn-search-form-delete svg,
.btn-search-form-delete img{
    margin:21px 21px 21px 10px;
}

.search-form-count{
    height:40px;
    vertical-align:middle;
    display:block;
    float:right;
    padding-top:15px;

}

.categories-input { 
    background-image: url(../icons/categories.svg); 
    background-size:24px;
    background-position: 10px 16px; 
    background-repeat: no-repeat;
    width: 100%; 
    font-size: 16px; 
    padding-left: 40px !important;
}

/*Default Forms*/
.rounded-3 {
    border-radius: 10px !important;
}

.rounded-2 {
    border-radius: 4px !important;
}

.banner-form input, 
.banner-form select, 
.banner-form button, 
.banner-form textarea,
.banner-form  .input-group-text, 
.banner-form .custom-file-label, 
.banner-form .custom-file-label::after,
.btn{
    border: 3px solid rgba(255,255,255,1) ;
    border-radius: 10px ;
    padding: 15px 20px;
    font-size:19px;

}

.banner-form.form-light input, 
.banner-form.form-light select, 
.banner-form.form-light button, 
.banner-form.form-light textarea,
.banner-form.form-light .input-group-text, 
.banner-form.form-light .custom-file-label, 
.banner-form.form-light .custom-file-label::after,
.btn{
    border: 3px solid rgba(237,237,238,1) ;

}

.banner-form  .input-group-text{
    border-right:none;
}

.input-group>.input-group-prepend>.input-group-text{
    border-radius: 10px ;
}

.banner-form .input-group-text, .banner-form .custom-file-label::after {
    color: rgba(0,50,91,1);
    background-color: rgba(201,214,222,1) !important;
    fill: rgba(0,50,91,1);
}
/*.banner-form .input-group-text {
    border: 1px solid rgba(182,0,31,1);
    
}*/

/*.banner-form .input-group>.custom-select:nth-child(2), 
.banner-form .input-group>.form-control:nth-child(2) {
    border-left:1px solid rgba(182,0,31,1);
}*/

.banner-form  .input-group-text{
    background: rgba(255,255,255,1);
    border-radius: 10px ;
}

.banner-form  .input-group-text svg{
    fill: rgba(0,50,91,1);
}

.banner-form .form-label{
    font-weight:600;
    
}


.modal-form input, 
.modal-form select, 
.modal-form button, 
.modal-form textarea,
.modal-form  .input-group-text, 
.modal-form .custom-file-label, 
.modal-form .custom-file-label::after{
    border: none !important;
    border-radius: 4px ;
    padding: 15px 20px;
    background:#EFF2F9 !important;

}

.webo-email-error svg,
.webo-phone-error svg,
.icon-error svg{
    fill: #e53935 !important;
}

.webo-email-success svg,
.webo-phone-success svg,
.icon-success svg{
    fill: #7cb342 !important;
}

/*FILE UPLOAD*/
.dropzone {
    width: 100%;
    height: 130px;
    border: 1px dashed rgba(222, 0, 165,1);
    border-radius: 3px;
    text-align: center;
}

.upload-icon {
    margin: 25px 2px 2px 2px;
}

.upload-input {
    position: relative;
    top: -62px;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/*BUTTONS*/
.btn-settings{
    margin-left:25px;
    padding-left:32px;
    padding-right:35px;
    position:relative;
}

.btn-settings::after, .btn-settings::before {
  content: ""; /* Required for pseudo-elements to be visible */
  position: absolute;
  background-color: #E7EAF4;
}

.btn-settings::before { /* Using ::before, but ::after would also work */
  left: 0;
  width: 1px; /* Thickness of the border */
  height: 24px; /* Half the height of the parent div */
  top: 50%;
    transform: translateY(-50%);
  
}

.btn-cta{
    color:#ffffff;
    background-color:rgba(25,145,240,1);
    border:none !important;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 50px;
    font-weight: 600;
}

.btn-cta p{
    color:#fff;
}

.btn-cta svg,
.btn-cta path,
.btn-cta rect,
.btn-blue svg,
.btn-blue path,
.btn-blue rect{
    fill: rgba(255,255,255,1);
}


.btn-cta:hover, 
.cta .btn:hover,
.btn-cta-active{
    color:rgba(255,255,255,1);
    background-color:rgba(17,112,205,1) !important;
}

.btn-cta:hover p,
.cta .btn:hover p,
.btn-cta-active p{
    color:rgba(255,255,255,1);
}

.btn-cta:hover svg,
.btn-cta:hover path,
.btn-cta:hover rect,
.cta .btn:hover svg,
.cta .btn:hover path,
.cta .btn:hover rect,
.btn-cta-active svg,
.btn-cta-active path,
.btn-cta-active rect{
    fill: rgba(255,255,255,1);
}
.btn-cta:focus,
.btn-cta.focus, 
.cta .btn:focus, 
.cta .btn.focus{
    box-shadow:0 0 0 .2rem rgba(255,255,255,0.5)
}
.btn-cta.disabled,
.btn-cta:disabled, 
.cta .btn.disabled, 
.cta .btn:disabled{
    color:#fff;
    background-color:rgba(222, 0, 165,0.2);
    border-color:rgba(222, 0, 165,0.2)
}
.btn-cta:not(:disabled):not(.disabled):active,
.btn-cta:not(:disabled):not(.disabled).active,
.show>.btn-cta.dropdown-toggle,
.cta .btn:not(:disabled):not(.disabled):active,
.cta .btn:not(:disabled):not(.disabled).active,
.show>.cta .btn.dropdown-toggle{
    color:#fff;
    background-color:#00b3b3;
    border-color:#000
}
.btn-cta:not(:disabled):not(.disabled):active:focus,
.btn-cta:not(:disabled):not(.disabled).active:focus,
.show>.btn-cta.dropdown-toggle:focus,
.cta .btn:not(:disabled):not(.disabled):active:focus,
.cta .btn:not(:disabled):not(.disabled).active:focus,
.show>.cta .btn.dropdown-toggle:focus{
    box-shadow:0 0 0 .2rem rgba(0,90,90,0.5)
}

.btn-transparent{
    
    background-color:transparent;
    border:none !important;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 5px;
}

.btn-transparent:hover, 
.btn-transparent-active{
    background-color:rgba(239, 242, 249,1) !important;
}

.btn-cta:hover p,
.cta .btn:hover p,
.btn-cta-active p{
    color:rgba(255,255,255,1);
}



.btn-blue{
    color:#ffffff;
    background-color:rgba(25,145,240,1);
    
    border:none !important;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 5px;
    font-weight: 600;
}

.btn-blue p{
    color:#fff;
}



.btn-blue:hover, 
.btn-blue-active{
    color:rgba(255,255,255,1);
    background-color:rgba(17,112,205,1) !important;
}

.btn-light-blue{
    color:rgba(25,145,240,1);
    background-color:rgba(234,246,255,1);
    
    border:none !important;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 5px;
    font-weight: 600;
}

.btn-light-blue p{
    color:rgba(25,145,240,1);
}



.btn-light-blue:hover, 
.btn-light-blue-active{
    color:rgba(25,145,240,1);
    background-color:rgba(26, 145, 240, 0.15) !important;
}

.btn-light-blue svg,
.btn-light-blue path,
.btn-light-blue rect{
    fill: rgba(25,145,240,1);
}

.btn-grey{
    color:rgba(30,37,50,1) !important;
    background-color:rgba(239, 242, 249,1);
    border:none !important;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 5px;
    font-weight: 600;
}

.btn-grey p{
    color:rgba(130, 139, 162,1);
}



.btn-grey:hover, 
.btn-grey-active{
    color:rgba(25,145,240,1) !important;
    background-color:rgba(26, 145, 240, 0.15) !important;
}

.btn-grey svg,
.btn-grey path,
.btn-grey rect{
    fill: rgba(130, 139, 162,1);
}


.btn-back{
    color:rgba(130, 139, 162,1);
    background-color:rgba(239, 242, 249,1);
    font-size:16px;
    border:none !important;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 50px;
    font-weight: 600;
    padding: 5px 0 0 7px;
    width:81px;
    height:32px;
    text-align: left;
}

.btn-back p{
    color:rgba(130, 139, 162,1);
}

.btn-back img{
    margin-right:-3px;
    margin-top: -2px;

}



.btn-back:hover, 
.btn-back-active{
    color:rgba(25,145,240,1) !important;
    background-color:rgba(26, 145, 240, 0.15) !important;
}

.btn-back svg,
.btn-back path,
.btn-back rect{
    fill: rgba(130, 139, 162,1);
}


.btn-dashboard{
    color:rgba(48,56,72,1);
    background-color:rgba(239, 242, 249,1);
    border:none !important;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 50px;
    padding: 5px 17px;
}

.btn-dashboard p{
    color:rgba(130, 139, 162,1);
}



.btn-dashboard:hover, 
.btn-dashboard-active{
    color:rgba(25,145,240,1) !important;
    background-color:rgba(26, 145, 240, 0.15) !important;
}

.btn-dashboard svg,
.btn-dashboard path,
.btn-dashboard rect{
    fill: rgba(130, 139, 162,1);
}


.btn-white{
    color:#1E2532;
    background-color:
    rgba(255,255,255,1);
    border: none;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 10px;
    
}

.btn-white:hover{
    color:rgba(25,145,240,1) !important;
    background-color:rgba(255,255,255, 1) !important;
    border-color:rgba(25,145,240,1) !important;
}


.btn-white:focus,
.btn-white.focus{
    box-shadow:0 0 0 .2rem rgba(255,255,255,0.5)
}

.btn-white:hover svg,
.btn-white:hover path,
.btn-white:hover rect{
    fill: rgba(25,145,240,1) !important;
}

.btn-filter-container{
    position:absolute;
    left:0;
}

.btn-filter{
    color:rgba(222, 0, 165,1);
    background-color:
    rgba(255,255,255,1);
    border: none;
    /*-webkit-transition : all 500ms ease-out;
    -moz-transition : all 500ms ease-out;
    -o-transition : all 500ms ease-out;
    transition : all 500ms ease-out;*/
    border-radius: 10px;
    font-weight:500;
}

.btn-filter:hover{
    color:rgba(25,145,240,1) !important;
    background-color:rgba(255,255,255, 1) !important;
    border-color:rgba(25,145,240,1) !important;
}


.btn-filter:focus,
.btn-filter.focus{
    box-shadow:0 0 0 .2rem rgba(255,255,255,0.5)
}

.btn-filter:hover svg,
.btn-filter:hover path,
.btn-filter:hover rect{
    fill: rgba(25,145,240,1) !important;
}

.btn.popular-searches{
    padding:6px 10px !important;
    font-weight:500;
}


.save_course_list_item{
    display:block;
    background: url(../icons/save-hollow.svg) no-repeat center;
    background-size: 18px;
    width:18px;
    height:18px;
}

.save_course_list_item:hover{
    display:block;
    background: url(../icons/save-full.svg) no-repeat center;
    background-size: 18px;
    width:18px;
    height:18px;
}

.save_course_list_item_active,
.save_course_list_item_active:hover{
    display:block;
    background: url(../icons/save-full-red.svg) no-repeat center;
    background-size: 18px;
    width:18px;
    height:18px;
}

/*
 * 1. Styling for the small HEART icon (.save_course_list_item) during loading.
 *    This replaces your old, incomplete rule.
 */
.save_course_list_item.save-course-loading {
  /* Hide the original heart icon by removing its background image */
  background-image: none !important;
  position: relative; /* Needed to correctly position the spinner inside */
}

.save_course_list_item.save-course-loading::after {
  content: '';
  display: block;
  position: absolute;

  /* Spinner Dimensions & Centering */
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin-top: -9px;  /* Half of height */
  margin-left: -9px; /* Half of width */

  /* Spinner Appearance */
  border-radius: 50%;
  border: 2px solid rgba(218, 12, 34, 0.3); /* A light, semi-transparent red circle */
  border-top-color: rgba(218, 12, 34, 1);     /* The solid, moving part of the spinner (dark red) */

  /* Apply the animation */
  animation: spin 0.8s linear infinite;
}


/*
 * 2. Styling for the main SAVE COURSE buttons (large and small screen) during loading.
 */
.btn.save-course-loading {
  position: relative; /* Needed to position the spinner */
  /* This prevents the original text from showing through the spinner on some browsers */
  color: transparent !important;
}

/* Hide the original icon and text inside the button when loading */
.btn.save-course-loading .save_course_icon,
.btn.save-course-loading .save_course_text {
  visibility: hidden;
}

/* Create the spinner using the ::after pseudo-element for the main buttons */
.btn.save-course-loading::after {
  content: '';
  display: block;
  position: absolute;

  /* Spinner Dimensions & Centering */
  width: 24px;
  height: 24px;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -12px;

  /* Spinner Appearance - using the blue theme color */
  border-radius: 50%;
  border: 3px solid rgba(25, 145, 240, 0.2); /* Light blue circle */
  border-top-color: rgb(25, 145, 240);       /* Solid blue for the moving part */

  /* Apply the animation */
  animation: spin 0.8s linear infinite;
}

.save_course_icon{
    display:inline-block;
    background: url(../icons/save-hollow-blue.svg) no-repeat center 3px;
    background-size: 18px;
    width:18px;
    height:18px;

}

.save_course_text{
    font-weight: 500;
}

.save_course_icon_active_initial{
    display:inline-block;
    background: url(../icons/save-full-red.svg) no-repeat center 3px;
    background-size: 18px;
    width:18px;
    height:18px;

}


.save_course_icon_active{
    display:inline-block;
    background: url(../icons/save-full-blue.svg) no-repeat center 3px;
    background-size: 18px;
    width:18px;
    height:18px;

}

/*Banner*/
.banner-bg-image-left{
    margin-bottom:-500px;
    margin-left:-350px;
}

.banner-bg-image-right{
    margin-bottom:-500px;
    margin-right:-400px;
}

.search_bar_hp { /* Initial state, before sticking */
    margin-top: -35px; /* Your original negative margin */
    position: relative; /* Good for offsetTop calculations and stacking context */
    /* Add any other specific non-sticky styles here */
    z-index: 1000;  /* Ensure it's above other content, higher than inline if needed */
}

.search_bar { /* Initial state, before sticking */
    position: relative; /* Good for offsetTop calculations and stacking context */
    /* Add any other specific non-sticky styles here */
    z-index: 1000;  /* Ensure it's above other content, higher than inline if needed */
}

/* This is the new class that JavaScript will toggle for the sticky state */
.search_bar_fixed_sticky {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0 !important;
    z-index: 1000;
    top: 0;
}

.search_bar_fixed_sticky .container {
    padding-top: 25px;
    width: 100%;
}


.search_bar_bg_white_blur .bg-white-blur{
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(8px) saturate(200%);
    height:30px;
    margin-bottom:-5px;
}

.search_bar_bg_white_blur .container {
    padding-top: 0px;
    
}




.page-banner {
    background-image: url("../images/banner-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    min-height: 316px;
    /* Optionally set a min-height for mobile, or use aspect-ratio if supported */
}


/*Carousel*/

:root {
  --course-width: 25%;
  --course-height: 280px;
  --course-height-pagination: 330px;
  --course-image-height: 200px;
  --arrow-width: 50px;
  --slider-py: 200px;
}
@media only screen and (max-width: 991px) {
  :root {
    --course-width: 50%;
  }
}

@media only screen and (max-width: 767px) {
  :root {
    --course-height: 270px;
  }
}

.carousel-fade-container {
  position: relative; 
  width: 100%; 
  /* overflow: hidden; */
  transition: margin-left 0.4s ease-in-out, width 0.4s ease-in-out;
}

.carousel-fade-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0; /* This will now be the right edge of the .carousel-fade-container */
  width: 50px; /* Increased for a better fade effect, adjust as needed */
  height: 100%;
  /* background-color: #E7EAF4; */ /* Your old solid color */
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0) 100%); /* Gradient */
  pointer-events: none; /* Allows clicking/scrolling through the overlay */
  z-index: 2; /* Ensures it's on top of the scrolling content */
}

.course_content .carousel-fade-container::after {
  right: 50px; /* This will now be the right edge of the .carousel-fade-container */
}

/* --- NEW: Left-side fade effect --- */
.carousel-fade-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -12px; /* Positioned on the left */
  width: 50px;
  height: 100%;
  /* Gradient fades from left to right */
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 9;
  
  /* Start hidden and add a smooth transition */
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.course_content .carousel-fade-container::before {
    left: 0px;
    width: 100px;
    transition: opacity 0.4s ease-in-out;
}

/* --- NEW: Class to make the left fade visible --- */
.carousel-fade-container.is-scrolled-left::before {
  opacity: 1;
}
/*.carousel-fade-container.is-at-start::before {
  opacity: 0;
}*/

.course-slider {
    display: flex;
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  position: relative;
  /*padding-top: var(--slider-py);
  padding-bottom: var(--slider-py);*/
  padding:50px 0 20px 0px;
    transition: padding-left 0.4s ease-in-out; /* Smoothly animates the padding change */
}

.course-slider {
  scrollbar-width: none;
}

/* For IE and Edge (legacy) */
.course-slider {
  -ms-overflow-style: none;
}

/* For Webkit-based browsers (Chrome, Safari, Edge, Opera) */
.course-slider::-webkit-scrollbar {
  display: none;
}

.course-slider {
    padding-left: 50px; /* This creates the initial 50px gap */
    /*padding-left: 0px; /* Removes the gap to allow content to bleed off */
}

.course-slider .course_list_item {
    width: 45.45%; /* ~2.2 items on mobile — matches itemsPerPage mobile: 2.2 */
}

.course_content .course-slider {
    padding-left: 38px; /* This creates the initial 50px gap */
    /*padding-left: 0px; /* Removes the gap to allow content to bleed off */
}

/*.course-slider::after {
  content: ""; 
  position: absolute;
  background-color: #E7EAF4;
    top: 0;
  right: 0;
  width: 30px; 
  height: 100%; 
  top: 0%;
  
}*/

.container-indicators {
  width: 100px;
  position: absolute;
  right: 0;
  /*top: calc(var(--slider-py) - 60px);*/
  visibility: hidden;
}
.indicator {
  width: 15px;
  height: 2px;
  background-color: grey;
  display: inline-block;
}
.indicator.active {
  background-color: white;
}

.course:hover {
    cursor: pointer;
} 

.course a{
    text-decoration:none;
}

.course-image{
    display:block;
    width: 100%;
  height: var(--course-image-height);
}

.course-image img {
  object-fit: cover;
  width: 100%;
  height: var(--course-image-height);
  border-radius: 10px;
  background-color: #f0f1f5;
}

.course-card-organisation-thumbnail{
    /*width: 80px;*/
    border-radius: 2px;
    position: absolute;
    left: 21px;
    bottom: 90px;
    background:#ffffff;
}

.course-card-organisation-thumbnail img{
    height:33px;
    border-radius: 2px;
}

.course-card-pills-container {
    position: absolute;
    left: 21px;
    top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px; /* Adds a small space between the pills */
    z-index: 2; /* This ensures the pills appear on top of the image */
}

.course-card-category-pill {
    /* The pill is now a flex item within the container, so we remove absolute positioning */
    position: relative; 
    left: auto;
    top: auto;
    border-radius: 2px;
    background: #EAF6FF;
    color: #0F3871;
}


.course-card-category-pill-hover {
    border-radius: 2px;
    background: #EAF6FF;
    color: #0F3871;
}

.expert-track-pill,
.course-card-category-pill-hover.expert-track-pill {
    background-image: linear-gradient(to right, rgba(255, 242, 204, 1), rgba(254, 235, 227, 1));
    color: rgba(88, 44, 12, 1);
    border: none;
}

.course-card-category-pill__description{
    /*width: 80%;*/
    border-radius: 2px;
    background:#EAF6FF !important;
    color:#0F3871;
   display: inline-flex;  /* Allows the span to size to its content & use flex for its children */
    align-items: center;   /* Vertically aligns the image and text within the span */
    align-self: flex-start;/* Prevents this span from stretching to the full width of its parent flex container */
    z-index:99999;
    position:absolute;
    top:10px;
    left:10px;

}

.course-card-category-pill img{
    height:15px; 
    margin:-2px 4px 0px 0px;

}

.course-card-category-pill__description img{
    height:15px; 
    margin:-2px 8px 0px 0px;

}

.description .course-card-pills-container {
    left: 21px;
    top: 22px;
    z-index:5;
}

.description-opens-left .course-card-pills-container {
    left: auto;
    right: -21px;
    width: 50%;
}

/* A container to position the tooltip relative to the pill */
.expert-track-tooltip-container {
    position: relative;
    display: inline-block;
}

/* The main tooltip box, hidden by default */
.expert-track-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 279px;
    background-color: #1E2532;
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 16px;
    position: absolute;
    z-index: 10;
    top: 125%; /* Position it above the pill */
    left: 50%;
    margin-left: -130px; /* Center the tooltip (half of its width) */
    transition: opacity 0.3s;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}


/* This is the new container for the SVG arrow, positioned above the tooltip */
.expert-track-arrow {
    position: absolute;
    width: 20px;
    height: 10px;
    top: -8px; /* Lifts the SVG so it sits just above the tooltip box */
    left: 50%;
    transform: translateX(-50%);
    line-height: 0; /* Prevents any extra whitespace around the SVG element */
}

/* 4. Show the tooltip when the container is hovered */
.expert-track-tooltip-container:hover .expert-track-tooltip {
    visibility: visible;
    opacity: 1;
}

/* 5. Style for the bold text inside the tooltip */
.expert-track-tooltip strong {
    font-weight: 600;
    color: #fff;
}


/* Base styling for each course card in the carousel */
.course {
  width: var(--course-width);
  height: var(--course-height);
  display: inline-block;
  position: relative;
  padding: 0 12px 0 12px;
  font-size: 0.8rem;
  transition: transform 0.3s ease-in-out;
  vertical-align:top;
  text-decoration:none;
  flex-shrink: 0;
  box-sizing: border-box;
}

.course-card-in-progress.course, 
.course-card-pagination.course{
    height: var(--course-height-pagination);
}

.course-card-in-progress.course .course-card-organisation-thumbnail, 
.course-card-pagination.course .course-card-organisation-thumbnail{
    bottom:140px;
}

/* Lifts the item on hover */
.course.is-hover-expanded {
    z-index: 10;
}

/* Hides the original card content when the overlay is active */
.course.is-hover-expanded .course-title,
.course.is-hover-expanded .course-card-organisation-thumbnail,
.course.is-hover-expanded .course-card-category-pill,
.course.is-hover-expanded .course-image {
  visibility: hidden;
}

/* The main description overlay panel */
.description {
    position: absolute;
    top: -12px;
    width: 200%;
    height: calc(100% + 30px);
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: rgba(15, 56, 113, 0.08) 0px 2px 4px -1px, rgba(15, 56, 113, 0.12) 0px 8px 20px -4px;
    filter: drop-shadow(rgba(15, 56, 113, 0.32) 0px 0px 1px);
    padding: 12px;
    box-sizing: border-box;
    z-index: 15;
    display: none; /* Initially hidden */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    align-items: flex-start;
    pointer-events: none;
}

/* JS adds this class to show the overlay */
.description.description-visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* Default overlay opens to the right */
.description.description-opens-right {
    left: 0;
    flex-direction: row; /* Default: image left, text right */
}

/* Edge item overlay opens to the left */
.description.description-opens-left {
    right: 0;
    left: auto;
    /* --- THIS IS THE KEY CHANGE --- */
    flex-direction: row-reverse; /* Reverses the order of children: text left, image right */
}

/*@media only screen and (min-width: 1400px) {

    .description-opens-left .course-card-pills-container {
        left: auto;
        right: 158px;
    }
}*/

/* Styles for the content *inside* the overlay */
@media only screen and (min-width: 992px) {
    /* Default layout for image area */
    .description .description-image-area {
        width: calc(50% - 12px);
        height: 100%;
        flex-shrink: 0;
        padding-right: 15px; /* Space on the right */
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        opacity: 0;
        /*transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        transition-delay: 0.25s;*/
    }

    /* Default layout for text container */
    .description .description__text-container {
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow-y: auto;
        padding-left: 15px; /* Space on the left */
        opacity: 0;
        /*transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        transition-delay: 0.25s;*/
    }

    /* --- NEW RULES TO SWAP PADDING FOR REVERSED LAYOUT --- */
    .description.description-opens-left .description__text-container {
        padding-left: 0; /* Remove left padding */
        padding-right: 15px; /* Add right padding */
    }

    .description.description-opens-left .description-image-area {
        padding-right: 0; /* Remove right padding */
        padding-left: 15px; /* Add left padding */
    }
    /* --- End of new rules --- */

    .description .description-image-area img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .description-image-area {
        position: relative;
        height: 100%;
        background-color: #f0f0f0;
        border-radius: 10px;
        overflow: hidden;
    }

    .description-image-area > img,
    .description-image-area > iframe.vzaar-player {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    .description-image-area > img {
        object-fit: cover;
        z-index: 1;
    }

    .description-image-area > iframe.vzaar-player {
        z-index: 2;
        border: none;
    }

    .description .description__text-container {
        width: 50%;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow-y: auto;
        height: 100%;
        padding-left: 15px;
        opacity: 0;
        transform: translateY(0px);
        /*transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        transition-delay: 0.25s;*/
    }

    .description .save-course-button-holder {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 15;
        opacity: 0;
        transform: translateY(0px);
        /*transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        transition-delay: 0.25s;*/
    }
    
    .description.description-opens-left  .save-course-button-holder {
        right: calc(50% + 10px);
    }

    .description .description-image-area.content-animate-in,
    .description .description__text-container.content-animate-in,
    .description .save-course-button-holder.content-animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    .description.description-opens-left .description__text-container {
        padding-left: 0;
        padding-right: 15px;
    }

    .course-card-organisation-image{
        height:25px;
        width:auto;
        max-width: 100%;
        align-self: flex-start;
    }

    .course-card-description-copy{
        font-size: 16px;
        line-height:20px !important;
    }
}



.description-image-area > img,
.course_video > img {
    object-fit: cover; /* For the placeholder image */
    z-index: 1;
}

.description-image-area > iframe.vzaar-player,
.course_video > iframe.vzaar-player {
    z-index: 2; /* Video on top of the placeholder when visible */
    border: none; /* Remove iframe border */
}

.video-loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex; /* Will be set by JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3; /* On top of image and video during loading */
    border-radius: 10px; /* Match image border-radius */
    pointer-events: none; /* Allow clicks through if needed, though it's temporary */
}

.video-loading-indicator span {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.video-loading-indicator .spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.btn-carousel {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  /*bottom: 0;*/
  background-color: rgba(239,242,248,1);
  outline: none;
  border: none;
  color: white;
  /*top: var(--slider-py);*/
  z-index: 5;
  /*visibility: hidden;*/
  margin-left:10px;
}

.btn-carousel:hover{
    
    background-color: rgba(217,222,235,1) !important;
    
}

/*.btn-carousel:disabled {
    background-color: rgba(239, 242, 248, 0.5) !important;
}
*/

.btn-carousel.carousel-start {
    background-color: rgba(247,249,252,1) !important;
}

.btn-carousel.carousel-start img{
   opacity: 0.7 !important;
}
.btn-carousel:active{
    margin-top:2px;

    width: 44px;
    height: 44px;
    background-color: rgba(190,196,212,1) !important;
    
}

.move-left:active {
  margin-right:2px;
}

.move-right:active {
  margin-left:12px !important;
  margin-right:2px;
}

@media only screen and (max-width: 767px) {
  .btn-carousel {
    display: none;
  }
}


@media only screen and (min-width: 992px) {
  .container:hover .btn-carousel,
  .container:hover .container-indicators {
    visibility: visible;
  }

}

/*Star Ratings*/
.star-rating-widget {
    --star-size: 24px;
    --star-gap: 0px;
    --star-count: 5;
    --star-filled-color: #F9BA44;
    --star-empty-fill-color: #E7EAF4;
    --star-empty-stroke-color: transparent; /* Set to transparent to remove the border */
    --star-stroke-width: 1px;               /* This can remain, but stroke color being transparent hides it */
}

@media (min-width: 992px) {
    .star-rating-widget {
        --star-size: 16px;
        --star-gap: 0px;
        --star-count: 5;
        --star-filled-color: #F9BA44;
        --star-empty-fill-color: #E7EAF4;
        --star-empty-stroke-color: transparent; /* Set to transparent to remove the border */
        --star-stroke-width: 1px;               /* This can remain, but stroke color being transparent hides it */
    }
    .rating-text-info {
        font-size:14px !important;
    }
}

@media (min-width: 1200px) {
    .star-rating-widget {
        --star-size: 22px;
        --star-gap: 0px;
        --star-count: 5;
        --star-filled-color: #F9BA44;
        --star-empty-fill-color: #E7EAF4;
        --star-empty-stroke-color: transparent; /* Set to transparent to remove the border */
        --star-stroke-width: 1px;               /* This can remain, but stroke color being transparent hides it */
    }
    .rating-text-info {
        font-size:16px !important;
    }
}

@media (min-width: 1400px) {
    .star-rating-widget {
        --star-size: 24px;
        --star-gap: 0px;
        --star-count: 5;
        --star-filled-color: #F9BA44;
        --star-empty-fill-color: #E7EAF4;
        --star-empty-stroke-color: transparent; /* Set to transparent to remove the border */
        --star-stroke-width: 1px;               /* This can remain, but stroke color being transparent hides it */
    }
    .rating-text-info {
        font-size:18px !important;
    }
}

.star-rating-widget {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.stars-display-area {
    position: relative;
    display: inline-block;
    height: var(--star-size);
    width: calc(var(--star-size) * var(--star-count));
}

.stars-background,
.stars-foreground-clipper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
}

.stars-foreground-clipper {
    overflow: hidden;
}

.stars-foreground {
    display: flex;
    min-width: 100%;
}

.star-icon {
    width: var(--star-size);
    height: var(--star-size);
    flex-shrink: 0;
}

/* Style for background (empty) stars */
.stars-background .star-icon {
    fill: var(--star-empty-fill-color);
    stroke: var(--star-empty-stroke-color); /* This will now be transparent */
    stroke-width: var(--star-stroke-width);
}

/* Style for foreground (filled) stars */
.stars-foreground .star-icon {
    fill: var(--star-filled-color);
    stroke: var(--star-filled-color); /* Stroke same as fill for a solid look */
    stroke-width: var(--star-stroke-width);
}

.rating-text-info {
    margin-left: 10px;
    display: flex;
    align-items: baseline;
    color: #828BA2;
    font-size:16px;
}

.rating-text-info .rating-value {
    font-weight: 400;
    /*font-size: 1.1em;*/
    margin-right: 5px;
    color: #000;
}

.rating-text-info .dot {
    margin-right: 5px;
}
/*.rating-text-info .review-count {
    
    color: #828BA2;
}*/

/* =================================================================== */
/* MODIFICATION: Styles for Progress Donut Chart and In-Progress Cards */
/* =================================================================== */

.progress-donut-container {
    position: absolute;
    top: 10px;
    left: 15px; /* MODIFICATION: This moves the donut to the top-left */
    width: 52px;
    height: 52px;
    /*background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 50%;
    padding: 4px;
    box-sizing: border-box;
    backdrop-filter: blur(2px);
}

.progress-donut {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* The CSS variable --progress-percent will be set by JavaScript */
    background: conic-gradient(
        #339D5D 0% var(--progress-percent, 0%), 
        #EFF2F9 var(--progress-percent, 0%) 100%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /*box-shadow: 0 0 5px rgba(0,0,0,0.1); /* Soft shadow for depth */
}

/* This pseudo-element creates the "hole" in the middle of the donut */
.progress-donut::before {
    content: '';
    position: absolute;
    width: 75%; /* Adjust for desired donut thickness */
    height: 75%;
    background: #fff;
    border-radius: 50%;
}

.progress-donut-value {
    position: relative; /* Ensures the text is on top of the ::before pseudo-element */
    z-index: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1E2532;
}

/* New class for the in-progress card to adjust layout */
.course-card-in-progress .course-title {
    display: flex;
    flex-direction: column;
    /*height: 144px; /* Fixed height to align elements at the bottom */
}

.course-card-in-progress .course-title h4 {
    margin-bottom: 10px; /* Space between title and summary */
}
.course-card-in-progress .course-title .course-summary {
    flex-grow: 1; /* Takes up remaining space */
    display: flex;
    align-items: flex-end; /* Aligns the summary text at the bottom */
}


/* Ensure the donut chart in the hover state is positioned correctly */
.description .progress-donut-container {
    z-index: 999; /* Make sure it appears on top of the description image */
}


/* ---Search Results Page --- */

/* Class added to the .course element when it's hovered for overlay effect */
.course.course-item-is-overlaying {
    /* The .course element itself does NOT change width in flow for overlay */
    z-index: 20; /* Ensure this course item's context is above siblings for its overlay */
}

/* Styles for the .description div when it's acting as an overlay */
.course .description.overlay-active {
    position: absolute !important; 
    /*top: 0 !important;
    /*left: 0 !important;*/
    /* `width` and `height` and `left` will be set by JavaScript */
    
    background-color: #ffffff !important;
    border-radius: 12px !important; 
    box-shadow: 0px 8px 20px -4px rgba(15, 56, 113, 0.12),
                0px 2px 4px -1px rgba(15, 56, 113, 0.08),
                0px 0px 1px 0px rgba(15, 56, 113, 0.32) !important; 
    
    z-index: 100 !important; 
    
    padding: 12px !important; 
    box-sizing: border-box !important;

    /* ADD THIS: Make it display as flex so it's in the layout flow */
    display: flex !important; 
    
    /* Transition for the overlay panel itself - let's make opacity and transform duration consistent */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out !important; 
    opacity: 0; /* STARTING STATE for fade-in: transparent */
    transform: scale(0.95); /* Start slightly smaller */
    pointer-events: none; /* Initially no pointer events */
}

/* When overlay is active AND .description-visible is added by JS */
.course.course-item-is-overlaying .description.overlay-active.description-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto; /* Enable interaction */
}

/* Hide original course parts (image, title etc. directly under .course) when its description is overlaying */
.course.course-item-is-overlaying > .course-image,
.course.course-item-is-overlaying > .course-card-category-pill,
.course.course-item-is-overlaying > .course-card-organisation-thumbnail,
.course.course-item-is-overlaying > .course-title {
    visibility: hidden !important;
}

/* Adjustments for content inside the overlayed description */
/* Ensure image and text areas take up appropriate space and their animations work */
.course .description.overlay-active .description-image-area {
    /* width: 50%; /* This is often set by existing responsive CSS */
    height: 100% ; /* Full height of description minus its vertical padding */
    /* opacity, transform, transition for content-animate-in are handled by existing JS/CSS */
}
.course .description.overlay-active .description-image-area img {
   height: 100%; /* Make image fill the new height of description-image-area */
}

.course .description.overlay-active .description__text-container {
    /* width: 50%; /* This is often set by existing responsive CSS */
    height: 100%; 
    overflow-y: auto; /* Allow scrolling if text content is long */
    /* opacity, transform, transition for content-animate-in are handled by existing JS/CSS */
}

/* Ensure child content animation triggers correctly when overlay is visible */
.course .description.overlay-active.description-visible .description-image-area.content-animate-in,
.course .description.overlay-active.description-visible .description__text-container.content-animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {

    .course-card-in-progress .product-summary {
        margin-top: auto; /* Pushes the summary to the bottom of the flex container */
    }
}

/*Course Page*/


.small_screen_cta_container .btn{
    height:48px !important;
    padding:10px 0;
    font-weight: 500;
}

.course-card-category-pill__course{
    /*width: 80%;*/
    border-radius: 2px;
    background:#EAF6FF !important;
    color:#0F3871;
   display: inline-flex;  /* Allows the span to size to its content & use flex for its children */
    align-items: center;   /* Vertically aligns the image and text within the span */
    align-self: flex-start;/* Prevents this span from stretching to the full width of its parent flex container */
    z-index:99999;
    margin: 22px 0 18px 0;

}

.course-card-category-pill__course img{
    height:15px; 
    margin:-2px 8px 0px 0px;

}

.course-page-icon{
    width:24px;
    text-align:center;
    float:left;
    height: 24px;
    margin-right: 5px;
}

.course-page-icon img{
    height:24px
    
}


.course-page-icon.sml-icon img{
    height:20px
    
}
.course-page-icon-text{
    padding-left:29px;
}

.course_video img {
    width: 100%;
    height: calc(var(--course-height) - 30px);

    object-fit: cover;
    border-radius: 10px;
}

.course_video {
    position: relative; 
    height: calc(var(--course-height) - 30px); /* From your existing CSS for the image */
    background-color: #f0f0f0; /* Fallback background, image/video will cover */
    border-radius: 10px; /* Match image border-radius */
    overflow: hidden; /* To "crop" content if Vzaar player doesn't perfectly fit and overflows */
}

.description-image-area > img,
.description-image-area > iframe.vzaar-player,
.course_video > img,
.course_video > iframe.vzaar-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px; /* Ensure consistency */
}

.nav-link{
    
    color:#828BA2;
}

.nav-link:hover{
    color:rgba(25, 145, 240, 1) !important;

}

.nav-link.active{
    color:#1E2532 !important;
}

.course-information-tabs .nav-link {
    border-bottom:none;
    border-top:none;
    border-left:none;
    border-right:none;
    padding-left:0px; 
    font-size:17px;
    border-radius:0;
    color:#303848;
}
.course-information-tabs .nav-link:hover{
     color:rgba(25, 145, 240, 1) !important;
}

/* --- START: 16:9 Video Aspect Ratio Rules --- */

/*
 * Rule 1: Targets the main video on the course page.
 * This uses the "padding-top" method to create a responsive 16:9 container.
 * It will automatically apply to the desktop view and the mobile snackbar view.
*/
#course_video {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* This percentage creates the 16:9 ratio */
    background-color: #f0f0f0;
}

/*
 * Rule 2: Makes the video player (iframe) and the placeholder image
 * fill the space created by the rule above.
*/
#course_video img,
#course_video > iframe.vzaar-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
 * Rule 3: Targets the video area in the hover-over popups in carousels.
 * It uses the modern `aspect-ratio` property, which works best in this flexbox layout.
 * We also override the original fixed height.
*/
#course_right_column .description-image-area {
    aspect-ratio: 16 / 9;
    height: auto !important;
}

/*
 * Rule 4 & 5: Adjusts the hover-over popup container so the text column
 * correctly aligns with the new height of the video column.
*/
#course_right_column .description {
    align-items: stretch; /* Makes both columns equal height */
    height: auto;
}

#course_right_column .description__text-container {
    height: auto; /* Allows the text area to shrink or grow as needed */
}

/* --- END: 16:9 Video Aspect Ratio Rules --- */

/* --- START: Video Snackbar for Mobile --- */
@media (max-width: 991px) {

  /* 
    This is the key fix. By resetting the transform on the parent container,
    we prevent it from creating a new "stacking context" that would otherwise
    trap our position:fixed element.
  */
  #course_information {
    transform: none !important;
  }

  /*
    On smaller screens, we take the right column out of the document flow
    and transform it into a fixed "snackbar" at the bottom of the screen.
  */
  #course_right_column {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    width: auto; /* Let the content define the width */
    height: auto !important;
    z-index: 1050; /* Make sure it's on top of other content */
    
    /* Override Bootstrap column styles that are not needed for a fixed element */
    padding-left: 0;
    padding-right: 0;
  }

  /* The sticky container inside becomes the main visual block for the snackbar */
  #course_right_column #course_sticky {
    width: 340px; /* A good width for a video snackbar */
    max-width: 90vw; /* Ensure it doesn't overflow on very small screens */
    border-radius: 12px;
    overflow: hidden; /* This is crucial to make child elements respect the border-radius */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

  /* We don't need the large "Join Course" and "Save Course" buttons in the snackbar view */
  #course_right_column #course_sticky > .row.mb-5 {
    display: none;
  }

  /* The video holder is already position-relative, which is perfect for adding a close button */
  #course_right_column #course_video_holder {
    margin-bottom: 0 !important; /* Remove the original bottom margin */
  }
  
  /* This styles the *real* close button that the JavaScript adds. */
  .video-snackbar-close-btn {
    /* Positioning */
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 20;

    /* Appearance */
    width: 32px;
    height: 32px;
    background-color: rgba(255,255,255,1);
    color: rgba(15, 20, 30, 1);
    border: 1px solid rgba(15, 56, 113, 0.18);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;

    /* Flexbox for perfect centering of the '×' */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-bottom: 0px; /* Optical adjustment for the 'x' */
    line-height: 1;
    transition: background-color 0.2s;
  }
  
  .video-snackbar-close-btn:hover {
      background-color: rgba(239, 242, 249, 1);
  }


    #small_screen_cta_container.cta-fixed-bottom {
        /* --- Core Positioning --- */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0; /* Use left: 0 and right: 0 to allow margin: auto to work */

        /* --- Centering and Width Constraints (The Fix) --- */
        margin: 0 auto !important; /* Centers the container horizontally */
        max-width: 100%;       /* Default for extra-small screens */

        /* --- Visual Styling (from your original code) --- */
        background: #FFFFFF;
        padding: 1rem;
        box-shadow: 0 -30px 30px rgba(255, 255, 255, 1);
        z-index: 1000;

        /* --- Reordering (from previous step) --- */
        flex-direction: row-reverse;
    }

    /* For small devices (tablets, 576px and up) */
      @media (min-width: 576px) {
        #small_screen_cta_container.cta-fixed-bottom {
          max-width: 540px;
        }
      }

      /* For medium devices (desktops, 768px and up) */
      @media (min-width: 768px) {
        #small_screen_cta_container.cta-fixed-bottom {
          max-width: 720px;
        }
      }

    #course_right_column {
        position: fixed !important;
        bottom: 20px;
        right: 20px;
        width: auto; /* Let the content define the width */
        height: auto !important;
        z-index: 1050; /* Make sure it's on top of other content */
        
        /* Override Bootstrap column styles that are not needed for a fixed element */
        padding-left: 0;
        padding-right: 0;

        /* ADD THIS LINE for smooth animation */
        transition: bottom 0.3s ease-in-out;
    }

}

@media (max-width: 767px) {
  /*
    On very small screens, we make the video snackbar
    even more compact to save screen space.
  */
    .search-form .btn {
        height: 48px !important;
        padding-top: 12px;
        font-size: 16px;
    }

    .course-slider {
        padding: 20px 0 20px 50px;
    }

    .course-slider .course_list_item {
        width: 25%; /* 4 items on desktop — matches itemsPerPage desktop: 4 */
        box-sizing: border-box;
    }
    .course-image img {
        aspect-ratio: 16 / 9;
        
    }

}

@media (max-width: 575px) {
  /*
    On very small screens, we make the video snackbar
    even more compact to save screen space.
  */
    
  /* Target the main visual block of the snackbar to make it narrower */
  #course_right_column #course_sticky {
    width: 260px;
  }

  /* Target the video container and its content to reduce their height */
  #course_video,
  #course_video img,
  #course_video > iframe.vzaar-player {
    /* This height maintains a 16:9 aspect ratio with the new 260px width */
    height: 146px;
  }

  /* Slightly adjust the close button for the smaller snackbar size */
  .video-snackbar-close-btn {
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
  }

  /* Optional: a smaller icon inside the close button */
  .video-snackbar-close-btn img {
    width: 20px;
  }
}
/* --- END: Video Snackbar for Mobile --- */


/* --- Modal Styles --- */
#upgrade-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 32, 49, 0.85);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
    /*backdrop-filter: blur(8px);*/
    opacity: 1;
    transition: opacity 0.3s ease;

  z-index: 1051;
}

#upgrade-modal-overlay.upgrade-modal-hidden {
    opacity: 0;
    pointer-events: none;
}

#upgrade-modal-content {
    background-color: #1E2532;
    color: #FFFFFF;
    border-radius: 16px;
    width: 90%;
    max-width: 580px;
    padding: 24px 0 0 0 ;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /*border: 1px solid #4a4e69;*/
}

#upgrade-modal-not-now-btn{
    border-radius:5px;
}
.modal-buttons{
    height:48px;
    padding: 0 20px;
    font-weight: 500;
}
.modal-light{
    background-color:#ffffff !important;
}
.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #ffffff;
    color: #1E2532;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index:999;
}
.modal-light .close-button{
    background-color:#EFF2F9 !important;
    color:#828BA2 !important;
}

.close-button:hover {
    background-color: #6c7192 !important;
    color:#ffffff !important;
}



/* --- Header & Logo --- */
.modal-header {
    display:block;
    text-align: center;
    margin-bottom: 24px;
    padding:0 24px;

}
.modal-header p {
    font-size: 14px;
    letter-spacing: 1.6px;
    color: #ffffff;
    font-weight:600;
    margin-bottom: 8px;
}
.futurelearn-logo {
    filter: brightness(0) invert(1);
}

/* --- Logo Scroller Animation --- */
.logo-scroller {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    background-color: #1E2532;
    background-image: url('../images/modal-bg.png');
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position-x: center;
    background-position-y: top;
    backgrouns-size:cover;
}

.logo-track {
    display: flex;
    width: calc(200px * 8); /* 200px per item * 8 items */
}
.logo-item {
    width: 180px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right:10px;
    background:#ffffff;
    border-radius:40px;
}
.logo-item img {
    max-width: 130px;
    max-height: 40px;
    /*filter: brightness(5); /* Makes logos look white */
    opacity: 1;
}

.top-track {
    animation: scroll-left 40s linear infinite;
}
.bottom-track {
    margin-top: 10px;
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}


/* --- Modal Body & Features --- */
.modal-body {
    text-align: left;
    padding:24px 24px 0 24px;
    background:#ffffff;
}
.modal-body h2 {
    
    font-weight: 600;
    margin-bottom: 12px;
}
.modal-body  .modal-description {
    font-size: 19px;
    color: #ced4da;
    line-height: 24px;
    margin: 0 auto ;
}

.features-list-container {
    background-color: #F7F9FC;
    padding: 20px;
    text-align: left;
}
.features-title {
    font-size: 14px;
    font-weight: 600;
    color: #1E2532;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.features-list-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.features-list-container li {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 12px;
    color: #1E2532;
}
.features-list-container li:last-child {
    margin-bottom: 0;
}
.checkmark {
    color: #28a745;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

/* --- Footer & Buttons --- */
.modal-footer {
    display: flex;
    gap: 12px;
    padding:32px 24px 24px 24px;
    background:#ffffff;
    border-radius: 0 0 16px 16px;
}
.modal-footer .btn-secondary,
.modal-footer .btn-primary {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.modal-footer .btn-secondary {
    background-color: #4a4e69;
    color: #FFF;
    border: 1px solid #6c7192;
}
.modal-footer .btn-secondary:hover {
    background-color: #6c7192;
}
.modal-footer .btn-primary {
    background-color: #2a63f6;
    color: #FFF;
}
.modal-footer .btn-primary:hover {
    background-color: #1a53e6;
}
.upgrade-icon {
    margin-right: 8px;
}


/* ======================================================= */
/* == START: UPGRADE MODAL MOBILE SLIDE-UP (< 575px) ===== */
/* ======================================================= */

@media (max-width: 575px) {

    /* This class is added to the body via JS to prevent page scrolling */
  body.upgrade-modal-open-mobile {
    overflow: hidden;
  }

  /* Reposition the main modal container to the bottom of the screen */
  #upgrade-modal-content {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%; /* Override the desktop max-width */
    margin: 0;
    border-radius: 16px 16px 0 0; /* Add rounded corners to the top */

    /* Animation: Start off-screen at the bottom */
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* When the modal is active, slide it into view from the bottom */
  #upgrade-modal-overlay:not(.upgrade-modal-hidden) #upgrade-modal-content {
      transform: translateY(0);
  }

  /* Make the content area inside the modal scrollable if it's too tall */
  #upgrade-modal-content .modal-body {
      max-height: 50vh; /* You can adjust this value */
      overflow-y: auto;
  }

  /* Styles for the slide-up handle */
  #upgrade-modal-content .fl-filter-handle {
    display: block; /* Make the handle visible on mobile */
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
  }
  
  .upgrade-modal-no-name .fl-filter-handle {
        background-color: #BEC4D5 !important;
    }
  /* --- NEW: Styles for the stacked footer buttons --- */
  #upgrade-modal-content .modal-footer {
    /* This changes the layout from side-by-side to stacked vertically.
       'column-reverse' cleverly puts the second button in the HTML (Upgrade) on top. */
    flex-direction: column-reverse; 
  }

  #upgrade-modal-content .modal-footer .btn {
      width: 100%; /* Make both buttons take the full width of the container */
  }


    .logo-item {
        width: 130px;
        height: 60px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right:20px;
        background:#ffffff;
        border-radius:40px;
    }
    .logo-item img {
        max-width: 100px;
        max-height: 40px;
        /*filter: brightness(5); /* Makes logos look white */
        opacity: 1;
    }
}


/* Search Filter */
#search_filter_container {
    background-color: #ffffff;
    padding: 0; /* Body will have padding */
    /* Keep other existing #search_filter_container styles like position, z-index, etc. */
}

.visually-hidden-input {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; /* For Sighted Keyboard Users (some screen readers) */
}

.fl-filter-body {
    padding: 10px 20px 60px 20px; /* Added bottom padding for potential sticky footer/button */
    overflow-y: auto;
    height: 50vh ; /* Adjust if you have a top navbar; 50px is an example for a filter button area */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.fl-filter-body::-webkit-scrollbar {
    display: none;
}

@media only screen and (min-width: 992px) {
  .fl-filter-body {
        padding: 10px 20px 60px 20px; /* Added bottom padding for potential sticky footer/button */
        overflow-y: auto;
        height: calc(100vh - 150px); /* Adjust if you have a top navbar; 50px is an example for a filter button area */
    }

}

/* Clear All button next to the main filter button */
.fl-clear-all-btn-external{
    color: #ff0000; /* Blue color like in screenshot */
    text-decoration: none;
    font-size: 1rem; /* Match "Filters" button size */
    font-weight: 500; /* Match "Filters" button weight */
    padding: 0.375rem 0.75rem; /* Similar padding to a btn-link or adjust as needed */
    vertical-align: middle;
    display: none; /* Initially hidden */
    border:none;
}
.fl-apply-btn-external{
    color: #1a91f0; /* Blue color like in screenshot */
    text-decoration: none;
    font-size: 1rem; /* Match "Filters" button size */
    font-weight: 500; /* Match "Filters" button weight */
    padding: 0.375rem 0.75rem; /* Similar padding to a btn-link or adjust as needed */
    vertical-align: middle;
    display: none; /* Initially hidden */
    border:none;
}
.fl-clear-all-btn-external:hover {
    text-decoration: underline;
}


/* Accordion Styling - Mostly as before */
.fl-accordion-item {
    border-bottom: 1px solid #e9ecef;
}
.fl-accordion-item:last-child {
    border-bottom: none;
}
.fl-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0; /* Increased padding */
    cursor: pointer;
}
.fl-accordion-header h6 {
    margin: 0;
    font-size: 1.1rem; /* "Topic" */
    font-weight: 500;
    color: #212529;
}
.fl-accordion-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}
.fl-accordion-header.open .fl-accordion-arrow {
    transform: rotate(180deg);
}
.fl-accordion-content {
    overflow-y: auto;
    max-height: 0;
    -ms-overflow-style: none; /* IE and Edge scrollbar hide */
    scrollbar-width: none; /* Firefox scrollbar hide */
    position: relative; /* This is required for virtual list items */
    transition: max-height 0.3s ease-out;
}
.fl-accordion-content::-webkit-scrollbar {
    display: none; /* Chrome/Safari scrollbar hide */
}
.fl-virtual-list-wrapper {
    position: relative;
    overflow: hidden;
}

/* Filter Options Styling - MODIFIED */
.form-check { /* This will be the container for label + custom checkmark area */
    display: flex; /* Use flex to align label and custom checkmark holder */
    justify-content: space-between; /* Label left, checkmark holder right */
    align-items: center;
    padding: 10px 0; /* Vertical padding for each option */
    margin-bottom: 0;
    cursor: pointer; /* Make the whole row clickable */
}

.form-check-label {
    font-size: 1rem; /* e.g., "Science, Engineering & Maths" */
    color: #333; /* Default text color */
    flex-grow: 1; /* Label takes available space */
    margin-right: 10px; /* Space between label text and the checkmark image */
    display: flex; /* If org image is part of label */
    align-items: center; /* If org image is part of label */
}

.form-check-input.visually-hidden-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none; /* So clicks go to the label */
}

.filter-checkmark {
    width: 20px; /* Adjust size of your checkmark SVG */
    height: 20px;
    display: none; /* Hidden by default, shown when item is selected */
    margin-left: auto; /* Pushes to the right if label is not fully space-between */
    flex-shrink: 0; /* Prevent shrinking */
}

.selected-filter-label .filter-checkmark { /* Or target .filter-checkmark directly if structure is different */
  /* This rule might not be strictly necessary if JS handles all visibility,
     but can be a good fallback or default styling approach.
     For this JS-driven solution, we'll primarily rely on inline styles. */
}

/* Label styling when its corresponding (hidden) input is checked OR "All" option is selected */
.form-check-label.selected-filter-label {
    color: #1a91f0; /* Blue color */
    font-weight: 500;
}
.form-check-label.selected-filter-label .filter-checkmark {
    display: inline-block !important; /* Ensure it shows */
}

/* Specific styling for the "All options" radio button's label */
.filter-group-all-option .form-check-label {
    /* Default state for "All" is often selected */
   /* color: #1a91f0; */ /* Style applied by JS if checked */
   /* font-weight: 500; */
}
.filter-group-all-option .form-check-label .filter-checkmark {
   /* display: inline-block; */ /* Displayed by JS if checked */
}


.fl-show-more-btn {
    background: none;
    border: none;
    color: #1a91f0;
    padding: 12px 0px; /* Match option padding */
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.95rem; /* Slightly smaller */
    font-weight: 500;
}
.fl-show-more-btn img {
    width: 12px;
    height: 12px;
    margin-right: 6px;
}
.fl-show-more-btn:hover {
    text-decoration: underline;
}

#search_filter_container.fl-filter-sticky {
  position: fixed;
  z-index: 1000; /* Ensures it's above content but can be below other headers if needed */
  overflow-y: auto; /* Allows the filter content to scroll if it's taller than the screen */
}

.fl-accordion-title-container {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between title and selected items */
    overflow: hidden; /* Prevent long text from breaking layout */
    flex-grow: 1; /* Allow container to take up space */
}

.fl-accordion-header h6 {
    flex-shrink: 0; /* Prevent the title from shrinking */
}

.fl-accordion-selected-filters {
    color: #828BA2; /* Grey text color from screenshot */
    font-size: 1rem;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: none; /* Hidden by default */
}

/* Show the text only when the accordion is CLOSED and has a selection */
.fl-accordion-header:not(.open) .fl-accordion-selected-filters.has-selection {
    display: inline;
}

/* --- START: Mobile Filter Bottom Sheet --- */

/* This is the dark overlay that covers the page content */
.fl-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Below the filter panel but above content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.fl-filter-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s 0s;
}

/* This class is added to the <body> to prevent background scrolling when the filter is open */
body.fl-filter-mobile-open {
    overflow: hidden;
}

/* Hide the new mobile-specific header/footer on desktop by default */
.fl-filter-header-mobile,
.fl-filter-footer-mobile {
    display: none;
}

/* Styles that apply ONLY on screen sizes 991px and smaller */
@media (max-width: 991px) {
    /* This class will be added via JS to the filter container for the mobile view */
    #search_filter_container.mobile-filter {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 90vh; /* So it doesn't cover the entire screen */
        background-color: #ffffff;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
        z-index: 1045; /* Above the overlay */
        display: flex;
        flex-direction: column;

        /* Start off-screen at the bottom */
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
    }

    #search_filter_container.mobile-filter.active {
        transform: translateY(0);
        visibility: visible;
    }

    /* Important override for Bootstrap's .d-none class */
    #search_filter_container.mobile-filter.d-none {
        display: flex !important;
    }

    /* Make the mobile header and footer visible */
    #search_filter_container.mobile-filter .fl-filter-header-mobile,
    #search_filter_container.mobile-filter .fl-filter-footer-mobile {
        display: flex; /* Use flex for alignment */
    }

    .fl-filter-header-mobile {
        display: block; /* Override flex for simpler centering */
        padding: 16px;
        text-align: center;
        position: relative;
        flex-shrink: 0; /* Prevent header from shrinking */
    }
    
    .fl-filter-header-mobile .fl-filter-handle {
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 25px;
        height: 4px;
        background-color: #BEC4D5;
        border-radius: 2px;
    }

    .fl-filter-header-mobile h5 {
        margin: 12px 0 0 0;
        font-size: 23px;
        font-weight: 500;
        color: #1E2532;
        width:100%;
    }

    .fl-accordion-header h6 {
        font-size: 23px;
    }

    .form-check-label {
        font-size: 19px;
    }

    .fl-filter-footer-mobile {
        gap: 16px;
        padding: 16px;
        border-top: 1px solid #e9ecef;
        background-color: #fff;
        flex-shrink: 0;
    }

    .fl-filter-footer-mobile .btn {
        flex: 1; /* Both buttons take equal space */
        /*font-size: 1rem;
        padding: 12px;*/
        border-radius: 4px;
        font-weight:500;
    }
    
    /* Adjust the filter body to be scrollable */
    #search_filter_container.mobile-filter .fl-filter-body {
        overflow-y: auto;
        flex-grow: 1; /* Body takes up remaining space */
        padding: 0 20px 20px 20px;
        height: auto; /* Override fixed height from desktop JS */
        border-top: 1px solid #e9ecef;
    }
    
    /* Hide desktop-specific elements on mobile */
    .btn-filter-container .fl-clear-all-btn-external {
        display: none !important;
    }

    /* Prevent desktop sticky behavior on mobile */
    #search_filter_container.fl-filter-sticky {
        position: relative;
        width: auto !important;
        left: auto !important;
        top: auto !important;
    }

    #top_picks_nav.offset-lg-3 {
        margin-left: 0 !important;
    }
}

@media (max-width: 575px) {
    

    .fl-filter-header-mobile h5 {
        font-size: 19px;
    }

    .fl-accordion-header h6 {
        font-size: 19px;
    }

    .form-check-label {
        font-size: 16px;
    }

    .form-check { /* This will be the container for label + custom checkmark area */
        padding: 5px 0; /* Vertical padding for each option */
    }


}
/* --- END: Mobile Filter Bottom Sheet --- */


/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    bottom: -100px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    background-color: #1E2532;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px; /* User updated this */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1070;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    box-sizing: border-box;

    /* Initial state: fully hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out,
                bottom 0.4s ease-in-out,
                visibility 0s linear 0.8s; /* Delay visibility:hidden by 0.8s */
}

.toast-notification.show {
    bottom: 20px; /* Final position from the bottom */
    opacity: 1;
    visibility: visible; /* Make it visible */
    transition-delay: 0s; /* Applies 0s delay to opacity, bottom, AND visibility transitions when .show is added */
}

/* The rest of your CSS remains the same */
.toast-notification .toast-message {
    margin-right: 10px;
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
}

.toast-notification .toast-divider {
    width: 1px;
    background-color: #495163;
    align-self: stretch;
    margin-top: -12px;
    margin-bottom: -12px;
    margin-left: 10px;
    margin-right: 10px;
}

.toast-notification .toast-view-all {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 10px;
}

.toast-notification .toast-view-all:hover {
    color: #ffffff; /* User updated this, was #BACFFD */
    text-decoration: underline;
}

@media (max-width: 991px) {
    .toast-notification {
        min-width:500px;
    }

}


@media (max-width: 575px) {
    

  /* The main container is now a column, aligning items to the start (left) */
  .toast-notification {
    flex-direction: column;
    align-items: flex-start; /* Default alignment for children is left */
    padding: 16px;
    width:90%;
    min-width:335px;
  }

  /* Ensure the message takes the full width and its text is left-aligned */
  .toast-notification .toast-message {
    width: 100%;
    text-align: left;
  }

  /* The divider is not needed in the vertical layout */
  .toast-notification .toast-divider {
    display: none;
  }

  /* The "View all" link gets space above it and is aligned to the right */
  .toast-notification .toast-view-all {
    margin-top: 12px;
    margin-left: 0; /* Reset any horizontal margin */
    align-self: flex-end; /* This moves the button to the right */
  }
}

/* User Credentials Popup */
.user-popup-container {
    position: absolute;
    top: 69px;
    right: 40px;
    background-color: #fff;
    box-shadow: rgba(15, 56, 113, 0.32) 0px 0px 1px 0px, rgba(15, 56, 113, 0.02) 0px 6px 8px -2px, rgba(15, 56, 113, 0.18) 0px 16px 64px -8px;
        margin: 0px;
    width: 352px;
    border-radius: 16px;
    z-index: 1050;
    padding: 4px 4px; /* Padding is applied to inner elements */
    /*display: none; /* Initially hidden */
    transform-origin: top right;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s , opacity 0.3s;
  pointer-events: none;
}

.user-popup-container.show {
    /*display: block;*/
    transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.user-popup-container:not(.show) {
  transition: none;
}

.user-popup-header {
    padding: 21px 16px 0px 16px;
     margin-bottom:5px;
}

.user-popup-header .user-popup-name {
    font-size: 23px;
    line-height: 28px;
    font-weight: 500;
    color: rgb(15, 20, 30);
    margin:0 3px 2px 0;
}

.user-popup-header .user-popup-email {
    font-size: 19px;
    line-height: 24px;
    color: rgb(130, 139, 162);
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom:20px;
}

.user-popup-divider {
    border: 0;
    border-bottom: 1px solid rgb(231, 234, 244);
}

.user-popup-menu {
    list-style: none;
    padding: 0px 8px;
    margin: 12px 0 8px 0;
}

.user-popup-menu li a {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    text-decoration: none;
    color: #1E2532;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    font-size:19px;
    margin-top:2px;
    margin-bottom:3px;
}

.user-popup-menu li a:hover {
        background: rgb(247, 249, 252);
}

.user-popup-menu li a img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* ======================================================= */
/* == START: Mobile Bottom Navigation Bar              ===== */
/* ======================================================= */

/* Add padding to the body on mobile to prevent content from being hidden by the fixed nav bar */
@media (max-width: 767px) {
  body {
    padding-bottom: 75px; /* Adjust this value to match the nav bar's height + buffer */
  }
}

/* The main container for the bottom navigation bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px; /* Height of the nav bar */
  background-color: #FFFFFF;
  border-top: 1px solid #E7EAF4;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000; /* Ensure it's on top of other content */
}

/* Individual tab items */
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #828BA2; /* Default text color for inactive tabs */
  flex-grow: 1; /* Each item takes equal space */
  position: relative;
  height: 100%;
}

/* The text label for each tab */
.bottom-nav-text {
  font-size: 12px;
  font-weight: 500;
  /*margin-top: 4px;*/
}

/* Container for the icon */
.bottom-nav-icon-wrapper {
  height: 24px;
  width: 24px;
  position: relative;
}

/* Styling for the blue underline on the active tab */
.bottom-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  margin-top:-1px;
  background-color: rgba(25, 145, 240, 1);
}

/* Change text color for the active tab */
.bottom-nav-item.active .bottom-nav-text {
  color: #1991F0;
}

/* --- Icon visibility control --- */
.bottom-nav-item .active-icon {
    display: none; /* Hide active icons by default */
}
.bottom-nav-item .inactive-icon {
    display: block; /* Show inactive icons by default */
}

/* When a tab is active, hide its inactive icon and show its active icon */
.bottom-nav-item.active .inactive-icon {
    display: none;
}
.bottom-nav-item.active .active-icon {
    display: block;
}

/* ======================================================= */
/* == END: Mobile Bottom Navigation Bar                ===== */
/* ======================================================= */

/*overwrites*/

.border-0{
    border: none !important;
}

/*Filters*/
/*.search-filters {
  overflow-x: scroll;
  overflow-y: visible;
}
.search-filters::-webkit-scrollbar {
    display: none;
}*/

@media (min-width: 992px) {


    /*Typography*/
    .mega-hero-title{
        font-size:48px;
        line-height:48px;
    }
    .hero-title{
        font-size: 32px;
        line-height: 32px;
    }

    h2, .md-hero-title{
        font-size: 27px;
        line-height: 27px;
    }

    .course_content h2{
        margin-top:33px;
    }

    .sml-hero-title{
        font-size: 18px;
    }
    .card-cta-big{
        box-shadow: rgba(15, 56, 113, 0.08) 0px 2px 4px -1px, rgba(15, 56, 113, 0.12) 0px 8px 20px -4px;
        filter: drop-shadow(rgba(15, 56, 113, 0.32) 0px 0px 1px);
            
        border-radius: 8px;
        background-color: rgb(255, 255, 255);

    }

    .search-form .border-right{
        border-right:1px solid rgba(217, 222, 235,1) !important;
    }

    .form-col-active{
        position:absolute;
        /*box-shadow: rgba(15, 56, 113, 0.08) 0px 2px 4px -1px, rgba(15, 56, 113, 0.12) 0px 8px 20px -4px;
        filter: drop-shadow(rgba(15, 56, 113, 0.32) 0px 0px 1px);*/
                
        border-radius: 8px;
        background-color: rgb(255, 255, 255);
        margin:-8px 0px -8px -8px !important;
        padding-top:8px !important;
        padding-bottom:8px !important;
        padding-left:8px !important;
        width:100%;
        z-inded:99999;
      
    }

    .nav-tabs .nav-link,
    .nav-favourites .nav-link {
        border-top:2px solid rgba(255,255,255, 1);
        border-bottom:none;
        border-left:none;
        border-right:none;
        padding-bottom:30px;
        font-size:18px;
        margin-bottom:-1px;
        border-radius:0;
        padding-left:0;
        padding-right:0;
        margin-left:16px;
        margin-right:16px;
        font-weight:500;
    }
    .nav-tabs .nav-link:hover{
        border-color:#ffffff;
    }
    .nav-tabs .nav-link.active {
        border-top:2px solid rgba(25, 145, 240, 1);
    }

    
}

@media (max-width: 991px) {
    .search-form .border-right{
        border-bottom:1px solid rgba(217, 222, 235,1) !important;
    }

    /*.nav-tabs .nav-link,
    .nav-favourites .nav-link {
        border-bottom:2px solid rgba(255,255,255, 1);
        border-top:none;
        border-left:none;
        border-right:none;
        padding-bottom:30px;
        font-size:17px;
        margin-bottom:-1px;
        border-radius:0;
    }
    .nav-tabs .nav-link:hover{
        border-color:#ffffff;
    }
    .nav-tabs .nav-link.active {
        border-bottom:2px solid rgba(25, 145, 240, 1);
    }*/

    .nav-tabs .nav-link,
    .nav-favourites .nav-link {
        border-top:2px solid rgba(255,255,255, 1);
        border-bottom:none;
        border-left:none;
        border-right:none;
        padding-bottom:30px;
        font-size:18px;
        margin-bottom:-1px;
        border-radius:0;
        padding-left:0;
        padding-right:0;
        margin-left:16px;
        margin-right:16px;
        font-weight:500;
    }
    .nav-tabs .nav-link:hover{
        border-color:#ffffff;
    }
    .nav-tabs .nav-link.active {
        border-top:2px solid rgba(25, 145, 240, 1);
    }

    .keyword-search-form-ul li,
    .categories-search-form-ul li{
        padding-top:10px;
    }



    .search-form .border-right{
        border-right:1px solid rgba(217, 222, 235,1) !important;
    }

    .form-col-active{
        position:absolute;
        /*box-shadow: rgba(15, 56, 113, 0.08) 0px 2px 4px -1px, rgba(15, 56, 113, 0.12) 0px 8px 20px -4px;
        filter: drop-shadow(rgba(15, 56, 113, 0.32) 0px 0px 1px);*/
                
        border-radius: 8px;
        background-color: rgb(255, 255, 255);
        margin:-8px 0px -8px -8px !important;
        padding-top:8px !important;
        padding-bottom:8px !important;
        padding-left:8px !important;
        width:100%;
        z-inded:99999;
      
    }


    .btn-filter-container{
        position:relative;
        left:auto;
        margin-top:10px;
    }


    .btn-filter{
        color:rgba(222, 0, 165,1);
        background-color:
        rgba(255,255,255,1);
        border: 1px solid #D9DEEB;
        border-radius: 4px !important;
        -webkit-transition : all 500ms ease-out;
        -moz-transition : all 500ms ease-out;
        -o-transition : all 500ms ease-out;
        transition : all 500ms ease-out;
        border-radius: 10px;
        font-weight:500;
        width:100%;
    }

    .btn-filter:hover{
        color:rgba(25,145,240,1) !important;
        background-color:rgba(255,255,255, 1) !important;
        border-color:rgba(25,145,240,1) !important;
    }


    .btn-filter:focus,
    .btn-filter.focus{
        box-shadow:0 0 0 .2rem rgba(255,255,255,0.5)
    }

    .btn-filter:hover svg,
    .btn-filter:hover path,
    .btn-filter:hover rect{
        fill: rgba(25,145,240,1) !important;
    }
}

@media (max-width: 767px) {
    .mega-hero-title{
        font-size:40px;
    }
    .hero-title{
        font-size: 27px;
        line-height: 27px;
    }

    h2, .md-hero-title{
        font-size: 24px;
        line-height: 24px;
    }

    .sml-hero-title{
        font-size: 16px;
    }

    .md-copy-size{
        font-size: 16px;
    }

    .sml-copy-size{
        font-size: 15px !important;
    }

    .course-card-category-pill {
        font-size: 12px !important;
    }

    .course-card-pills-container {
        width: 50%;
    }

    .card-search-bar{
        padding:4px 12px 12px 12px;

    }

    .form-col-active{
        position:relative;
        margin-top:0px !important;
      
    }

    .popular-searches-container .popular-searches-scroller {
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .popular-searches-container .popular-searches-scroller::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    /* 1. Resize the main container to hold only one star */
    .star-rating-widget .stars-display-area {
        width: var(--star-size);
    }

    /* 2. Hide all star icons except for the first one in BOTH layers */
    .stars-background .star-icon:not(:first-child),
    .stars-foreground .star-icon:not(:first-child) {
        display: none;
    }

}

/* Sizing*/
/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .h-sm-100 {
        height: 100% !important;
    }

    .h-sm-75 {
        height: 75% !important;
    }

    .h-sm-50 {
        height: 50% !important;
    }

    .h-sm-25 {
        height: 25% !important;
    }

    .border-sm {
      border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-sm-0 {
      border: 0 !important;
    }

    .border-sm-top {
      border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-sm-top-0 {
      border-top: 0 !important;
    }

    .border-sm-end {
      border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-sm-end-0 {
      border-right: 0 !important;
    }

    .border-sm-bottom {
      border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-sm-bottom-0 {
      border-bottom: 0 !important;
    }

    .border-sm-start {
      border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-sm-start-0 {
      border-left: 0 !important;
    }

    .border-sm-primary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-secondary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-success {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-info {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-warning {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-danger {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-light {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-dark {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-black {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-white {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important;
    }

    .border-sm-primary-subtle {
      border-color: var(--bs-primary-border-subtle) !important;
    }

    .border-sm-secondary-subtle {
      border-color: var(--bs-secondary-border-subtle) !important;
    }

    .border-sm-success-subtle {
      border-color: var(--bs-success-border-subtle) !important;
    }

    .border-sm-info-subtle {
      border-color: var(--bs-info-border-subtle) !important;
    }

    .border-sm-warning-subtle {
      border-color: var(--bs-warning-border-subtle) !important;
    }

    .border-sm-danger-subtle {
      border-color: var(--bs-danger-border-subtle) !important;
    }

    .border-sm-light-subtle {
      border-color: var(--bs-light-border-subtle) !important;
    }

    .border-sm-dark-subtle {
      border-color: var(--bs-dark-border-subtle) !important;
    }

    .border-sm-1 {
      border-width: 1px !important;
    }

    .border-sm-2 {
      border-width: 2px !important;
    }

    .border-sm-3 {
      border-width: 3px !important;
    }

    .border-sm-4 {
      border-width: 4px !important;
    }

    .border-sm-5 {
      border-width: 5px !important;
    }
}


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }

    .h-md-75 {
        height: 75% !important;
    }

    .h-md-50 {
        height: 50% !important;
    }

    .h-md-25 {
        height: 25% !important;
    }

    .border-md {
      border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-md-0 {
      border: 0 !important;
    }

    .border-md-top {
      border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-md-top-0 {
      border-top: 0 !important;
    }

    .border-md-end {
      border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-md-end-0 {
      border-right: 0 !important;
    }

    .border-md-bottom {
      border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-md-bottom-0 {
      border-bottom: 0 !important;
    }

    .border-md-start {
      border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-md-start-0 {
      border-left: 0 !important;
    }

    .border-md-primary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-secondary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-success {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-info {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-warning {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-danger {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-light {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-dark {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-black {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-white {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important;
    }

    .border-md-primary-subtle {
      border-color: var(--bs-primary-border-subtle) !important;
    }

    .border-md-secondary-subtle {
      border-color: var(--bs-secondary-border-subtle) !important;
    }

    .border-md-success-subtle {
      border-color: var(--bs-success-border-subtle) !important;
    }

    .border-md-info-subtle {
      border-color: var(--bs-info-border-subtle) !important;
    }

    .border-md-warning-subtle {
      border-color: var(--bs-warning-border-subtle) !important;
    }

    .border-md-danger-subtle {
      border-color: var(--bs-danger-border-subtle) !important;
    }

    .border-md-light-subtle {
      border-color: var(--bs-light-border-subtle) !important;
    }

    .border-md-dark-subtle {
      border-color: var(--bs-dark-border-subtle) !important;
    }

    .border-md-1 {
      border-width: 1px !important;
    }

    .border-md-2 {
      border-width: 2px !important;
    }

    .border-md-3 {
      border-width: 3px !important;
    }

    .border-md-4 {
      border-width: 4px !important;
    }

    .border-md-5 {
      border-width: 5px !important;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .h-lg-100 {
        height: 100% !important;
    }

    .h-lg-75 {
        height: 75% !important;
    }

    .h-lg-50 {
        height: 50% !important;
    }

    .h-lg-25 {
        height: 25% !important;
    }

    .border-lg {
      border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-lg-0 {
      border: 0 !important;
    }

    .border-lg-top {
      border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-lg-top-0 {
      border-top: 0 !important;
    }

    .border-lg-end {
      border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-lg-end-0 {
      border-right: 0 !important;
    }

    .border-lg-bottom {
      border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-lg-bottom-0 {
      border-bottom: 0 !important;
    }

    .border-lg-start {
      border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-lg-start-0 {
      border-left: 0 !important;
    }

    .border-lg-primary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-secondary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-success {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-info {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-warning {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-danger {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-light {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-dark {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-black {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-white {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important;
    }

    .border-lg-primary-subtle {
      border-color: var(--bs-primary-border-subtle) !important;
    }

    .border-lg-secondary-subtle {
      border-color: var(--bs-secondary-border-subtle) !important;
    }

    .border-lg-success-subtle {
      border-color: var(--bs-success-border-subtle) !important;
    }

    .border-lg-info-subtle {
      border-color: var(--bs-info-border-subtle) !important;
    }

    .border-lg-warning-subtle {
      border-color: var(--bs-warning-border-subtle) !important;
    }

    .border-lg-danger-subtle {
      border-color: var(--bs-danger-border-subtle) !important;
    }

    .border-lg-light-subtle {
      border-color: var(--bs-light-border-subtle) !important;
    }

    .border-lg-dark-subtle {
      border-color: var(--bs-dark-border-subtle) !important;
    }

    .border-lg-1 {
      border-width: 1px !important;
    }

    .border-lg-2 {
      border-width: 2px !important;
    }

    .border-lg-3 {
      border-width: 3px !important;
    }

    .border-lg-4 {
      border-width: 4px !important;
    }

    .border-lg-5 {
      border-width: 5px !important;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }

    .h-xl-75 {
        height: 75% !important;
    }

    .h-xl-50 {
        height: 50% !important;
    }

    .h-xl-25 {
        height: 25% !important;
    }

    .border-xl {
      border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-xl-0 {
      border: 0 !important;
    }

    .border-xl-top {
      border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-xl-top-0 {
      border-top: 0 !important;
    }

    .border-xl-end {
      border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-xl-end-0 {
      border-right: 0 !important;
    }

    .border-xl-bottom {
      border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-xl-bottom-0 {
      border-bottom: 0 !important;
    }

    .border-xl-start {
      border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .border-xl-start-0 {
      border-left: 0 !important;
    }

    .border-xl-primary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-secondary {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-success {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-info {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-warning {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-danger {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-light {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-dark {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-black {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-white {
      --bs-border-opacity: 1;
      border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important;
    }

    .border-xl-primary-subtle {
      border-color: var(--bs-primary-border-subtle) !important;
    }

    .border-xl-secondary-subtle {
      border-color: var(--bs-secondary-border-subtle) !important;
    }

    .border-xl-success-subtle {
      border-color: var(--bs-success-border-subtle) !important;
    }

    .border-xl-info-subtle {
      border-color: var(--bs-info-border-subtle) !important;
    }

    .border-xl-warning-subtle {
      border-color: var(--bs-warning-border-subtle) !important;
    }

    .border-xl-danger-subtle {
      border-color: var(--bs-danger-border-subtle) !important;
    }

    .border-xl-light-subtle {
      border-color: var(--bs-light-border-subtle) !important;
    }

    .border-xl-dark-subtle {
      border-color: var(--bs-dark-border-subtle) !important;
    }

    .border-xl-1 {
      border-width: 1px !important;
    }

    .border-xl-2 {
      border-width: 2px !important;
    }

    .border-xl-3 {
      border-width: 3px !important;
    }

    .border-xl-4 {
      border-width: 4px !important;
    }

    .border-xl-5 {
      border-width: 5px !important;
    }
}