/********** Template CSS **********/
:root {
  --primary: #0ca604;
  --light: #f1f8ff;
  --dark: #048c08;
}

.ff-secondary {
  font-family: "Pacifico", cursive;
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 700 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** 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 {
  font-family: "Nunito", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.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;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  position: relative;
  margin-left: 25px;
  padding: 35px 0;
  font-size: 15px;
  color: var(--light) !important;
  text-transform: uppercase;
  font-weight: 500;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
  padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
  max-height: 60px;
  transition: 0.5s;
}

.sticky-top.navbar-dark .navbar-brand img {
  max-height: 45px;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-dark {
    position: relative;
  }

  .navbar-dark .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-dark .navbar-nav .nav-link,
  .sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
  }

  .navbar-dark .navbar-brand img {
    max-height: 45px;
  }
}

@media (min-width: 992px) {
  .navbar-dark {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: transparent !important;
  }

  .sticky-top.navbar-dark {
    position: fixed;
    background: var(--dark) !important;
  }
}

/*** Hero Header ***/
.hero-header {
  background: linear-gradient(rgba(1, 137, 10, 0.587), rgba(1, 75, 9, 0)),
    url(../img/bana\ 10.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-header img {
  animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate {
  100% {
    transform: rotate(360deg);
  }
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  left: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  right: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
  display: none;
}

/*** Service ***/
.service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item * {
  transition: 0.5s;
}

.service-item:hover * {
  color: var(--light) !important;
}

/*** Food Menu ***/
.nav-pills .nav-item .active {
  border-bottom: 2px solid var(--primary);
}

/* Custom styles for the image slider */
.carousel-item img {
  width: 100%;
  height: 400px; /* Adjust height as needed */
  object-fit: cover;
}

/*** Team ***/
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  height: calc(100% - 38px);
  transition: 0.5s;
}

.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item:hover {
  height: 100%;
}

.team-item .btn {
  border-radius: 38px 38px 0 0;
}

/* Mission, vision & core values */
.banner {
  background: url(../img/bana\ 10.jpg) no-repeat center center/cover;
  padding: 100px 20px;
}

.content-section {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 1s ease-in-out;
  margin-bottom: 50px;
}

.content-section.active {
  opacity: 1;
  transform: translateX(0);
}

.image {
  width: 300px;
  height: 300px;
}

h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

#mission p, #vision p, #values p {
  font-size: 1.2rem;
  color: #333;
}

ul li {
  margin-bottom: 10px;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  border: 1px solid #cccccc;
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* Gallery Section */
.gallery-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  overflow: hidden;
}

.gallery-title {
  font-size: 2.5rem;
  color: #228B22;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center !important;
}

.gallery-title span {
  color: #FFA500;
}

.gallery-container {
  max-width: 1200px;
  margin: auto;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 1s ease-in-out;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.8s ease-in-out;
  margin-bottom: 20px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.gallery-item p {
  padding: 10px;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  text-align: center;
}

/* Video Section */
.video-section {
  text-align: center;
  padding: 60px 20px;
  background: #f0fff0;
}

.video-container {
  max-width: 800px;
  margin: auto;
}

.video-container video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Animation when in view */
.show .gallery-container {
  opacity: 1;
  transform: translateX(0);
}

.show .gallery-item {
  transform: translateX(0);
  opacity: 1;
}

/* News and Events Section Styling */
.news-and-events {
  padding: 40px; /* Adds space inside the section for better spacing */
  background-color: white; /* Sets a light gray background color */
}

/* Header Section */
.news-header {
  display: flex; /* Enables flexbox for better alignment */
  justify-content: space-between; /* Aligns items to opposite ends (left and right) */
  align-items: center; /* Centers items vertically */
  margin-bottom: 20px; /* Adds spacing below the header */
}

/* Heading Styling */
.heading h1 {
  color: #0a6d2c; /* Sets text color to dark green */
  text-align: center;
  font-weight: bold; /* Make the text bold */
  font-size: 3rem; /* Increase font size */
}


/* Style for "Our" text */
.news {
  color: orange !important; /* Keep "Our" text green */
}

/* Style for "Products" text */
.events {
  color: rgb(1, 168, 1) !important; /* Change "Products" text to yellow */
}

/* Left Description Styling */
.news-description h2 {
  font-size: 24px; /* Sets font size for readability */
  color: rgb(2, 180, 2); /* Dark gray color for better contrast */
  margin-bottom: 20px; /* Adds space below the description */
}

/* View All Button Container */
.view-all-btn {
  display: flex; /* Enables flexbox */
  justify-content: flex-end; /* Moves the button to the right */
}

/* View All Button Styling */
.view-all-btn a {
  padding: 12px 30px; /* Adds padding for a larger clickable area */
  background-color: rgb(2, 183, 2); /* Sets button background color to dark green */
  color: white; /* Sets text color to white for contrast */
  text-decoration: none; /* Removes the default underline from the link */
  border-radius: 25px; /* Rounds the corners of the button */
  font-size: 16px; /* Increases text size for better readability */
  font-weight: bold; /* Makes the text bold */
  transition: background-color 0.3s ease; /* Smooth color transition effect */
}

/* View All Button Hover Effect */
.view-all-btn a:hover {
  background-color: gold; /* Changes button color to darker green on hover */
  color: green;
}

/* Impacts section */
.impact-section {
  background-color: #f9f9f9;
  text-align: center;
  overflow: hidden;
}

.impact-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 30px;
}

.green {
  color: orange;
}

.impact-content {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 1s ease-in-out;
}

.impact-text {
  font-size: 20px;
  text-align: left;
}

.impact-text ul li {
  font-size: 20px;
  margin-bottom: 10px;
}

.impact-text i {
  color: green !important;
  margin-right: 10px;
}

.impact-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


.stat-box {
  background: green;
  color: white;
  padding: 20px;
  width: 45%;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.stat-box:hover {
  transform: scale(1.05);
}

.stat-box h3 {
  font-size: 32px;
  margin: 5px 0;
  color: orange;
}

.stat-box p {
  font-size: 18px;
}


/* Blog Section Layout */
.blog-section {
  display: grid; /* Enables grid layout */
  grid-template-columns: repeat(3, 1fr); /* Creates 3 equal-width columns */
  gap: 20px; /* Adds space between blog posts */
  padding: 20px; /* Adds padding around the section */
  background-color: white; /* Sets light gray background color */
}

/* Individual Blog Post Styling */
.blog-post {
  background: white; /* Sets background color to white */
  border: 2px solid rgb(2, 173, 2); /* Adds a green border around the video item */
  border-radius: 8px; /* Rounds the corners for a softer look */
  overflow: hidden; /* Prevents content from overflowing */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow effect */
  transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

/* Image Container */
.image-container img {
  width: 100%; /* Ensures image stretches to fit the container */
  height: 250px; /* Sets a fixed height for all images */
  object-fit: cover; /* Ensures images maintain aspect ratio while covering the area */
  display: block; /* Prevents extra space below the image */
  transition: transform 0.3s ease; /* Adds a smooth zoom effect on hover */
}

.date .category {
  color: gold;
}


/* Blog Post Title Styling */
.blog-post h2 {
  font-size: 18px; /* Sets a medium font size */
  margin: 10px; /* Adds space around the title */
  font-weight: bold; /* Makes the text bold */
}

/* Blog Post Title Link Styling */
.blog-post h2 a {
  text-decoration: none; /* Removes underline from links */
  color: rgb(2, 176, 2); /* Sets text color to dark gray */
  transition: color 0.3s ease; /* Smooth color transition effect */
}

/* Blog Post Title Hover Effect */
.blog-post h2 a:hover {
  color: rgb(2, 163, 2); /* Changes text color to blue on hover */
}

/* Blog Description */
.blog-post p {
  font-size: 14px; /* Sets a readable font size */
  color: #555; /* Sets text color to a slightly lighter gray */
  padding: 0 10px 10px; /* Adds padding inside the paragraph */
}

/* WhatsApp Icon */
.whatsapp-icon {
  position: fixed; /* Fixed to viewport */
  bottom: 20px; /* 20px from the bottom */
  left: 20px; /* 20px from the left */
  background: #25d366; /* WhatsApp green color */
  color: white; /* Icon color */
  font-size: 1.5rem; /* Icon size */
  padding: 15px; /* Padding for the icon */
  border-radius: 60%; /* Circular icon */
  cursor: pointer; /* Pointer on hover */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  z-index: 100; /* Place above other elements */
}

/* WhatsApp Popup Container */
.whatsapp-popup {
  display: none; /* Initially hidden */
  position: fixed; /* Fixed to viewport */
  bottom: 80px; /* Popup position above the WhatsApp icon */
  left: 20px; /* Align with the WhatsApp icon */
  width: 300px; /* Fixed width */
  background: white; /* Popup background */
  border: 1px solid #ddd; /* Light border */
  border-radius: 15px; /* Circular edges for the popup */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  z-index: 101; /* Above the icon */
  font-family: Arial, sans-serif; /* Default font */
}

/* Show popup on hover over either the icon or the popup */
.whatsapp-icon:hover + .whatsapp-popup,
.whatsapp-popup:hover {
  display: block; /* Keep the popup visible */
}

/* Popup Header */
.popup-header {
  display: flex; /* Horizontal alignment */
  justify-content: space-between; /* Space between text and close icon */
  align-items: center; /* Center align */
  background: #25d366; /* WhatsApp green */
  color: white; /* White text */
  padding: 10px; /* Padding inside */
  border-radius: 15px 15px 0 0; /* Rounded top corners */
  font-size: 1rem; /* Header font size */
}

.popup-header .close-popup {
  cursor: pointer; /* Pointer on hover for close icon */
  font-size: 1.2rem; /* Icon size */
}

/* Popup Body */
.popup-body {
  padding: 15px; /* Add space inside */
  font-size: 0.9rem; /* Text size */
  color: #555; /* Slightly dark text color */
  line-height: 1.5; /* Line spacing */
}

/* Popup Footer */
.popup-footer {
  padding: 10px; /* Add space inside */
  text-align: left; /* Align "Open Chat" button to the left */
}

.popup-footer .open-chat-btn {
  display: inline-flex; /* Align icon and text horizontally */
  align-items: center; /* Center icon and text vertically */
  justify-content: center; /* Center content */
  background: #25d366; /* WhatsApp green */
  color: white; /* White text */
  text-decoration: none; /* Remove underline */
  padding: 10px 15px; /* Button padding */
  border-radius: 15px; /* Circular button edges */
  font-size: 0.9rem; /* Button font size */
  transition: background 0.3s; /* Smooth hover effect */
}

.popup-footer .open-chat-btn:hover {
  background: #1da851; /* Darker green on hover */
}

/* WhatsApp arrow icon before text */
.popup-footer .open-chat-btn::before {
  content: '➤'; /* Right chevron */
  margin-right: 8px; /* Space between icon and text */
  font-size: 1rem; /* Icon size */
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.bg-green {
  background-color: green;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.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 {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
