/*!
Theme Name: YouCan
Theme URI: 
Author: Shrinivas Naik
Author URI: 
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: youcan
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* #### Generated By: http://font.download #### */


body{
    font-family: "Bw Modelica SS01", Sans-serif;
}

/* Elementor button hacks */
.knowmore-btn .elementor-button-icon svg{
    height: 12px;
    margin-top: 2px;
}

p{
    margin-bottom: 0px;
}


/* header */
.menu-wrapper {
    /* background-color: #000000;
    padding: 0 6vw; */
    background-color: transparent;
    padding: 0 6vw;
    z-index: 999;
    left: 0;
    right: 0;
    position: absolute;
    top: 24px;
}
.navbar{
    padding: 0;
}
.navbar-brand img{
    height: 50px;
    margin-left: 20px;
}
.nav-link {
    display: flex;
    align-items: center;

    color: #FFFBEB;
    font-size: 16px;
    font-weight: 500;
    padding-top: 24px;
    padding-bottom: 24px;

    position: relative;

    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.primarymenu > li:not(:last-child){ 
    padding-left: 0rem !important;
    padding-right: 2.5rem !important;
}
.nav-link{
    padding-left: 0 !important;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    /* color: rgb(255 255 255); */
    color: #FFFBEB;
}
.nav-link:focus, .nav-link:hover {
    /* color: #fff; */
    color: #FFFBEB;
}
.navbar-nav .nav-link.active::before{ 
    content: '';
    margin: auto;
    display: block;
    position: absolute;
    bottom: 16px;
    left: 0;
    height: 3px;
    width: 24px;
    background-color: #FFFBEB;
    transform-origin: right top;
}
ul.dropdown-menu {
    background: #FFFFFF;
    margin-top: 0px !important;
    min-width: 180px;
    border-radius: 8px !important;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 10px !important;
    overflow: hidden;
}
a.dropdown-item {
    color: #000000;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.dropdown-item.active, .dropdown-item:active{
    background-color: #254D36;
    color: #fff;
}
.dropdown-item:focus, .dropdown-item:hover{
    background-color: #254D36;
    color: #fff;
}
a.dropdown-item:hover{
    /* padding-left: 60px; */
}
a.dropdown-item:hover::before{
    opacity: 1;
    left: 30px;
}
.dropdown-toggle::after {
    font-family: "Bootstrap-icons";
    content: "\F282" !important;
    border: 0;
    margin-left: 14px;
}
.navbar-scroll{
    position:fixed;
    top:0;
    left:0;
    padding-right: 6vw;
    padding-left: 6vw;
    width:100%;
    height: auto;
    z-index: 9999;
    /* background-color:rgba(255,255,255,0.8); */
    background-color: #000000;
    /* box-shadow: 0px 1px 8px 0px rgba(0,0,0,0.2); */
    /* padding:5px 20px; */
    transition:0.5s;
    /* animation:scroll 0.6s 1; */
    animation:scroll 1s 1;
    /* backdrop-filter: blur(10px); */
}

@keyframes scroll{
    0%{transform:translateY(-100%);}
    100%{transform:translateY(0%);}
}


.menu-wrapper-inner{
    border-radius: 12px;
    /* background-image: url("images/theme-texture.png"); */
    background-color: #1D472E;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* Contact form */
.contactform input, .contactform textarea, .contactform select{
    border: 0;
    border-radius: 10px;
    background-color: #f2f2f7;
    padding: 10px 13px;
    width: 100%;
    min-width: 100%;

    font-family: "Nunito", Sans-serif;
    font-size: 16px;
    font-weight: 500;
}
.contactform .form-input{
    display: block;
    margin-bottom: 24px;
	width: 100%;
}
.wpcf7-submit{
    background-color: #00A99D !important;
    color: #FFFFFF;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}
.wpcf7-submit:hover{
    background-color: #028D83 !important;
}
.wpcf7-not-valid-tip {
    color: #ff7b7b;
    margin-top: 6px;
    font-size: 14px;
}

.contactform p{
    margin-bottom: 18px !important;
}
.contactform label{
    margin-bottom: 10px;
}

.wpcf7-form .wpcf7-radio label {
    position: relative;
    cursor: pointer;
}
  
.wpcf7-form .wpcf7-radio input[type=radio] {
    position: relative;
    visibility: hidden;
    width: auto;
    min-width: auto;
}
  
.wpcf7-form .wpcf7-radio input[type=radio] + span {
  /*   border: 3px solid red;  */
  margin-left: 22px;
}
  
.wpcf7-form .wpcf7-radio input[type=radio] + span:before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 20px;
    width: 20px;
    top: 1px;
    left: 1px;
    border: 2px solid #254D36;
}
  
.wpcf7-form .wpcf7-radio input[type=radio] + span:after {
      display: block;
      position: absolute;
      content: '';
      border-radius: 100%;
      height: 10px;
      width: 10px;
      top: 6px;
      left: 6px;
      visibility: hidden;
      background: #fff;
      outline: 4px solid #254D36;
}
.wpcf7-form .wpcf7-radio input[type=radio]:checked + span:before {
    background: transparent;
  /*     border-color: red; */
}
.wpcf7-form .wpcf7-radio input[type=radio]:checked + span:after {
    background: #fff;
    visibility: visible;
}
.wpcf7-radio .first{
    margin: 0 0 0 0;
}  
.contactform {
    font-family: "Nunito", Sans-serif;
}
.contactform label{
    font-family: "Nunito", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1D472ECF;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #8E8E93;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #8E8E93;
}

.wpcf7-submit{
    background-color: #C15751 !important;
    color: #FFFFFF;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 18px !important;
    width: auto !important;
    min-width: auto !important;
    border-radius: 47px !important;
    padding-left: 46px !important;
    padding-right: 46px !important;
    margin-top: 10px;
    transition: all 0.2s ease-in-out;

    font-family: "Bw Modelica SS01", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}
.wpcf7-submit:hover{
    background-color: #254D36 !important;
}

:focus-visible {
    outline: none;
}

/* Homepage */
.leaf1{
    animation: blow 3s ease-in-out infinite;
}
.leaf2{
    animation: blow 5s ease-in-out infinite;
    /* animation: leafanimation 6s linear; */
}
@keyframes leafanimation {
    0% {transform:translate(900px,500px) rotate(0deg); color:rgba(255,0,0,0);}
   20% {transform:translate(850px,450px) rotate(360deg); color:rgba(255,0,0,0);}
   40% {transform:translate(450px,200px) rotate(720deg); color:rgba(255,0,0,0);}
   60% {transform:translate(100px,100px) rotate(1080deg); color:rgba(255,0,0,0);}
   80% {transform:translate(0,0) rotate(1440deg); color:rgba(255,0,0,0);}
  100% {transform:translate(0,0) rotate(1440deg); color:rgba(255,0,0,1);}
}
@keyframes blow {
    0% {
      transform: translateX(0) rotate(0deg) scale(1);
    }
    25% {
      transform: translateX(5px) rotate(2deg) scale(1.01);
    }
    50% {
      transform: translateX(-5px) rotate(-2deg) scale(1);
    }
    75% {
      transform: translateX(3px) rotate(1deg) scale(0.99);
    }
    100% {
      transform: translateX(0) rotate(0deg) scale(1);
    }
  }

/* Sell Waste page */
.ecoLeadersSwiper {
    padding: 10px 10px 10px 10px !important;
}
.ecoLeadersSwiper .swiper-slide{
    box-shadow: 0px 1px 7.5px rgba(0, 0, 0, 0.24);
    border: 1px solid #254d3657;
    border-radius: 16px;
    overflow: hidden;
    height: auto;
    background-color: #FFFBEB;
}
.eco-leader-card{
    padding: 1.5rem;
}
.eco-leader-card-title_wrap{
    display: flex;
    align-items: center;
    gap: 20px;
}
.eco-leader-card-img{
    display: flex;
    flex-shrink: 0;
}
.eco-leader-card-title_wrap img{
    height: 110px;
    width: 110px;
}
.eco-leader-card-title h4{
    color: #C15751;
    font-family: "Bw Modelica SS01", Sans-serif;
    font-size: 24px;
    font-weight: 500;
}
.eco-leader-card-title h5{
    color: #C15751;
    font-family: "Bw Modelica SS01", Sans-serif;
    font-size: 20px;
    font-weight: 500;
}
.eco-leader-card-content {
    margin-top: 0.8rem;
}
.eco-leader-card-content p{
    color: #1D472E;
    font-family: "Futura PT", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.ecoLeadersSwiper-pagination{
    /* bottom: -60px; */
    text-align: center;
    margin-top: 30px;
}

.ecoLeadersSwiper-pagination .swiper-pagination-bullet{
    width: 12px;
    height: 8px;
    color: rgba(37, 77, 54, 0.2);
    border-radius: 6px;
}

.ecoLeadersSwiper-pagination .swiper-pagination-bullet-active{
    color: #254D36;
    background: #254D36;
    width: 64px;
    border-radius: 6px;
}

/* Buy Waste Page */
.collectorsSwiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.collectorsSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collectorsSwiper .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.5;
    transform: scale(0.9);
}

.collectorsSwiper-pagination{
    text-align: center;
    margin-top: 30px;
}
.collectorsSwiper-pagination .swiper-pagination-bullet{
    width: 12px;
    height: 8px;
    color: rgba(37, 77, 54, 0.2);
    border-radius: 6px;
}
.collectorsSwiper-pagination .swiper-pagination-bullet-active{
    color: #254D36 !important;
    background: #254D36;
    width: 64px;
    border-radius: 6px;
}

/* Newsletter */
.newsletter-form{
    display: flex;
    align-items: center;
    gap: 10px;
}
#newsletterEmail{
    padding: 10px 20px;
    border-radius: 31px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
}
.subscribeBtn{
    padding: 10px 25px;
    border-radius: 31px;
    background: #fff;
    border: none;
    color: #254D36;
    font-size: 16px;
}
.newsletter-response{
    color: #254D36;
    font-size: 14px;
    margin-top: 14px;
    background: #fffbeb;
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-flex;
    display: none;
}

@media(max-width:1200px) {
    .menu-wrapper {
        padding: 0px 4vw;
      }
      .menu-wrapper-inner {
        padding: 8px;
      }
      .navbar-nav {
        padding: 0 20px;
      }
      .nav-link {
        padding-top: 14px;
        padding-bottom: 14px;
      }
      .navbar-nav .nav-link.active::before{
        bottom: 6px;
      }
}

@media(max-width:767px) {
  .menu-wrapper {
    padding: 0px 4vw;
  }
  .menu-wrapper-inner {
    padding: 8px;
  }
  .navbar-nav {
    padding: 0 20px;
  }
  .nav-link {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .navbar-nav .nav-link.active::before{
    bottom: 6px;
  }

  .eco-leader-card-title_wrap img {
    height: 80px;
    width: 80px;
  }
  .eco-leader-card-title_wrap {
    gap: 10px;
  }

  #newsletterEmail{
    width: 60%;
  }
  .subscribeBtn{
    width: 40%;
  }
}


/* Elementor hack for Bootstrap 5 xx-large breakpoint (≥1400px) */
@media screen and (min-device-width: 1400px) {
    .e-con-boxed > .e-con-inner {
        max-width: 1320px !important;
        padding-right: calc(1.5rem * .5);
        padding-left: calc(1.5rem * .5);
    }

    /* .elementor-section.elementor-section-boxed > .elementor-column-gap-no {
        padding-right: 0 !important;
        padding-left: 0 !important;
    } */
}
