/********** Template CSS **********/
:root {
  --primary: #348e38;
  --secondary: #525368;
  --light: #e8f5e9;
  --dark: #0f4229;
}

body{
  overflow-x: hidden;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
}
p.text-primary {
  font-weight: 300 !important;
}
h3,
.h3,
h4,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}
.about-slide img {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.vido-slide .col-lg-4 {
  padding: 6px;
}
.vido-slide iframe {
  border-radius: 6px;
}

.vison-slide p {
  text-align: justify;
}
.herbal-medicine h4 {
  color: #5d361f;
  font-style: italic;
}
.herbal-medicine h5 {
  color: #5d361f;
  font-style: italic;
  padding: 20px;
  width: 55%;
  background: #fef8f9;
  border-left: 4px solid #5d361f;
  margin-left: 13px;
}
.herbal-medicine p {
  text-align: justify;
}
.display-1 {
  font-size: 4rem;
}

.text-primary {
  color: #5b341d !important;
}

.blockquote {
  background-color: #bb602a14;
  padding: 30px;
  border-radius: 5px;
}

.blockquote p {
  position: relative;
  margin: 1.25rem auto;
  width: 80vw;
  max-width: 900px;
  color: #5d361d;
  text-align: center;
  font-size: clamp(1.125rem, 1vw + 1.125rem, 1.3rem);
  font-size: calc(min(max(1.125rem, 1vw + 1.125rem), 1.3rem));
  line-height: 1.1;
  font-style: italic;
  line-height: 35px;
  --tw-text-opacity: 1;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

table th {
  color: #0f4229;
}

td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #348e38;
  color: #fff;
}

.about-slide p {
  text-align: justify;
}
.servcs {
  background-color: #bb602a14;
  padding: 30px 0px;
}
p {
  font-size: 16px;
  line-height: 30px;
  color: #000;
  font-weight: 400;
  margin-bottom: 10px;
}
.servcs h4 {
  color: #5d361d;
}
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
}

.btn-square {
  width: 35px;
  height: 35px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
  width: 100%;
  margin: 0 auto;
}
.navbar .navbar-brand,
.navbar a.btn {
  height: 90px;
  line-height: 40px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 18px;
  padding: 25px 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar img {
  max-height: 100px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

.carousel-caption h1{
    margin-top:5%;
}
/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  height:100%;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(180deg, #0f422914, #348e38a6);
  z-index: 1;
}

.carousel-caption h1 {
  text-shadow: -1px -1px 0 #ffc107, 1px -1px 0 #ffc107, -1px 1px 0 #000,
    1px 1px 0 #000;
}
.carousel-caption .text-white {
  text-shadow: -1px -1px 0 #6a956c, 1px -1px 0 #000, -1px 1px 0 #b2b0b0, 1px 1px 0 #198754;
}
.carousel-caption h2{
text-shadow: -1px -1px 0 #ffffff00, 1px -1px 0 #8e8c8c, -1px 1px 0 #ffffff8f, 1px 1px 0 #ffffff0a;
}
#header-carousel video{
    margin-top:-200px;
}
.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

#header-carousel h4 {
  color: #ffa500;
  text-shadow: -1px -1px 0 #31323e, 1px -1px 0 #000, -1px 1px 0 #ffffff,
    1px 1px 0 #00000000;
}

.about-btm {
  background-color: #bb602a14;
}
.about-btm p {
  text-align: justify !important;
}
.page-header {
  background: linear-gradient(rgb(15 66 41 / 93%), rgb(15 66 41 / 78%)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 14px;
  color: var(--light);
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
  .top-feature {
    position: relative;
    margin-top: -80px;
    z-index: 1;
  }
}

/*** Facts & Quote ***/
.facts,
.quote {
  background: rgba(15, 66, 41, 0.6);
}

/*** Service ***/
.service-item {
  position: relative;
  text-align: center;
}

.service-item .service-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.service-item .service-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  object-fit: cover;
  transform: scale(1.2);
  transition: 0.3s;
  z-index: -1;
}

.service-item:hover .service-img img {
  transform: scale(1);
}

.service-item .service-text {
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.service-item:hover .service-text {
  background: rgba(15, 66, 41, 0.6);
}

.service-item .service-text h4,
.service-item .service-text p {
  transition: 0.3;
}

.service-item:hover .service-text h4,
.service-item:hover .service-text h5 {
  color: #ffffff;
}

.service-item:hover .service-text p {
  color: var(--light);
}

.service-item .service-text .btn-square {
  width: 100px;
  height: 100px;
  background: transparent;
  transition: 0.5s;
}

.service-item:hover .service-text .btn-square {
  background: var(--light);
}

.service-item .service-text .btn {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  background: var(--light);
  white-space: nowrap;
  overflow: hidden;
  transition: 0.3s;
}

.service-item:hover .service-text .btn {
  width: 112px;
}

/*** Project Portfolio ***/
#portfolio-flters {
  display: inline-block;
  background: var(--light);
  padding: 10px 15px;
}

#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--dark);
  border-color: var(--dark);
}

.portfolio-inner {
  position: relative;
  overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(15, 66, 41, 0.6);
  transition: 0.5s;
}

.portfolio-inner::after {
  left: auto;
  right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
  width: 50%;
}

.portfolio-inner .portfolio-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
  transition-delay: 0.3s;
  opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
  background: var(--light);
  color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Team ***/
.team-item {
  position: relative;
  overflow: hidden;
}

.team-item .team-text {
  position: absolute;
  width: calc(100% - 45px);
  left: -100%;
  bottom: 45px;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text {
  left: 0;
  opacity: 1;
}

.team-item .team-social .btn {
  background: var(--light);
  color: var(--primary);
}

.team-item .team-social .btn:hover {
  background: var(--primary);
  color: var(--light);
}

.team-item .team-img .team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}

.team-item:hover .team-img .team-social {
  transition-delay: 0.3s;
  opacity: 1;
}

/*** Testimonial ***/

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--light);
  border-radius: 4px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Footer ***/

.footer-logo img {
  max-height: 70px;
  margin-right: 28px;
}

.footer-logo p {
  font-size: 14px;
  margin-left: 20px;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
  font-size: 14px;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}
.gallery-slide .img-fluid {
  max-width: 100%;
  width: 100%;
  height: 220px;
}
.footer p {
  font-size: 14px;
  color: #fff;
  text-align: justify;
}
.footer-logo p {
  margin-right: 30px;
}
.footer .border-bottom a {
  font-size: 14px;
}

.copyright {
  color: var(--light);
  background: #072a19;
}

.copyright a {
  color: #ffffff;
  font-size: 13px;
}

.copyright a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
    
    #header-carousel video{
    margin-top:0px;
}
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .navbar img {
    max-height: 70px;
  }

  .navbar .navbar-brand {
    height: 66px;
  }

  .display-1 {
    font-size: 2rem;
  }

  .carousel-caption h2 {
    font-size: 18px;
  }

  .carousel-caption h4 {
    font-size: 15px;
  }

  .carousel-caption h5 {
    font-size: 16px;
  }

  .blockquote p {
    font-size: 17px;
    width: 100%;
  }

  .blockquote h4 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
    line-height: 27px;
  }

  .herbal-medicine h2 {
    font-size: 20px;
  }

  .herbal-medicine h4 {
    font-size: 18px;
  }

  .herbal-medicine h5 {
    font-size: 17px;
    width: 100%;
    margin-left: 0px;
  }

  table tbody {
    word-break: break-word;
  }

  table th {
    font-size: 15px;
  }

  table td {
    font-size: 14px;
    padding: 4px;
  }

  .display-5 {
    font-size: 22px;
  }

  .mission-content{
    order: 2;
  }

  .footer-logo p {
    margin-right: 10px;
    margin-left: 0px;
  }
}
