
:root {
  --light-color: #fff;
  --dark-color: #1a1e25;
  --green-color: #9FE200;
  --header-color: #ffffffd2;
  --acrylic-dark: #00000049;
  --com-font-size: 1rem;
  --com-font-family: 
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  --text-color: #2b2e31;
  --bkg-color: #fff;
  --header-color: #ffffffd2;
}
body.dark-theme {
  --text-color: #eee;
  --bkg-color: #272727;
  --header-color: #000000d2;
}

@media (prefers-color-scheme: dark) {
  /* defaults to dark theme */
  body {
    --text-color: #eee;
    --bkg-color: #272727;
    --header-color: #000000d2;
    --green-color: #ec1c23;
    --acrylic-color: #00000049;
  }
  body.light-theme {
    --text-color: #2b2e31;
    --bkg-color: #fff;
    --acrylic-color: #ffffff49;
    --header-color: #ffffffd2;
  }
}

body {
  
  background: var(--bkg-color);
  color: var(--text-color);
  font-size: var(--com-font-size);
}

table{
  color: var(--text-color);
}

#header{
  transition: all 0.5s;
  z-index: 997;
}

#header.header-scrolled, #header.header-inner-pages{
  background-color: var(--header-color);
}

footer{
  color: white;
}
footer a{
  color: white;
  font-size: 1.15rem;
}

::selection{
  background-color: #eb1c23;
  color: rgb(255, 255, 255);
}

h1{
    font-size: 3.5rem;
    font-weight: 700;
}
@media screen and (max-width: 680px) {
  h1{
    font-size: 2rem;
  }
  
}
h3{
  font-weight: 600;
}
a{
  text-decoration: none;
  color: var(--text-color);
}
a:hover{
  color: red;
}

/* img{
    width: 100%;
} */

.hr1 hr{
    height: 4px;
    color: #66B54C;
    opacity: 0.5;
}
/* hr:not([size]){
    height: 1px;
} */

.hero-text{
    position: absolute;
    bottom: 10%;
    left: 12%;
    color: #ffffff;
}
.navbar-light .navbar-nav .nav-link{
  color: var(--text-color);
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgb(0 0 0 / 0%);
  position: relative;
  overflow: hidden;
}
.navbar-light .navbar-nav .nav-link:before{
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: var(--green-color);
  height: 2px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link{
  /* border-bottom: 3px solid var(--green-color); */
  color: #ec1c23;
}
.navbar-light .navbar-nav .nav-link:hover:before, .navbar-light .navbar-nav .nav-link:focus:before{
  color: #ec1c23;
  right: 0;
}


.hvr-underline-left{
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgb(0 0 0 / 0%);
  position: relative;
  overflow: hidden;
}
.hvr-underline-left:before{
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: var(--green-color);
  height: 3px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-left:hover:before, .hvr-underline-left:focus:before, .hvr-underline-left:active:before{
  right: 0;
}

.acrylic{
  backdrop-filter: saturate(200%) blur(25px);
  background-color: var(--acrylic-color);
}

.acrylic-shadow{
box-shadow: inset 0 0px 1px 1px rgb(254 254 254 / 20%), -6px 0px 27px 0 rgb(0 0 0 / 15%) !important;
}
.shadow-blur{
box-shadow: 2px 18px 27px  #002d612c!important;
}

.serca{
  position: relative;
  min-width: 270px;
  height: 390px;
  padding: 20px;
  margin: auto;
  background-color: #ececec56;
  overflow: hidden;          
  -webkit-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out;
  -webkit-box-shadow: 0px 8px 18px #1b6d0052;
  box-shadow: 0px 8px 18px #1a680036;
}
.serca .icon {
  color: #9FE200;
  font-size: 6rem;
}

.serca h5{
  font-size: 24px;
  color: #1b1b1b;
}

.serca p{
  color: #222222;
  font-size: 16px;
  height: 20%;
}

.serca a{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.serca:hover,.serca.active{
  background: linear-gradient(180deg, #66B54C 0%, #9FE200 100%);
  -webkit-box-shadow: none;
          box-shadow: none;
  color: white;
}
.serca:hover .icon,
.serca:hover h5,
.serca:hover p{
  color: white !important;
  -webkit-transition: .3s all ease-in-out;
  transition: .3s all ease-in-out;
} 

.card {
  background-color: var(--bkg-color);
}
.card-text{
  font-size: 0.85rem;
}

.bg-grey{
  background-color: #afafaf3a;
}
.bg-com{
    background-image: radial-gradient(#9FE200 , #66B54C);
}
.bg-com1{
    background-image: linear-gradient(to bottom right, #9ee200af, #5dec2ebd, #66b54cd7);
}

.offcanvas-end{
  width: 350px;
}
.text-green{
  color: var(--green-color);
}
.page-link{
  font-weight: 500;
  color: var(--text-color);
  border: none;
  background-color: transparent;
}
.page-item.active .page-link{
  color: var(--green-color);
  background-color: transparent;
  border: none;
}
.cover{
  position: absolute;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), #00000011,var(--bkg-color));
  width: 100%;
  height: 100%;
  z-index: 1;
}

.log-bg{
  background-image: url("assets/testimonials-bg.jpg");
  background-size: cover;
  background-position: center;
}

.form-control{
  background-color: #ffffff70;
  border: 1px solid #9797978c;
}
.form-label{
  color: var(--text-color);
}
.current{
  color: var(--green-color);
}
.back-to-top{
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--green-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}
.back-to-top.active{
  visibility: visible;
  opacity: 1;
}

.client{
  width: 150px;
  height: fit-content;
}
.site-card-img{
  object-fit: cover;
}
/* hover effects */
.hvr2{
  transition: .3s all ease-in-out;
}
.hvr2:hover{
  transform: translateY(16px);
  transition: .3s all ease-in-out;
}
@media screen and (max-width: 980px) {
  .navbar-collapse{
    background-color: var(--header-color);
    padding: 12px;
  }
}