h1,
h2 {
  font-weight: 600 !important;
}

h3,
h4 {
  font-weight: 500 !important;
}

h5,
h6 {
  font-weight: 400 !important;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel-image {
  height: 500px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .carousel-image {
    height: 300px;
  }
}

.section-title {
  position: relative;
  padding-left: 60px;
}

.section-title::before {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  width: 45px;
  height: 3px;
  background: #63bf03;
}

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
  font-size: inherit;
  margin-left: 0;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 11;
  animation: action 1s infinite alternate;
}

@keyframes action {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}

/*----------------------------
   navbar
----------------------------*/
.nav-bar::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  top: 0;
  left: 0;
  background: #a67851;
}

.nav-bar::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  background: #ffffff;
}

.navbar-light .navbar-nav .nav-link {
  padding: 30px 15px;
  letter-spacing: 1px;
  color: #a67851;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #63bf03;
}

.custom-logo {
  width: 100px;
  height: auto;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 10px 15px;
  }
}

@media (min-width: 992px) {
  .about-text {
    margin-left: -120px;
  }
}

/*----------------------------
    portfolio
----------------------------*/
.portfolio-item {
  display: none; /* Hide all items by default */
}

.portfolio-item.complete {
  display: block; /* Show 'Complete' items by default (if filter is set to 'complete') */
}

.portfolio-item.ongoing {
  display: block; /* Show 'Ongoing' items if the filter is set to 'ongoing' */
}

.portfolio-item.upcoming {
  display: block; /* Show 'Upcoming' items if the filter is set to 'upcoming' */
}

.portfolio-item .portfolio-img {
  position: relative;
  width: 100%; /* Full width of the container */
  height: 250px; /* Fixed height for uniformity */
  bottom: 0px;
  left: 0;
  transition: 0.5s;
  margin: 5px;
}

.portfolio-item:hover .portfolio-img {
  bottom: 100%;
}

.portfolio-item .portfolio-text {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -100%;
  left: 0;
  transition: 0.5s;
}

.portfolio-item:hover .portfolio-text {
  bottom: 0;
}

.portfolio-img img {
  width: 100%; /* Ensure the image takes up full width */
  height: 100%; /* Ensure the image takes up full height */
  object-fit: cover; /* Make sure the image covers the entire container */
}

/*----------------------------
    Product
----------------------------*/

.product-item {
  position: relative;
  z-index: 1; /* Adjust as needed */
}

.card {
  border: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.product-price {
  font-size: 1.125rem;
  font-weight: bold;
  color: #28a745; /* Green color for price */
  margin-top: 10px;
}

.product-item:hover .card {
  transform: translateY(-10px); /* Hover effect */
}

.product-item:hover .card-img-top {
  transform: scale(1.05); /* Image zoom effect on hover */
}

.product-item .btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-item .btn:hover {
  background-color: #28a745;
  color: white;
}

/*----------------------------
    testimonial
----------------------------*/
.testimonial-text {
  min-height: 300px; /* Adjust this based on your layout */
  max-height: 350px; /* Ensures uniformity */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}


.testimonial-carousel .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: #dddddd;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  background: #7ab730;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  box-shadow: 0 0 30px #cccccc;
}




/*----------------------------
    footer
----------------------------*/
.footer-bg {
  background: #a67851;
}

/*----------------------------
    icon
----------------------------*/
.text-primary-1 {
  color: #63bf03;
}

/*----------------------------
    preloader area
----------------------------*/
/* Fullscreen background for the loader */
.loader_bg {
  position: fixed;
  z-index: 9999999; /* High z-index to ensure it is on top of other content */
  background: #fff; /* Background color of the loader */
  width: 100%; /* Full width of the viewport */
  height: 100%; /* Full height of the viewport */
  display: flex; /* Flexbox for centering the loader */
  align-items: center; /* Center items vertically */
  justify-content: center; /* Center items horizontally */
}

/* Loader container */
.loader {
  position: absolute; /* Positioned relative to the loader_bg */
  left: 0;
  top: 0;
  width: 100%; /* Full width of the parent */
  height: 100%; /* Full height of the parent */
  display: flex; /* Flexbox for centering the loader image */
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
}

/* Loader image */
.loader img {
  width: 280px; /* Set a fixed width for the loader image */
}

/*----------------------------
    team
----------------------------*/

.team-item {
  transition: 0.5s;
}

.team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.team-social a.btn {
  position: relative;
  margin: 0 3px;
  margin-top: 100px;
  opacity: 0;
}

.team-item:hover {
  box-shadow: 0 0 30px #cccccc;
}

.team-item:hover .team-social {
  background: rgba(0, 0, 0, 0.5);
}

.team-item:hover .team-social a.btn:first-child {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
  opacity: 1;
  margin-top: 0;
  transition: 0.3s 0.15s;
}

.team-item .team-img img {
  transition: 0.5s;
}

.team-item:hover .team-img img {
  transform: scale(1.2);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
