@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic);
/* COLOURS */
/*GRAPE: #6E0252 */
/* GREEN: #097b67 */
/* BORDERS: #E9EFEC */
/*ECEBDC*/

body,
html {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale!important;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'Lato', sans-serif!important;
    color: #6f6f6f;
}

::-webkit-scrollbar { width: 12px;  }/* for vertical scrollbars */
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.5); }



/*-----------------------------------------------------------------------------------*/





.explore-links a{
    font-size: 16px;
    padding: 5px 0;
    color: #6E0252;
}

    .explore-links a:hover {
        font-size: 20px;
        padding: 5px 0;
        color: #A271FB;
    }



h1 {
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif !important;
    font-size: 36px;
    line-height: 1.2;
    color: #FFFFFF;
}

h1 small { text-transform: lowercase }

h2 {
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Lato', sans-serif!important;
    font-size: 30px;
    color: #FFFFFF;
    }

h3 {
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Lato', sans-serif!important;
    font-size: 24px;
    color: #FFFFFF;
}

h4 {
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Lato', sans-serif!important;
    font-size: 20px;
    color: #FFFFFF;
}

h5 { 
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Lato', sans-serif!important;
    font-size: 18px;
    color: #FFFFFF;
 }

h6 { 
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Lato', sans-serif!important;
    font-size: 14px;
    color: #FFFFFF;
 }

p { font-size: 14px }

a {
    color: inherit;
    transition: all 0.5s;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #ffffff ;
}
custom-link a{
    color: #ffffff;
    text-decoration: none;
    
    
    font-size:20px;
    font-weight:400;
}

.custom-link{
    
    text-align:center;
    padding:5px 0 0 0;
   
}

    .custom-link:hover {
        color: #6E0252;
        font-size: 30px;
        text-decoration: none;
    }

.custom-link-img{
padding:20px;
}

li {
    line-height: 2;
}

.highlight {
    color: #6E0252;
}

.highlightabout {
    color: #6E0252;
    font-size: 24px;
}

.highlightother{ color: #A271FB; }

.highlightwhite{ color: #ffffff; }

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix { display: inline-block }

* html .clearfix { height: 1% }

.clearfix { display: block }


/**********************************************************************  general random styling ********/


.std-section-container {
    text-align: center;
    margin: 0 20% 30px 20%;
}

.std-section-container-divider {
    text-align: center;
    margin: 0 0% 10px 0%;
}

.section-block{
    padding: 20px 5%;
}

.green-top-border {
    border-top: 2px solid #097b67;
}

.green-abstract-bottom-border {
    border-bottom: 3px solid #DFEAE8;
}

.purple-abstract-bottom-border {
    border-bottom: 1px solid #F0DCEB;
}




.std-item-list-container {
    text-align: left;
    margin: 0 25% 30px 25%;
}

    .std-item-list-container li {
        line-height: 3;
    }



    .quote-inserts {
    line-height: 1.2;
    font-weight: 500;
    font-family: 'Lato', sans-serif !important;
    font-size: 18px;
    font-style: italic;
    color: #333333;
    padding: 20px 5px;
}

.std-text-grey {
    font-size: 14px;
    font-weight: 300;
    color: #333;
}

.std-text-grape {
    font-size: 14px;
    font-weight: 300;
    color: #6E0252;
}

.std-text-green {
    font-size: 14px;
    font-weight: 300;
    color: #097b67;
}

.std-text-white {
    font-size: 14px;
    font-weight: 300;
    color: #FFFFFF;
}

.std-text-center{
    text-align:center;
}

.std-text-left {
    text-align: left;
}

.stages .std-text-left {
    text-align: left;
    padding: 0 10%;
}


.text-list-grey {
    font-size: 14px;
    font-weight: 300;
    color: #333;
    line-height: 2;
    padding-top: 10px;
}

.text-list-grape {
    font-size: 14px;
    font-weight: 300;
    color: #6E0252;
    line-height: 2;
    padding-top: 10px;
}

.sub-heading-grape {
    font-size: 20px;
    font-weight: 500;
    color: #6E0252;
    padding: 10px 0;
}

.sub-heading-green {
    font-size: 20px;
    font-weight: 500;
    color: #097b67;
    padding: 10px 0;
}

.memorials-heading-green {
    font-size: 24px;
    font-weight: 500;
    color: #097b67;
    padding: 10px 0;
}

.memorials-sub-heading-grape {
    font-size: 20px;
    font-weight: 500;
    color: #6E0252;
    padding: 20px 0;
}









.sub-heading-med-grape {
    font-size: 24px;
    font-weight: 500;
    color: #6E0252;
    padding: 10px 0;
}

.sub-heading-med-green {
    font-size: 24px;
    font-weight: 500;
    color: #097b67;
    padding: 10px 0;
}

.slider-container-centered {
    margin: 0 20%;
}

.margin40-top {
    margin: 40px 0 0 0;
}

.margin20 {
    margin: 40px 0;
}

.margin50-bottom {
    margin-bottom: 50px;
}

.margin30-top {
    margin-top: 50px;
}

.padding100{
    padding-top: 100px;
}

.paddingbottom50 {
    padding-top: 50px;
}

.separator-image {
    margin: 5px 0;
}



.card-heading-green {
    font-size: 16px;
    font-weight: 500;
    color: #097b67;
    padding: 10px 0;
}

.card-heading-grape {
    font-size: 16px;
    font-weight: 500;
    color: #6E0252;
    padding: 10px 0;
}

.heading-icon-left{
    text-align:right;
}

.grid-icon-padding{
    padding: 40px 0;
}



.card-text-grey {
    font-size: 14px;
    color: #333;
    font-weight: 300;
}

.card-text-morelink-green {
    font-size: 14px;
    color: #097b67;
    font-weight: 300;
}

.card-text-morelink-grape {
    font-size: 14px;
    color: #6E0252;
    font-weight: 300;
}


/**************************************************************************** Global blocks, borders and BGs */


.std-section-block {
    padding: 10px 4% 10px 4%;
    margin-bottom: -1px;
    margin-top: -1px;
}


.greypinkBG {
    background-color: #fcfbf6;
}

.greyBG {
    background-color: #F8F7F8;
}

.border-pinkgrey {
    border-top: solid 1px #E2E1E5;
    border-bottom: solid 1px #E2E1E5;
}

.border-lightpinkgrey {
    border-top: solid 1px #EEECF1;
    border-bottom: solid 1px #EEECF1;
}

.border-darkpink {
    border-top: solid 1px #C3A1BA;
    border-bottom: solid 1px #C3A1BA;
}

.border-darkbeige-top {
    border-top: solid 2px #EEEBED;
}

.border-darkbeige-bottom {
    border-bottom: solid 2px #EEEBED;
}


/**************************************************************************** Global buttons and links */
.btn-grapeBG {
    color: #FFFFFF;
    font-family: 'Lato' !important;
    font-size: 12px;
    font-weight: 500;
    border: 0px solid #6E0252;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
    border-radius: 20px;
    padding: 8px 20px;
    transition: all 0.5s;
    background-color: #6E0252;
    margin: 10px 20px 20px 20px;
}

.btn-greenBG {
    color: #ffffff;
    font-family: 'Lato' !important;
    font-size: 12px;
    font-weight: 500;
    border: 0px solid #097b67;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
    border-radius: 20px;
    padding: 8px 30px;
    transition: all 0.5s;
    background-color: #097b67;
    margin: 10px 20px 20px 20px;
}

.btn-whiteBG {
    color: #000000;
    font-family: 'Lato' !important;
    font-size: 12px;
    font-weight: 500;
    border: 0px solid #FFFFFF;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
    border-radius: 20px;
    padding: 8px 30px;
    transition: all 0.5s;
    background-color: #FFFFFF;
    margin: 10px 20px 20px 20px;
}

.btn-container-med{
    margin: 50px 30%;
    
}

.major-link-grape{
    text-align: center;
    font-size: 16px;
    color: #6E0252;
    font-weight: 500;
    text-decoration-line:underline;
}


.stages-btn-green {
    color: #FFFFFF;
    font-family: 'Lato' !important;
    font-size: 12px;
    font-weight: 500;
    border: 0px solid #097b67;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
    border-radius: 5px;
    padding: 8px 20px;
    transition: all 0.5s;
    background-color: #097b67;
    display: block;
 
}

.stages-btn-grape-focus {
    color: #ffffff;
    font-family: 'Lato' !important;
    font-size: 12px;
    font-weight: 500;
    border: 0px solid #6E0252;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
    border-radius: 5px;
    padding: 8px 20px;
    transition: all 0.5s;
    background-color: #6E0252;
    display:block;
    
}


.stages-btn-container {
    text-align: center;
    margin: 0 5% 0% 5%;
}

.card4-btn-grid-wrapper {
    display: grid;
    /* Creates as many columns as possible that are at least 200px wide, 
     and lets them grow to fill the available space equally (1fr) */
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px; /* Adds space between the columns and rows */
    
}

.card4-btn-grid-card {
    background-color: transparent;
    text-align: center;
    width: 150px;
    height: 50px;
    border-radius: 10px;
    border: solid 0px #ffffff;
}

.stages-grid-card {
    border: solid 0px #FAF9FA !important;
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1) !important;
}

.stages-grid-card-header {
    border: solid 0px #FAF9FA !important;
    box-shadow: 0px 0px 0px 0 rgba(0, 0, 0, 0) !important;
    background-color: transparent !important;
}




/**************************************************************************** Global cards */
/* 3 cards */
.std-card3-grid-container {
    text-align: center;
    margin: 0 0;
}

.std-card3-grid-wrapper {
    display: grid;
    /* Creates as many columns as possible that are at least 200px wide, 
     and lets them grow to fill the available space equally (1fr) */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Adds space between the columns and rows */
}

.std-card3-grid-card {
    background-color: #ffffff;
    padding: 20px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0.5px #FAF9FA;
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}


/* 2 cards */



.std-card2-grid-container {
    text-align: center;
    margin: 0 0 0 0;
}

.std-card2-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Column one is half the width of column two */
    gap: 20px; /* Add spacing between columns */
}

.std-card2-grid-card {
    background-color: #ffffff;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    padding: 40px;
    margin: 20px 0;
    opacity: 0.9;
}



.community-hero-card-wrapper{
margin: 0 25%;
}




.std-btn-grid-card {
    background-color: transparent;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    color: #333;
    padding: 10px;
    margin: 10px 0 40px 0;
    opacity: 0.9;
}


/* 2 cards-  ratio */

.std-section-ratio-grid-wrapper {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr; /* Column one is half the width of column two */
    gap: 20px; /* Add spacing between columns */
}

.std-section-ratio-reverse-grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr; /* Column one is half the width of column two */
    gap: 20px; /* Add spacing between columns */
}

.std-section-ratio-grid-card {
    background-color: #ffffff;
    padding: 20px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    color: #333;
}

.std-section-ratio-grid-card-therapy {
    background-color: #ffffff;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    padding: 40px;
    margin: 20px 0;
    opacity: 0.9;
}

/* 1 cards */

.std-card-grid-card {
    background-color: #ffffff;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    padding: 40px;
    margin: 20px 0;
    opacity: 0.9;
}

.std-multi-grid-wrapper {
    display: grid;
    /* Creates as many columns as possible that are at least 200px wide, 
     and lets them grow to fill the available space equally (1fr) */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Adds space between the columns and rows */
}

.card-padding{
    padding: 20px 0;
}

.card .card-header {
    font-size: 16px;
    color: #097B67;
    font-weight: 700;
    line-height:1.2;
    letter-spacing: 0.5px;
 
}

.card .card-text {
    font-size: 14px;
    color: #333;
    font-weight: 300;
}

.card .card-text-morelink {
    font-size: 14px;
    color: #333; 
    font-weight: 300;
}






/****************************************************/
/*-------------------------------------------------------------------------------------- Navigation */
/****************************************************/

#kn-menu {
    margin-bottom: 0;
    padding: 10px 0;
    height: auto;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    border-bottom: solid 0px #6E0252;
    border-top: solid 0px white;
    background-color: transparent;
    transform: translateY(0px); /* Optional: adds a slight slide-up effect */
    transition: opacity 0.9s ease-out, transform 0.9s ease-out; /* Define the slow transition */
}


/*----- landing page transparent bg menu */
#tf-menu {
    margin-bottom: 0;
    padding: 10px 0;
    height: auto;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    border-bottom: solid 0px #6E0252;
    background-color: transparent;
    transform: translateY(0px); /* Optional: adds a slight slide-up effect */
    transition: opacity 0.9s ease-out, transform 0.9s ease-out; /* Define the slow transition */
}

.navbar-brand img {
    height: 30px;
    width: auto;
}



.navbar-brand { padding: 0px 0px }

.navbar-nav > li > a {
    font-size: 14px;
    font-weight: 300;
    border-bottom: 2px solid transparent;
    padding: 2px 5px;
    margin: 3px 10px;
    text-transform:capitalize;
    transition: all 0.5s;
    font-family: 'Lato', sans-serif;
}

.navbar-default .navbar-nav > li > a{color:#ffffff!important;}

.dropdown-menu > li > a {
    font-size: 14px;
    font-weight: 300;
    border-bottom: 2px solid transparent;
    padding: 2px 5px;
    margin: 3px 10px;
    text-transform:capitalize;
    transition: all 0.5s;
    font-family: 'Lato', sans-serif;
    color:#3E3E3E;
}



.dropdown-button a:focus {
    background-color: transparent !important;
}

.dropdown-menu {
    background-color: #EDEBEC !important;
    border-radius: 0px;
    border: 2px solid #D3D1D3;
}

.dropdown-element {
   
    font-size: 12px;
    font-weight: 300;
    

}

.dropdown-content .dropdown-menu-element {
    line-height: 3;
    margin: 0 10px;
    font-size: 12px;
    font-weight: 300;
   
}

.dropdown-menu .dropdown-menu-uline {
    border-bottom: 1px solid #F4F1F3;
}

.navbar-default .navbar-nav > li > a.active, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    color: #FFFFFF !important;
    border-bottom: 1px solid #FFFFFF;
}

.navbar-default .navbar-toggle { border-color: transparent }

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: transparent }
    .navbar-default .navbar-toggle:hover > .navbar-default .navbar-toggle .icon-bar,
    .navbar-default .navbar-toggle:focus > .navbar-default .navbar-toggle .icon-bar {
        color: #6E0252;
    }



#menu-float-option
{
  margin-left:2%;
  transform: translateY(20px); /* Optional: adds a slight slide-up effect */
  transition: opacity 0.7s ease-out, transform 0.7s ease-out; /* Define the slow transition */
}

#menu-float-option.shifted
{
 margin-left: 5%;
 opacity: 1;
 transform: translateY(0);
}




#tf-menu.appear {
    background-color: #6E0252;
    opacity: 1;
    transform: translateY(0);
}


.navbar-toggle{
text-align:center;
height:55px;
width:55px;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 1px;
  background-color: #ffffff;
  margin-left: 4px;
}





/****************************************************/
/*------------------------------------------------------------------------------ Page Header  */
/****************************************************/
#tf-header {
    padding: 20px 0;
    background: #6E0252;
    margin-top: 70px;
    color: #ffffff;
}

#tf-header .breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: transparent;
    border-radius: 4px;
    margin-left: -10px;
    margin-top: -10px;
}

#tf-header .breadcrumb > li + li:before {
    padding: 0 5px;
    color: #FFF;
    content: "/\00a0";
}
#tf-header .breadcrumb > li a { color: #ffffff }

/****************************************************/
/*Section Headers */
/****************************************************/

.memorial-section-header-grape {
    font-size: 24px;
    color: #6E0252;
    font-weight: 600;
    text-align: center;
    padding: 30px 0 20px 0;
    text-transform: uppercase;
}



.section-header-grape {
    font-size: 24px;
    color: #6E0252;
    font-weight: 600;
    text-align: center;
    padding: 10px 0 20px 0;
    text-transform: uppercase;
}

.section-header-green {
    font-size: 24px;
    color: #097b67;
    font-weight: 600;
    text-align: center;
    padding: 10px 0 20px 0;
    text-transform: uppercase;
}

.section-header-white{
    font-size:24px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    padding: 40px 0;
    text-transform: uppercase;
}

/****************************************************/
/* Display menu logo on scroll */
/****************************************************/

 .animate-element {

  padding-top: 8px ;
  opacity: 0;
  transform: translateY(20px); /* Optional: adds a slight slide-up effect */
  transition: opacity 0.7s ease-out, transform 0.7s ease-out; /* Define the slow transition */
  }

/* This class will be added by JavaScript to trigger the animation */

.animate-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-element-frame {
  opacity: 0;
  transform: translateY(20px); /* Optional: adds a slight slide-up effect */
  transition: opacity 0.7s ease-out, transform 0.7s ease-out; /* Define the slow transition */
}

/* This class will be added by JavaScript to trigger the animation */

.animate-element-frame.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.menuheader
{
font-weight: 800;
text-transform: uppercase;
font-size: 24px;
color: #A271FB;
padding: 10px 20px 0 0;
font-family: 'Lato', sans-serif;
letter-spacing: 1px;
}

.menuheader:hover
{
color: #DEAAF7;
}


.menu-container
{
margin-left:auto;
margin-right:auto;
}


/**********************************************************************************************************************/
/***************************************************************************** Hero BGs ******************************/
/********************************************************************************************************************/

#kn-home 
{
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url(../img/hero/hero-home-mobile.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height:750px; 
 }


#hero-knowing {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-knowingstuff.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
 
}

#hero-finding {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-findingstuff.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}


#hero-community {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),url(../img/hero/hero-community.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}



#hero-selfcare {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-selfcare.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}

#hero-loyalty {
    position: relative;
    background-image: url(../img/bg/hero-abstract-green-inverted-opt.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 650px;
}



#hero-ubuntu {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-ubuntu.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 550px;
}



#hero-contact {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-contact.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}


#hero-about {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-about.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}



#hero-expats {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-expats.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}


#hero-legaladvice {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-legaladvice.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}


#hero-wallofremembrance {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),url(../img/hero/hero-wallofremembrance.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 750px;
}

/*----------------------------------------------- global section BGs ------------------------------------------*/

.gradient-purple-midpoint {
    position: relative;
    /* background-image: linear-gradient(to bottom, white 0%,#F7F0F5 5%,#F4E9F1 10%, #EEDBE9 15%,#E9CFE2 25%,#E0BED7 35%, #D6ADCB 50%, #E0BED7 60%,#E9CFE2 70%,#EEDBE9 80%,#F4E9F1 90%, white 100% );*/
    background-image: linear-gradient(to bottom, white 0%,#F8EEF5 15%, #F4DBED 30%, #F0C8E5 40%,#F0C8E5 80%,#F4DBED 85%,#F8EEF5 90%, white 100% );
    /*  background-image: radial-gradient(#4B0082 0%, #D8BFD8 20%, #FFFFFF 100%);*/
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.stages-gradient-grey-midpoint {
    position: relative;
    background-image: linear-gradient(to bottom, white 0%, #F6F4F7 50%, #F6F4F7 70%, white 90%, white 100% );
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.stages-gradient-green-midpoint {
    position: relative;
    background-image: linear-gradient(to bottom, white 0%, #C0DDD8 50%, #C0DDD8 70%, white 100% );
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.stages-gradient-greygreen-midpoint {
    position: relative;
    background-image: linear-gradient(to bottom, white 0%, #E5EBE9 50%, #E5EBE9 70%, white 100% );
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.stages-gradient-pink-midpoint {
    position: relative;
    background-image: linear-gradient(to bottom, white 0%, #F1D7EF 50%, #F1D7EF 70%,  white 100% );
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.beige-gradient-bg-darkbottom {
    position: relative;
    background-image: linear-gradient(to bottom, white, #F6F4F7 );
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.beige-texture-bg {
    position: relative;
    background-image: url(../img/bg/beige-texture-bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.pink-flowers {
    position: relative;
    background-image: url(../img/bg/pink-flower-bg.png);
    background-size: contain;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.loyalty-texture-bg {
    position: relative;
    background-image: url(../img/bg/grey-texture-bg-light.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.grey-texture-bg {
    position: relative;
    background-image: url(../img/bg/grey-texture-bg-light.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.grey-colour-bg {
    position: relative;
    background-color: #FBF9FA;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
}

.ad-grey-colour-bg {
    position: relative;
    background-color: #FBF9FA;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;

}

.lightgrey-colour-bg {
    position: relative;
    background-color: #FBFAFB;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
}


.half-hand-purple {
    position: relative;
    background-image: url(../img/bg/half-hand-purple.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.pink-cherry-blossom {
    position: relative;
    background-image: url(../img/bg/pink-cherry-blossom-BG.png);
    background-size: contain;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.curvy-purple-top-bg {
    position: relative;
    background-image: url(../img/bg/curvy-purple-top-bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.curvy-purple-bottom-bg {
    position: relative;
    background-image: url(../img/bg/curvy-purple-bottom-bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.curvy-purple-bottom-bg-inverted {
    position: relative;
    background-image: url(../img/bg/curvy-purple-bottom-bg-inverted.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.curvy-lilac-top-bg {
    position: relative;
    background-image: url(../img/bg/curvy-lilac-top-bg.png);
    background-size: cover;
    background-position: bottom;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.curvy-lilac-bottom-bg {
    position: relative;
    background-image: url(../img/bg/curvy-lilac-bottom-bg.png);
    background-size: cover;
    background-position: top;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


.curvy-lilac-bottom-bg {
    position: relative;
    background-image: url(../img/bg/curvy-lilac-bottom-bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


.stages-bg-pink {
    position: relative;
    background-image: url(../img/bg/stages-bg-pink.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}


.stages-bg-pink-bottom {
    position: relative;
    background-image: url(../img/bg/stages-bg-pink-bottom.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.curve-flower-bg-pink {
    position: relative;
    background-image: url(../img/bg/purple-texture-bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
}

.green-abstract-marketplace {
    position: relative;
    background-image: url(../img/bg/green-abstract-marketplace.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
    padding: 50px 0;
}

.hero-abstract-green-original {
    position: relative;
    background-image: url(../img/bg/hero-abstract-green-original.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
    padding: 50px 0;
}

.hero-abstract-green-kids {
    position: relative;
    background-image: url(../img/bg/hero-abstract-green-original.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
    padding: 50px 0;
}

.hero-abstract-green {
    position: relative;
    background-image: url(../img/bg/hero-abstract-green-inverted.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
    padding: 50px 0;
}


.hero-abstract-purple-light {
    position: relative;
    background-image: url(../img/bg/hero-abstract-purple-inverted.png);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: auto;
    padding: 50px 0;
}


.stages-grey {
    background-color: #E3E0E2;
}




/************************************************************* global Hero styling ******************************/
.hero-header-container {
    text-align: center;
}

.hero-header-block {
    padding-top: 70px;
    text-align: center;
    margin: 0 25%;
   
}

.hero-header-content {
    width: 100%;
    padding: 0 20%;
}

.hero-header {
    font-family: 'Lato', sans-serif !important;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin: 40px 0;
    text-transform: uppercase;
    z-index: 2;
}



.hero-header-green {
    font-family: 'Lato', sans-serif !important;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    color: #097b67;
    text-align: center;
    margin: 10px 0 40px 0;
    text-transform: uppercase;
    z-index: 2;
}

.hero-header-grape {
    font-family: 'Lato', sans-serif !important;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    color: #6E0252;
    text-align: center;
    margin: 10px 0 40px 0;
    text-transform: uppercase;
    z-index: 2;
}

.hero-subheader {
    font-family: 'Lato', sans-serif !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin: 40PX 0 60px 0;
    z-index: 2;
}

.hero-header-text {
    font-size: 14px;
    font-weight: 300;
    color: #FFFFFF;
}


/***********************************************************************************************/
/* ----------------------------------------------------------------- Hero Header cards     ****/
/*********************************************************************************************/
.hero-header-grid-container {
    text-align: center;
    margin: 40px 12%;
}

.hero-header-grid-wrapper {
    display: grid;
    /* Creates as many columns as possible that are at least 200px wide, 
     and lets them grow to fill the available space equally (1fr) */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Adds space between the columns and rows */
}

.hero-header-grid-card {
    background-color: #000000BB;
    padding: 20px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 1px #333333;
}

.stages-hero-header-grid-card {
    background-color: #000000cc;
    padding: 20px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 1px #333333;
}


.header-grid-header {
    font-size: 18px;
    color: #abf7ea;
    font-weight: 500;
}

.header-grid-text {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 300;
}

.header-grid-text-morelink {
    font-size: 14px;
    color: #6ef1da !important;
    font-weight: 300;
}





/*************************************************************************************************************/
/***************************************************************************** Home Hero Style **************/
/***********************************************************************************************************/
/* Home Hero height */
#kn-home .overlay {
    padding-top: 8%;
    padding-bottom: 2%;
    background-attachment: fixed;
}

#kn-home .hero-container {
    text-align: center;
}


#kn-home .hero-logo {
    z-index: 2;
    text-align:right;
}

#kn-home .hero-grid {
    text-align: center;
}

#kn-home .hero-header {
    font-family: 'Lato', sans-serif !important;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin: 40px 0;
    text-transform: uppercase;
    z-index: 2;
}

#kn-home .hero-subheader {
    font-family: 'Lato', sans-serif !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin: 30px 0;
    z-index: 2;
}


.hero-grid-wrapper {
    display: grid;
      grid-template-columns: 1.2fr 2.5fr; /* Column one is twice the width of column two */
      gap: 20px; /* Add spacing between columns */
}

.hero-grid-card {
    background-color: transparent;
    padding: 10px;
    height: auto;
 }

.hero-content{
    width:50%;
 }

a.btn-hero-join {
    color: #FFFFFF;
    font-family: 'Lato' !important;
    font-size: 12px;
    font-weight: 500;
    border: 0px solid #6E0252;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
    border-radius: 20px;
    padding: 8px 20px;
    transition: all 0.5s;
    background-color: #6E0252;
    margin: 40px 40px 20px 0;
}

a.btn-hero-story {
    color: #000000;
    font-family: 'Lato' !important;
    font-size: 12px;
    font-weight: 500;
    border: 0px solid #FFFFFF;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
    border-radius: 20px;
    padding: 8px 30px;
    transition: all 0.5s;
    background-color: #FFFFFF;
    margin: 40px 0px 20px 20px;
}





/****************************************************/
/*-------------------------------------------------------------------  HOME - HERO Animation elements */
/****************************************************/

/* Hero Header zoom */

.zoom-element {
  /* Initial state: scaled down and potentially hidden */
  transform: scale(0); 
  opacity: 0; /* Optional: hide until animation starts */
  animation: zoomIn 2s forwards ease-out; /* Apply the animation */
  animation-delay: 0.5s; /* Starts immediately */
}



@keyframes zoomIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  
  100% {
    transform: scale(1); /* Zoom to normal size */
    opacity: 1;
  }
}


/* Hero sub Header fade in */

.fadein-element {
  opacity: 0;  
  animation: fadeIn 1.5s ease-in forwards;
  animation-delay: 2s; /* Starts after item-1 finishes and a small pause */
}


@keyframes fadeIn {
      0% {
        opacity: 0;
      }
      100% {
        opacity: 1;
      }
    }


/* Hero buttons fade in and slide in */

/* button container for horizontal align */
.slidein-buttons {
      display: flex;
      justify-content: center;
      width: 100%; /* Or a specific width */
      overflow: hidden;
      position: relative; /* For positioning the buttons during animation */
    }

.btn-hero-join, .btn-hero-story {visibility: hidden;}
  
.btn-hero-join {
  animation: fadeIn 1s ease-in forwards,
  slideIn-left 1.5s forwards 0.5s; /* Animation for element2 */
  animation-delay: 3s; /* Starts after element1's animation (2s) finishes */
    }

 .btn-hero-story {
  animation: fadeIn 1s ease-in forwards,
  slideIn-right 1.5s forwards 0.5s; /* Animation for element2 */
  animation-delay: 3s; /* Starts after element1's animation (2s) finishes */
    }


@keyframes slideIn-left {
  from {
     
     transform: translateX(-100%);
  }
  to {
    visibility: visible;
    transform: translateX(0);
  }
}

@keyframes slideIn-right {
  from {
    transform: translateX(100%);
  }
  to {
    visibility: visible;
    transform: translateX(0);
  }
}

/* Code for slide out if needed */

 @keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}



/***********************************************************************************************/
/* ----------------------------------------------------------------- Home Header cards     ****/
/*********************************************************************************************/

.hero-overview-container
{
text-align:center;
margin: 0 12% 2% 12%;

}

.hero-overview-grid-wrapper {
  display: grid;
  /* Creates as many columns as possible that are at least 200px wide, 
     and lets them grow to fill the available space equally (1fr) */
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* Adds space between the columns and rows */
  
}

.hero-overview-grid-card {
    background-color: #000000cc;
    padding: 20px;
    width: 100%; 
    height:auto;
    border-radius: 10px;
    border: solid 1px #333333;
     
 }

 .home-overview-header{
    font-size:18px;
    color:#abf7ea;
    font-weight:500;
 }

.home-overview-text{
    font-size:14px;
    color:#FFFFFF; 
    font-weight:300;
}

.home-overview-text-morelink{
    font-size:14px;
    color:#6ef1da!important; 
    font-weight:300;
}






/*************************************************************************************************************/
/***************************************************************************** Home Journey  ****************/
/***********************************************************************************************************/


.home-journey-section-container {
    text-align: center;
    margin: 0 20% 10px 20%;
}

.home-journey-section-ratio-grid-wrapper {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr; /* Column one is half the width of column two */
    gap: 20px; /* Add spacing between columns */
}

.home-journey-section-ratio-grid-card {
    background-color: #ffffff;
    padding: 20px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    color: #333;
}

video {
    display: inline;
    vertical-align: top;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* Maintains a 16:9 aspect ratio */
}

    .video-container iframe {
        width: 100%;
        height: 100%;
    }

/*----------------------------------------------------------------- basic hero bgs  ****************/

.hero-bg-green1 {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url("../img/bg/curvy-green-BG.png");
    background-size: cover;
}


/****************************************************************************************************************/
/***************************************************************************** Home Good Stuff  ****************/
/**************************************************************************************************************/



.home-goodstuff-section-container {
    text-align: center;
    margin: 0 20% 0px 20%;
}

.home-goodstuff-section-ratio-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Column one is half the width of column two */
    gap: 20px; /* Add spacing between columns */
}

.home-goodstuff-section-ratio-grid-card {
    background-color: #ffffff;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    padding: 40px;
    margin: 20px 0;
    opacity: 0.9;
}

.btn-section-ratio-grid-card {
    background-color: transparent;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    color: #333;
    padding: 10px;
    margin: 10px 0 40px 0;
    opacity: 0.9;
}



/****************************************************************************************************************/
/***************************************************************************** Home -  Quick Subscribe  ********/
/**************************************************************************************************************/

#home-subscribe{
    margin:10px 10px 60px 10px;
    text-align:center;
}

.subscribe-form-container {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 10px auto 30px auto;
    border: 1px solid #E9EFEC;
    background-color: #ffffff;
     }

.subscribe-form-kn {
    display: grid;
    justify-content: center;
    gap: 10px;
    
}

    .subscribe-form-kn input[type="email"] {
        padding:8px 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        flex-grow: 1;
        font-size: 14px;
        width:250px;
    }

        .subscribe-form-kn input[type="email"]::placeholder {
            color: #aaa;
        }

    .subscribe-form-kn button {
        background-color: #097b67;
        color: white;
        padding: 5px 20px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s ease;
        margin-top:10PX;
    }

        .subscribe-form-kn button:hover {
            background-color: #097b67;
        }

.message {
    margin-top: 15px;
    color: green; /* Or red for error messages */
    font-weight: bold;
    display: none; /* Hidden by default, shown with JavaScript */
}


/****************************************************************************************************************/
/*****************************************************************************    sliders  *************/
/**************************************************************************************************************/





.slidercontainer {
    padding: 40px 0;
    max-width: 800px;
}

#frame {
    margin: 0px auto;
    width: 100%;
    max-width: 100%;
    text-align: left;
   
}

.myslides {
    transform: translateX(-100%); /* Initially off-screen to the left */
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Custom timing function */
}

    .myslides.active {
        transform: translateX(0); /* Slides into view */
    }


#slides {
    padding: 10px 40px 40px 40px;
    background-color: #ffffff;
    border: 1px solid #E2E5E3;
    position: relative;
    z-index: 1;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
    border-radius: 10px;
}

#home-kidsslider #slides {
    padding: 10px 40px 40px 40px;
    background-color: #000000bb;
    position: relative;
    z-index: 1;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
    border-radius: 10px;
    border: 0px solid #ffffff;
}

    #home-kidsslider #slides .frame {
        background-color: transparent;
        padding: 10px 30px 30px 30px;
    }

    .card-icon {
        
        padding: 0px 0px 10px 0px;
    }

#overflow {
    width: 100%;
    overflow: hidden;
}


#slides .inner {
    transition: margin-left 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
    width: 100%;
    line-height: 1.5;
    height: 100%;
}

#slides .frame {
    width: 100%;
    float: left;
    display: flex;
    height: 200px;
    color: #000000;
    padding: 30px 30px 30px 30px;
}

#slides .frame-auto {
    width: 100%;
    float: left;
    display: flex;
    height: auto;
    color: #000000;
    padding: 30px 30px 30px 30px;
}

#slides .frame_1 {
    background: TRANSPARENT;
}

#slides .frame_2 {
    background: #ffffff;
}

#slides .frame_3 {
    background: #ffffff;
}





@media screen and (max-width: 900px) {


    #slides {
        max-width: calc(100% - 140px);
        margin: 0 auto;
    }
}

.mySlides {
    display: none
}

.slider-arrow-position {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%)
}

.w3-center .w3-bar {
    display: inline-block;
    width: auto
}

.w3-center .w3-bar-item {
    text-align: center
}

.w3-block {
    display: block;
    width: 100%
}

.w3-center {
    text-align: center !important
}

.w3-center-left-arrow {
    position: absolute;
    bottom: 50%;
    float: left !important;
    margin-left: 10px;
    padding: 8px;
}

.w3-center-right-arrow {
    position: absolute;
    bottom: 50%;
    float: right !important;
    margin-right: 10px;
    padding: 8px;
}

.w3-display-bottommiddle {
    position: absolute;
    left: 50%;
    bottom: 10px !important;
    transform: translate(-50%,0%);
    -ms-transform: translate(-50%,0%)
}

.w3-display-middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%)
}

.w3-left {
    float: left !important;
    margin-left: 10px;
    padding: 8px;
}

.w3-right {
    float: right !important;
    margin-right: 10px;
    padding: 8px;
}

.w3-left, .w3-right, .w3-badge {
    cursor: pointer
}

.w3-badge, .w3-tag {
    background-color: #C5C3C5 !important;
    color: #fff;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    height: 13px;
    width: 13px;
    padding: 0;
    border-radius: 50%
}

.w3-border {
    border: 1px solid #ffffff !important
}

.w3-transparent, .w3-hover-none:hover {
    background-color: transparent !important
}

.w3-light-green, .w3-hover-green:hover {
    color: #000 !important;
    background-color: #035651 !important
}

.w3-purple, .w3-hover-purple:hover {
    color: #fff !important;
    background-color: #9c27b0 !important
}

.w3-animate-fading {
    animation: fading 3s
}

@keyframes fading {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.w3-animate-opacity {
    animation: opac 0.8s
}

@keyframes opac {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.w3-animate-top {
    position: relative;
    animation: animatetop 0.4s
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.w3-animate-left {
    position: relative;
    animation: animateleft 0.4s
}

@keyframes animateleft {
    from {
        left: -300px;
        opacity: 0
    }

    to {
        left: 0;
        opacity: 1
    }
}

.w3-animate-right {
    position: relative;
    animation: animateright 0.4s
}

@keyframes animateright {
    from {
        right: -300px;
        opacity: 0
    }

    to {
        right: 0;
        opacity: 1
    }
}

.w3-animate-bottom {
    position: relative;
    animation: animatebottom 0.4s
}

@keyframes animatebottom {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

.w3-animate-zoom {
    animation: animatezoom 0.6s
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}







/*------------------------------------------------------------------------------- forms -------------------- */


label {
    font-weight: 300;
    font-size: 14px;
    font-family: 'Lato', sans-serif !important;
    line-height: 2;
    padding-left: 0px;
}

.contact-form-container {
    margin: 20px 20px 20px 40%;
    text-align: left;
}

.contact-form-container label{
   color:#ffffff;
   
}



.ubuntu-form-container {
    padding: 40px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 900px;
    margin: 10px auto 30px auto;
    border: 1px solid #E9EFEC;
    font-weight: 300;
    font-size: 14px;
}

    .ubuntu-form-container h2 {
        color: #333;
        margin-bottom: 10px;
    }

    .ubuntu-form-container p {
        color: #666;
        margin-bottom: 10px;
    }

.ubuntu-form-kn {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color:#ffffff;
}

    .ubuntu-form-kn input[type="text"] {
        padding: 2px 15px;
        border: 1px solid #ddd;
        border-radius: 2px;
        flex-grow: 1;
        font-size: 14px;
        width: 450px !important;
    }


    .ubuntu-form-kn input[type="email"] {
        padding: 2px 15px;
        border: 1px solid #ddd;
        border-radius: 2px;
        flex-grow: 1;
        font-size: 14px;
        width:450px!important;
    }


    .ubuntu-form-kn textarea {
        padding: 2px 15px;
        border: 1px solid #ddd;
        border-radius: 2px;
        flex-grow: 1;
        font-size: 14px;
        width: 450px !important;
    }


        .ubuntu-form-kn input[type="email"]::placeholder {
            color: #aaa;
        }

    .ubuntu-form-kn input[type="checkbox"] {
        margin: 4px 10px 0 0;
        border: 1px solid #eee;
        accent-color: #097b67 !important;
    }

    

    .ubuntu-form-kn-btn {
        background-color: #097b67;
        color: white;
        padding: 8px 20px;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s ease;
        margin-top: 10PX;
    }

        .ubuntu-form-kn button:hover {
            background-color: #097b67;
        }

.contact-form-kn-btn {
    background-color: #ffffff;
    color: #097b67;
    padding: 8px 20px;
    border: 3px solid #097b67;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin-top: 10PX;
}

.contact-form-kn button:hover {
    background-color: #eee;
}

.message {
    margin-top: 15px;
    color: green; /* Or red for error messages */
    font-weight: bold;
    display: none; /* Hidden by default, shown with JavaScript */
}



/****************************************************/
/*------------------------------------------------------------------------------- Footer */
/****************************************************/


#tf-footer {
    padding: 3% 0 2% 0;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
}

.footer-links-header{
    padding: 20px 0;
}

.footer-copyright {
    padding: 20px 0;
}


.card4-grid-container {
    text-align: center;
    margin: 0 12%;
}

.card4-grid-wrapper {
    display: grid;
    /* Creates as many columns as possible that are at least 200px wide, 
     and lets them grow to fill the available space equally (1fr) */
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px; /* Adds space between the columns and rows */
}

.card4-grid-card {
    background-color: #00000090;
    padding: 20px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 1px #333333;
}

.card-header {
    font-size: 18px;
    color: #abf7ea;
    font-weight: 500;
}




/*-------------------------------------------------------------------------------divider lines ----------------------- */

.iconline {
    line-height: 0.5;
    text-align: center;
    display: inline-block;
    position: relative;
}

.iconline span:before {
        right: 100%;
        margin-right: 10px;
    }

.iconline span:after {
        left: 100%;
        margin-left: 10px;
    }


.iconline span:before,
.iconline span:after {
        content: "";
        position: absolute;
        height: 5px;
        top: 20px;
        width: 340px;
    }

.iconline-flowers span:before,
.iconline-flowers span:after {
    
    top: 50px;
   
}


.iconline-margin1 {
    margin-bottom: 10px;
    margin-top: 10px;
}

.iconline-margin2 {
    margin-bottom: 10px;
    margin-top: 40px;
}

.iconline-margin3 {
    margin-bottom: 10px;
    margin-top: 20px;
}


/*GRAPE: #6E0252 */
/* GREEN: #097b67 */

.iconline-purple span:before,
.iconline-purple span:after {
    border-bottom: 6px double #F0F5F4; /* span line - light purple */
    box-shadow: 1px 2px 4px 0 rgba(74,74,74,0.1);
}

.iconline-green span:before,
.iconline-green span:after {
    border-bottom: 6px double #F0F5F4; /* span line - light purple */
    box-shadow: 1px 2px 4px 0 rgba(74,74,74,0.1);
}

.iconline-white span:before,
.iconline-white span:after {
    border-bottom: 1px solid #ffffff; /* span line - white  */
}

.iconline-none span:before,
.iconline-none span:after {
    border-bottom: 0px solid #ffffff; /* span line - none  */
}

#knowing-legalstuff .section-block{
    padding: 40px 5% 0 5%;
}



/**-----------------------------------------------------  memorials -----------------------------------------*/

#heroheader{
    color:transparent;
}

#hero-memorial-personal {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)), url(../img/hero/hero-memorial-1.jpg);
    background-size: contain;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw; /* Full viewport width */
    height: 250px;
}

.hero-memorials {
    background-color: #EBE6EB;
}


.hero-header-block-memorial {
    padding-top: 30px;
    margin: 0 0;
}

.hero-header-content-memorial {
    width: 100%;
    padding: 0 0 0 0;
}

.hero-header-memorial {
    font-family: 'Lato', sans-serif !important;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.2;
    color: #FFFFFF;
    text-align: center;
    margin: 4% 0;
    text-transform: uppercase;
    z-index: 2;
    padding: 0px 0 0 30px;
}


.rememberance-std-card2-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* Add spacing between columns */
}

.rememberance-std-card2-grid-card {
    background-color: #ffffff;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: solid 0px #333333;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    color: #333;
    padding: 40px;
    margin: 20px 0;
    opacity: 0.9;
}

.rememerance-card-img {
    width: 300px;
    height: 200px;
    padding: 0px;
    margin: 0 0 20px 0;
}

@media (max-width: 900px) {
    .rememberance-std-card2-grid-wrapper {
        grid-template-columns: 1fr;
    }
}


.margin-memorials{
    margin: 10px 0 0 0;
}

.padding-memorials {
    padding: 20px;
}


.std-card2-grid-card-memorials {
    background-color: #ffffff;
    width: 100%;
    height: auto;
    color: #333;
    padding: 40px 10px;
    margin: 10px 0;
    opacity: 0.9;
    text-align: center;
    border: solid 0px #333333;
}


.memorial-name-header {
    font-size: 24px;
    font-weight: 500;
    color: #097b67;
    padding: 10px 0;
}





.memorial-dates  {
    font-size: 18px;
    font-weight: 500;
    color: #097b67;
    padding: 10px 0;
}

.memorial-photo img {
    max-width: 400px;
    border-radius: 12px;
    margin: 2rem 0;
    border: solid 0px #FAF9FA !important;
    box-shadow: 3px 4px 4px 0 rgba(51,51,51,0.4);
}

.memorial-eulogy {
    line-height: 1.8;
    max-width: 700px;
    margin: 20px auto 0;
}

.memorial-relationships p {
    margin: 0.3rem 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #6E0252;
    padding: 10px 0;
}


.memorial-page {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.memorial-gallery-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 50%;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1; /* keep square */
    object-fit: cover; /* crop nicely */
    border-radius: 8px; /* slightly rounded corners */
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* soft shadow */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Mobile: keep 3 columns, just widen container */
@media (max-width: 768px) {
    .memorial-gallery-slider {
        width: 95%;
        max-width: none;
        grid-template-columns: repeat(3, 1fr); /* still 3 per row */
    }
}

@media (max-width: 360px) {
    .memorial-gallery-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}



.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    filter: brightness(1.05); /* slightly brighter on hover */
}

.gallery-thumb:focus {
    outline: 2px solid #007bff; /* visible focus ring */
    outline-offset: 2px;
}

    .memorial-gallery-slider img {
        height: 150px;
        cursor: pointer;
        border-radius: 6px;
        scroll-snap-align: start;
        transition: transform 0.2s ease;
    }

        .memorial-gallery-slider img:hover {
            transform: scale(1.05);
        }


    .memorial-gallery-slider::-webkit-scrollbar {
        display: none;
    }

.memorial-gallery-slider {
    scrollbar-width: none;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* === Lightbox overlay === */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative; /* NOT absolute */
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 🚨 THIS IS THE CRITICAL FIX */
#lightbox-img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 1;
}

/* Navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 0.4em 0.6em;
    cursor: pointer;
}

    .lightbox-nav.prev {
        left: -50px;
    }

    .lightbox-nav.next {
        right: -50px;
    }

/* Close button */
.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 3;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4); /* subtle button */
    color: #fff; /* ✅ white arrows */
    border: none;
    font-size: 32px;
    padding: 14px 18px;
    cursor: pointer;
    z-index: 10001;
    border-radius: 50%;
    transition: background 0.2s ease;
}

    .lightbox-nav:hover {
        background: rgba(0, 0, 0, 0.65);
    }

    /* Pull arrows inward from screen edges */
    .lightbox-nav.prev {
        left: 20px;
    }

    .lightbox-nav.next {
        right: 20px;
    }

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 36px;
        padding: 18px 22px;
    }
}

/* Hug button */
.hug-btn {
    display: inline-flex; /* Keep icon + text aligned */
    align-items: center;
    gap: 6px; /* space between heart and text */
    font-size: 14px;
    padding: 8px 14px;
    background-color: #097b67;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

    .hug-btn:hover {
        animation: heartbeat 2s ease-in-out infinite;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .hug-btn:focus {
        outline: none; /* ensures no focus outline appears */
    }

    .hug-btn:active {
        transform: scale(0.95); /* slight press effect */
    }

    .hug-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Heartbeat keyframes */
@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    
    50% {
        transform: scale(1.08);
    }
}


/* Falling hearts */
.falling-heart {
    position: fixed;
    top: -30px;
    font-size: 20px;
    pointer-events: none;
    animation: fall linear forwards;
    z-index: 99999;
    opacity: 0.8;
    /* ✅ Remove any border / spacing */
    border: none !important;
    outline: none !important;
    background: none;
    padding: 0;
    margin: 0;
}

@keyframes fall {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) scale(1.6);
        opacity: 0;
    }
}

.burst-heart {
    position: absolute; /* position relative to the button */
    pointer-events: none;
    z-index: 99999;
    font-size: 20px;
    opacity: 0.9;
    transform: scale(1);
    transition: transform 0.4s ease, top 0.8s ease, left 0.8s ease, opacity 0.8s ease;
}

