@import url('/vendor/fonts/fira-sans.css');

/* Local copy: the live site relies on the browser's default white page; dark-mode browsers show black behind the pattern. */
html { background-color: #fff; color-scheme: light; }

:root {
    --white: #fff;
    --active: #3f721a;
    --darker-green: #204A11;
    --normal-green: #63b51a;
    --other-green: #bfd834;
    --btn-hover: #7EA759;
    --dark-green: #005f5b;
    --paragraph: #003330;
    --bs-btn-active-bg: #7EA759 !important;
    --red: #a44105;
    --green: #57aa14;
}

body {
    font-family: 'Fira Sans', sans-serif;
    transition-timing-function: ease-in;
    transition:200ms;
    background: url('/assets/main/background-main-01.svg');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

a, p, h1, h2, h3, h4, h5, h6 {
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    --bs-btn-active-bg: #7EA759 !important;
}

.h4-about {
    color: var(--dark-green);
    font-weight: 500;
}

.normal-green {
    color: var(--normal-green);
}

.btn {
    transition: 300ms;
    background-color: var(--normal-green) ;
    outline: none;
    border-radius: 36px;
    padding: 0.1em 0;
    cursor: pointer;
    font-weight: 500;
    transition: filter .1s;
    color: #fff;
    filter: drop-shadow(0px 0px 16px rgba(7, 82, 7, 0.25));
    border: none;
    width: 20rem;
    font-size: 1.7rem;
}

.btn:hover, .btn::after, .btn:active, .btn::after{
    background-color: var(--btn-hover);
    transition: 300ms;
}






/* Hero Section */

.hero {
    background: url('/assets/home/bck_top.jpg') no-repeat center center;
    background-size: cover; 
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.h1-hero, .h2-hero{
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 400;
}

.h2-hero {
 color: var(--other-green) !important;
 font-weight: 500;
}


/* End of hero section */

/* About us section & more */

.h2-normal{
    color: var(--dark-green);
    font-weight: 500;
    font-size: 4rem;
}

.hr-about-us{
    border:3px solid #005f5b;
    opacity: 100%;
    width: 35%;
}


.paragraph-dark {
    color: var(--paragraph);
}

.box-who-we-are {
    background-color: #FCFDF5;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers content vertically in the box */
    align-items: center;
    height: 100%; /* take up full height of parent .col-lg-4 */
    position: relative;

}

.box-who-we-are img {
    max-width: 100px;
    margin-bottom: auto;
}

.box-who-we-are p {
    flex-grow: 2; 
    display: flex; 
    align-items: center;
    justify-content: center;
    text-align: left;
}


.box-who-we-are hr {
    border:5px solid var(--normal-green);
    opacity: 100%;
    width: 30%;
    align-self: flex-start;
}

.ceii-lg{
    display: unset;
}

.ceii-sm{
    display: none;

}

.ceii-sm img{
    max-width: 100%;
}

.ceii-sm-waste {
    font-weight: 500;
    font-size: 24px;
    color: #6EBC38;
}

.ceii-sm-better {
    font-weight: 500;
    font-size: 24px;
    color: #33661B;
}

.box-ceei {
    background-color: #FCFDF5;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    border-radius: 20px;
    position: relative;
}

.box-ceei h2 {
    font-size: 30px;
}


.box-ceei hr {
 
    border:3px solid #005f5b;
    opacity: 100%;

}

.img-box-ceii-lg {
    max-width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

.txt-rhs-left {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 42%;
    z-index: -1;
    margin: 0 1rem;
    font-size: 20px;
    font-weight: 500;
    color: #6CBC39;
}

.txt-rhs-right {
    
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    top: 42%;
    z-index: -1;
    margin: 0 1rem;
    font-size: 20px;
    font-weight: 500;
    color: #33661B;
}

.box-process{
    background-color: var(--dark-green);
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers content vertically in the box */
    align-items: center;
    height: 100%; /* take up full height of parent .col-lg-4 */
    position: relative;

}

.box-process img {
    max-width: 100px;
    margin-bottom: auto;
}

.box-process p {
    flex-grow: 2; 
    align-items: center;
    justify-content: center;
    text-align: left;
    font-size: 18px;
    color: var(--white);
}


.box-process hr {
    border:5px solid var(--white);
    opacity: 100%;
    width: 30%;
    align-self: flex-start;
}

.line{
    border:1px solid var(--white) !important;
    opacity: 100% !important;
    width: 100% !important;
    align-self: center !important;
}

.line-hr {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: stretch;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.box-team {
    background-color: #FCFDF5;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers content vertically in the box */
    align-items: center;
    height: 100%; /* take up full height of parent .col-lg-4 */
    position: relative; 
}

.box-team h4, h6 {
    color: var(--dark-green);
}
.box-team i {
    color: var(--normal-green);
    width: 30px;
}

.box-team img {
    width: 150px;
}

.end-page hr{
    border: 2px solid var(--normal-green);
    opacity: 100%;
    width: 100%;
    position: relative;
    z-index: 1; /* Lower z-index */
}

.end-page {
    text-align: center;
    position: relative;
    z-index: 0;
}

.box-end{
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    background: #FCFDF5;
    border-radius: 15px;
    /* display: flex;
    flex-direction: column;
    justify-content: center; /* centers content vertically in the box */
    /* align-items: center; */ 
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    position: absolute;
    z-index: 5;
}

.box-end img {
    max-width: 150px;
}

.footer-bg {
    background-color: var(--normal-green);
}

.footer-link {
    color: white;
    font-weight: 500; /* Medium weight */
    text-decoration: none; /* Removes underlining from links */
    transition: 0.3s;
}

.footer-link:hover {
    text-decoration: none; /* Adds underlining to links when hovered */
}

.navbar-toggler{
    border: none;
}

.navbar-toggler:focus{
    box-shadow: none;
}

.navbar-toggler {
    background-color: var(--normal-green);
}

.navbar-toggler-icon {
    filter: invert(100%) brightness(1.5);
}

.expertise {
    background-color: #FCFDF5;;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    border-radius: 15px;
}

.expertise img {
    max-width: 100px;
}

.expertise {
    color: var(--dark-green);
}

.expertise-hr {
    border:3px solid var(--dark-green);
    opacity: 100%;
    width: 100%;
    height: 0;
}


.box-our-offers {
    background-color: #FCFDF5;;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers content vertically in the box */
    align-items: center;
    height: 100%; /* take up full height of parent .col-lg-4 */
    position: relative;

}

.box-our-offers img {
    max-width: 60px;
    margin-bottom: auto;
}

.box-our-offers p {
    flex-grow: 2; 
    display: flex; 
    align-items: center;
    justify-content: center;
    text-align: left;
}


.box-our-offers hr {
    border:5px solid var(--normal-green);
    opacity: 100%;
    width: 30%;
    align-self: flex-start;
}

.box-our-offers h5 {
    color: var(--dark-green);
}


.box-cotwo {
    background-color: #FCFDF5;;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    border-radius: 20px;
    position: relative;
}

.box-cotwo {
    font-size: 30px;
}


.box-cotwo hr {
 
    border:3px solid #005f5b;
    opacity: 100%;


}

.img-box-cotwo {
    max-width: 28%;
    position: relative;
    left: 0;
    right: 0;
}

.cotwo-lg {
    display: unset;
}

.box-cotwo  h2 {
    font-size: 30px;
    color: var(--dark-green);
}

.info-co2{
    position: relative;
    color: white;
    background: rgb(13,146,157);
    width: 45%;
    margin: 0;
    left: 0;
    margin-left: -4%;

}

.info-co2 h2{
    color: white;
}

.saving-landfill-lg{
    font-size: 18px;
    color: #7CE213;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.saving-landfill-lg hr {
    border: 3px solid #7CE213;
    height: 5.5rem;
}

.saving-transport-lg{
    font-size: 18px;
    color: #5059AB;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.saving-transport-lg hr {
    border: 3px solid #5059AB;
    height: 5.5rem;
}



.purchasing-carbon-lg {
    font-size: 18px;
    color: #01cc9b;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.purchasing-carbon-lg hr {
    border: 3px solid #01cc9b;
    height: 5.5rem;
}



.replacing-burning-lg{
    font-size: 18px;
    color: #14a0c0;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.replacing-burning-lg hr {
    border: 3px solid #14a0c0;
    width: 100%;
}

.cotwo-large{
    display: unset;
}


/* Mobile CO2 Emissions */

.saving-landfill-sm{
    color: #7ce213;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    align-content: space-between;
    align-items: center;
    justify-content: space-evenly;
    font-weight: 500;
}

.saving-landfill-sm h4 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.bullet-landfill {
    background-color: #7ce213;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    align-content: center;
    justify-content: center;
    width: 100px;
    border-radius: 0 30px 30px 0;
 }

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


 .purchasing-carbon-sm{
    color: #01cc9b;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    align-content: space-between;
    align-items: center;
    justify-content: space-evenly;
    font-weight: 500;
}

.purchasing-carbon-sm h4 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.bullet-purchasing-carbon {
    background-color: #01cc9b;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    align-content: center;
    justify-content: center;
    width: 100px;
    border-radius: 30px 0 0 30px;
 }

 .bullet-purchasing-carbon img {
    transform: rotateY(180deg);
 }

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

.replacing-burning-sm{
    color: #139fc0;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    align-content: space-between;
    align-items: center;
    justify-content: space-evenly;
    font-weight: 500;
}

.replacing-burning-sm h4 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.bullet-replacing-burning {
    background-color: #139fc0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    align-content: center;
    justify-content: center;
    width: 100px;
    border-radius: 0 30px 30px 0;
 }

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

 .saving-transport-sm{
    color: #5058ab;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    align-content: space-between;
    align-items: center;
    justify-content: space-evenly;
    font-weight: 500;
}

.saving-transport-sm h4 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.bullet-saving-transport {
    background-color: #5058ab;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    align-content: center;
    justify-content: center;
    width: 100px;
    border-radius: 30px 0 0 30px;
 }

 .bullet-saving-transport img {
    transform: rotateY(180deg);
 }

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

 .netsaving-sm{
    color: #fff;
    display: flex;
    flex-direction: row;
    font-size: 16px;
    align-content: space-between;
    align-items: center;
    justify-content: space-evenly;
    font-weight: 500;
    background-color: #08909F;
}

.netsaving-sm h4 {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.bullet-netsaving{
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: center;
 }

.cotwo-mobile{ 
    display: none;
}
 
 /* End of Mobile Co2 Emissions */

 .bio-description{
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-green);
 }

 .h2-alternative{
    color: var(--dark-green);
    font-weight: 500;
    font-size: 3rem;
}

.box-1, .box-2, .box-3, .box-4, .box-5, .box-6, .box-7  {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover !important;
    padding: 20px;  /* Add padding around the text */
    display: flex;
    border-radius: 10px;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    
}

.box-1 {
    background: url('/assets/about-rdf/box-1.svg') no-repeat center center;

}

.box-2 {
    background: url('/assets/about-rdf/box-2.svg') no-repeat center center;

}

.box-3 {
    background: url('/assets/about-rdf/box-1.svg') no-repeat center center;

}

.box-4 {
    background: url('/assets/about-rdf/box-4.png') no-repeat center center;
    height: 350px;
}

.box-5 {
    background: url('/assets/about-rdf/box-1.svg') no-repeat center center;
    min-height: 200px;
}

.box-6 {
    background: url('/assets/about-rdf/bales_vertical.jpg') no-repeat center center;
    min-height: 750px;
}

.box-7 {
    background: url('/assets/about-rdf/box-7-05.svg') no-repeat center center;
    min-height: 400px;
}

.border-box {
    position: relative; /* this is the key */
}

.box-hr {
    border: 2px solid #005f5b;
    opacity: 1;
    position: absolute; /* will take it out of the normal document flow and position relative to the nearest positioned ancestor */
    left: 0;
    top: 50%; /* start positioning it from the vertical center of border-box */
    transform: translateY(-50%); /* ensures the vertical hr is truly centered within border-box */
    height: calc(100% - 40px); /* adjust this if you want to control the length of the HR, 40px is just an arbitrary value I chose to reduce the hr length */
}

.bullet-span-box1 {
    position: absolute;
    left: 2px;
    width: 1em;
    height: 1em;
    border-radius: 10em;
    background: #005f5b;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.bullet-span-box2 {
    position: absolute;
    left: 2px;
    width: 1em;
    height: 1em;
    border-radius: 10em;
    background: #005f5b;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.bullet-span-box3 {
    position: absolute;
    left: 2px;
    width: 1em;
    height: 1em;
    border-radius: 10em;
    background: #005f5b;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}


.bullet-span-box4 {
    position: absolute;
    left: 2px;
    width: 1em;
    height: 1em;
    border-radius: 10em;
    background: #005f5b;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.bullet-span-box5 {
    position: absolute;
    left: 2px;
    width: 1em;
    height: 1em;
    border-radius: 10em;
    background: #005f5b;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.bullet-span-box6 {
    position: absolute;
    left: 2px;
    width: 1em;
    height: 1em;
    border-radius: 10em;
    background: #005f5b;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.bullet-span-box7 {
    position: absolute;
    left: 2px;
    width: 1em;
    height: 1em;
    border-radius: 10em;
    background: #005f5b;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}


.info-code-practice{
    position: relative;
    color: #57aa14;
    background: rgb(13,146,157);
    margin: 0;
    left: 0;
    margin-left: -4%;
    background-color: #FCFDF5;
    -webkit-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    box-shadow: -3px -1px 31px 0px rgba(0,0,0,0.1);
    max-width: 75%;

}

.span-red{
    content: "------";
    color: transparent;
    height: 100%;
    width: 3rem;
    height: 1.5rem;
    margin-right: 1.5em;
    font-size: .75em;
    line-height: .75em;
    vertical-align: middle;
    background: var(--red);
}

.span-green{
    content: "------";
    color: transparent;
    height: 100%;
    width: 3rem;
    height: 1.5rem;
    margin-right: 1.5em;
    font-size: .75em;
    line-height: .75em;
    vertical-align: middle;
    background: var(--green);
}

.text-red {
    color: var(--red);
}

.text-green {
    color: var(--green);
}

.text-dark-green{
    color: var(--dark-green);
}

.code-wrapper {
    display: inline-block;
}

.code-wrapper hr {

width: calc(100% - 25%); 
border:3px solid #005f5b;
opacity: 100%;
}

.key-green, .key-red{

    font-size: 20px;

}

.code-of-practice-card{
    background: #FCFDF5;
    min-height: 34rem;
    border-radius: 0 8rem 0 0;
    box-shadow: 0 0 60px 30px #2f700718;
}

.code-of-practice-card h2 {
    color: var(--green);
    font-size: 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.code-of-practice-card .flex-grow {
    flex-grow: 1;
  }

.number-wrapper{
    padding-left: 1em;
    padding-top: 0.5em;
    flex-direction: row;
    box-sizing: border-box;
    display: flex;

}
.span-wrapper{
flex-direction: row;
    box-sizing: border-box;
    display: flex;
    place-content: center space-between;
    align-items: center;
    flex-grow: 1;
    margin-left: 3em;
    
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

.span-wrapper span {
    width: 0.5em;
    height: 0.5em;
    border-radius: 0.5em;
    background: #5db316;
}

.bg-dark-dot{
    background: var(--dark-green) !important;
}

.span-card-red, .span-card-green{
    content: "------";
    color: transparent;
    min-width: 0.5rem;
    margin-right: 0.2rem;
    vertical-align: middle;
    opacity: 1;

}


.span-card-green {
background: var(--green);}

.span-card-red {
background: var(--red);}

.card-key-red, .card-key-green{
    line-height: 1.5rem;
    font-size: 15px;
    font-weight: 500;
}

.img-card{ 
    max-width: 75px;
}

.end-page-card {
    text-align: center;
    position: relative;
    z-index: 0;
}


/* Contact page */
#contact .form-group {
    position: relative;
    margin-bottom: 2rem;
}

#contact .form-label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.75rem 1rem;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

#contact .form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: transparent;  /* This line was updated */
    background-clip: padding-box;
    border: none; /* Remove border */
    border-bottom: 2px solid #e0e0e0; /* Add border bottom */
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#contact .form-control:focus {
    border-bottom-color: #28a745; /* Green border on focus */
}

#contact .form-control:focus + .form-label,
#contact .form-control:not(:placeholder-shown) + .form-label {
    transform: translate(0, -50%) scale(0.85);
    font-size: 0.8rem;
}

/* Additional styles to ensure full height */
#contact .row {
    min-height: 500px; /* You may adjust this value */
}

#contact form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact .form-control:focus {
    border-bottom-color: #28a745;  /* Green border on focus */
    outline: none;  /* No outline */
    box-shadow: none;  /* No box shadow */
}

.display-language{
   
        color: green !important;
        display: flex;
        flex-direction: column;
        width: 100px;
        margin-left: 10px;
    }


    .display-language span {
        font-size: 1rem !important;
        color: var(--normal-green) !important;
        text-decoration: none;
    }

    .display-language img {
        display: none !important;
    }

