@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

:root {
    --primary-color: #16a085;
    --secondary-color: #1abc9c;
    --border-color: #0baf8e;
  }

body {
  background-color: var(--primary-color);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color : var(--primary-color);
}

a:hover{
  color: var(--secondary-color);
}

p,
a,
span {
  font-family: "Lato", sans-serif !important;
}

.primary-bg {
  background-color: var(--primary-color);
}

.primary-btn{
    background-color: var(--primary-color);
    color : #fff;
    transition: all 1s;
}

.primary-btn:hover{
    background-color: var(--secondary-color);
    color: #fff;
}

.active>.page-link{
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-link{
  color: var(--secondary-color)
}

input:focus,textarea:focus{
    box-shadow : none !important;
    border-color : var(--border-color) !important;
}

#main {
  display: none;
}

section:not(:first-of-type) {
  padding: 5em 1em;
}

.main-title {
  text-transform: uppercase;
}

/* Top Button */

#topBtn {
  /* display: none; */
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  text-align: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 0.75em;
  transition: all 1s;
  border: 1px solid #fff;
}

#topBtn:hover {
  cursor: pointer;
  background: var(--primary-color);
  box-shadow: 2px 2px 5px #5c5b5b;
  /* color: #fff; */
  border-color : transparent;
}

/* loader */

#loader {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
}

#loader img {
  width: 25em;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/* Navbar */

#mainNavbar {
  font-size: 1.25rem;
  font-weight: 100;
  transition: background 500ms;
}

#mainNavbar .nav-link {
  color: white;
  padding: 1em 1.2em;
  font-size: 0.9em;
  transition: all 1s;
  display: block;
  position: relative;
}

#mainNavbar .nav-link:hover {
  color: var(--secondary-color);
}

#mainNavbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 80%;
  height: 0.1em;
  background-color: var(--secondary-color);
  transition: opacity 300ms, transform 300ms;
  opacity: 1;
  transform: scale(0);
  transform-origin: center;
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-link:focus::after {
  opacity: 1;
  transform: scale(1);
}

/*#mainNavbar .navbar-brand {
    color: #EA1C2C;
    font-size: 1.5rem;
}*/

.navbar.scrolled {
  background: var(--secondary-color);
  transition: background 500ms;
}

/* Banner */

#banner {
  height: 100vh;
  padding: 0 1em !important;
}

#banner p {
  margin: 0 !important;
  font-size: 1.15em;
}

#inner-banner {
  height: 40vh;
  text-align: center;
}

#banner #text-box a{
    background-color: transparent;
    color: #fff;
    border : 3px solid var(--secondary-color);
    padding: 10px 50px;
    margin-top:15px;
    transition: all 2s;
}

#banner #text-box a:hover{
  background-color: var(--secondary-color);
}
/* About */

/* #about img {
  border: 5px solid var(--border-color);
  border-radius: 1.25em;
} */


.about-img{
  position: relative;
}

.about-img::before {
  position: absolute;
  left: 20px;
  top: -10px;
  width: 60px;
  height: 60px;
  z-index: 1;
  content: "";
  border-left: 5px solid var(--primary-color);
  border-top: 5px solid var(--primary-color);
  transition: 0.5s;
}

.about-img::after {
  position: absolute;
  right: 20px;
  bottom: -10px;
  width: 60px;
  height: 60px;
  z-index: 2;
  content: "";
  border-right: 5px solid var(--primary-color);
  border-bottom: 5px solid var(--primary-color);
  transition: 0.5s;
}

/* Services */

#services img {
  width: 100%;
}

#services .img-box {
  width: 90px;
  height: 120px;
  /* border: 2px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%; */
  margin: 0 auto;
  display: flex;
  align-items: center;
  /*background : var(--secondary-color);*/
}

#services .img-box.delivery{
  width: 130px;
}

/*Wholesale*/

#wholesale a {
  transition: all 1s;
}

#wholesale a:hover {
  background-color: transparent;
  color: #fff;
}

/* Footer */

footer {
  background-color: var(--primary-color);
}

#footer {
  padding: 7em 1em;
  color: #fff;
}

#footer h4 {
  margin-bottom: 1em;
}

#footer p {
  margin: 0 0 20px 0 !important;
}

/* #footer #about span{
    font-size : .9em;
} */

.social-icon a {
  /*color : #ccc;*/
  font-size: 1.25em;
  padding-right: 0.8em;
  text-decoration: none;
}

.social-icon i {
  transition: all 1s;
  /* border : 1px solid rgba(0, 0, 0, .2);
    border-radius: 50%; */
  /* background : rgba(0, 0, 0, .3); */
  color: #faf7f7;
  /* padding : .35em; */
}

.social-icon i:hover {
  /* background : rgba(0, 0, 0, .8); */
  color: var(--secondary-color);
}

.shortcuts a {
  display: block;
  margin: 10px 0px;
  color: #fff;
  transition: all 1s;
}

.shortcuts a:hover {
  color: var(--secondary-color);
}

#copyright {
  background-color:  var(--secondary-color);
  color: #fff;
}

#copyright span {
  /* font-family: 'Tahoma'; */
  letter-spacing: 1px;
  font-size: 14px;
}

#copyright div {
  padding: 0.4em;
}

/*Carousel*/

#best-sellers .carousel-item img {
  padding: 0.25em;
}

.carousel-control-prev,
.carousel-control-next {
  height: 40px;
  width: 40px;
  padding: 10px;
  border-radius: 50%;
}

.carousel-control-prev {
  position: absolute;
  top: 45%;
}

.carousel-control-next {
  position: absolute;
  top: 45%;
}

@media (max-width: 992px) {
  #best-sellers .carousel-inner .carousel-item > div {
    display: none;
  }
  #best-sellers .carousel-inner .carousel-item > div:first-child {
    display: block;
  }
}

#best-sellers .carousel-inner .carousel-item.active,
#best-sellers .carousel-inner .carousel-item-next,
#best-sellers .carousel-inner .carousel-item-prev {
  display: flex;
  justify-content: center;
}

.carousel-indicators {
  bottom: -2em;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Customer FeedBack */

#feedback {
  background: url("../images/bg.jpg");
  position: relative;
  background-size: cover;
  min-height: 80vh;
}

#feedback #color-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

#feedback .card {
  margin: auto;
  border-radius: 1.5em;
  min-height: 50vh;
}

#feedback .card-header {
  border-radius: 1.5em 1.5em 0 0;
  background-color: var(--secondary-color);
  padding-top: 1em;
  min-height: 25vh;
}

#feedback img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border : 3px solid #fff;
  border-left-color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

#feedback .rating i {
  /* color: var(--primary-color); */
  color: #ffce39;
}

#feedback .rating{
  position: relative;
  bottom: 50px;
}

#feedback .left-quote {
  position: relative;
  right: 5em;
  top: 2em;
}

#feedback .right-quote {
  position: relative;
  right: -5em;
  bottom: 2em;
}

#feedback .card-header .quote{
  font-weight: 900;
  line-height: 1;
  color: #fff;
  opacity: 0.2;
}

#feedback .card-header .left-quote::before {
content: "\f10d";
font-size: 3em;
font-family: "Font Awesome 5 Free";
}

#feedback .card-header .right-quote::after {
content: "\f10e";
font-size: 3em;
font-family: "Font Awesome 5 Free";
}

@media (min-width:1440px) {
    /* #feedback .card {
      width: 60%;
    } */
    #feedback .left-quote {
      right: 17em;
      top: 1em;
    }
    #feedback .right-quote {
      right: -17em;
      bottom: 1em;
    }
}

@media (min-width: 1024px) and (max-width: 1439px){
  /* #feedback .card {
    width: 70%;
  } */
  #feedback .left-quote {
    right: 14em;
    top : 1.7em;
  }
  #feedback .right-quote {
    right: -14em;
    bottom: 1.7em;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* #feedback .card {
    width: 80%;
  } */
  #feedback .left-quote {
    right: 10em;
    top: 1.5em;
  }
  #feedback .right-quote {
    right: -10em;
    bottom : 1.5em;
  }
}
@media (min-width: 992px){

  #feedback .col-lg-6{
    width : 49%;
    margin : 0 8px;
  }
}

@media (max-width: 992px) {
  #feedback .carousel-inner .carousel-item > div {
    display: none;
  }
  #feedback .carousel-inner .carousel-item > div:first-child {
    display: block;
  }
}

#feedback .carousel-inner .carousel-item.active,
#feedback .carousel-inner .carousel-item-next,
#feedback .carousel-inner .carousel-item-prev {
  display: flex;
  justify-content: center;
}

/*Blogs*/

.blog-post {
    box-shadow: 0px 3px 5px 1px rgba(204, 204, 204, 1);
    margin-bottom: 20px;
  }

.blog-post .text-box {
  padding: 20px;
}

.blog-post .text-box .title {
  color: var(--primary-color);
  font-size: 1.4rem;
  line-height: 1.3;
}

.blog-post .text-box .title:hover {
  text-decoration: underline;
  cursor: pointer;
}

.blog-post .text-box p {
  color: #5c5b5b;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

.blog-post .text-box span {
  color: #898989;
}

.blog-post #date i{
  line-height: unset;
  margin-right:7px;
}

.blog-post .view-more {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
}

.blog-post .view-more:hover {
  background-color: var(--secondary-color);
}

#blog-page .blog-image{
  height: 300px;
}

.blog-image {
  position: relative;
  overflow: hidden;
  display: block;
}

.blog-image::before {
  content: "";
  display: block;
  padding-bottom: 60%;
}

.blog-image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 100%;
  min-width: 100%;
  /* width: auto;
  height: auto; */
  /*max-width: none;*/
}

.blog-post-view {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(55, 151, 89, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.blog-post-view::before {
  content: "\f06e";
  font-family: "Font Awesome 5 Free";
  font-size: 30px;
  line-height: 1;
  color: #fff;
}

.blog-image:hover .blog-post-view {
  opacity: 1;
  visibility: visible;
}

/* Feature Plants */

#feature .img-card {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  transition: all .8s;
}

#feature .img-card:hover{
    transform: scale(1.02);
    box-shadow: 1px 1px 3px #333;
}

/* Blog Detail Page */

#recent-articles .card-header{
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px;
}

#recent-articles a:hover{
  color : var(--primary-color) !important;
  text-decoration: underline !important;
}

/* Gallery */
.gallery {
  padding-bottom: 0;
}

.gallery .gallery-item {
  overflow: hidden;
  border-right: 5px solid #fff;
  border-bottom: 5px solid #fff;
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
  list-style: none;
  margin-bottom: 20px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  margin: 10px 5px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  transition: all 0.3s;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: #47b2e4;
  color: #fff;
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-img {
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-img img {
  transition: all 0.6s;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 15px;
  bottom: 0;
  z-index: 3;
  right: 15px;
  transition: all 0.3s;
  background: rgba(55, 81, 126, 0.8);
  padding: 10px 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #f9fcfe;
  font-size: 14px;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #fff;
  transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #47b2e4;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 10px;
}

.portfolio .portfolio-item:hover .portfolio-img img {
  transform: scale(1.15);
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #47b2e4;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #47b2e4;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(55, 81, 126, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}
