/**
* Template Name: Valour Agrifood
* Updated: Sept. 7 2023 with Bootstrap v5.3.1
* Author: 3Pixels Media
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: 'Roboto', sans-serif;
  color: #444;
  font-size: 18px;
}

a {
  text-decoration: none;
  color: #00A859;
}

a:hover {
  color: #80c792;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Sen", sans-serif;
  color: #101010;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #444;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #ffca09;
  color: #101010;
}
.back-to-top:hover i {
  color: #101010;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #fbfbfb;
  font-size: 15px;
  height: 40px;
  padding: 0;
}

#topbar .contact-info a {
  line-height: 0;
  color: #444444;
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: #00A859;
}

#topbar .contact-info i {
  color: #00A859;
  line-height: 0;
  margin-right: 5px;
}

#topbar .contact-info .phone-icon {
  margin-left: 15px;
}

#topbar .social-links a {
  color: #6f6f6f;
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: #00A859;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #00A859;
  transition: all 0.5s;
  z-index: 997;
  height: 100px;
}

#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

#header .logo a {
  color: #00A859;
}

#header .logo img {
  max-height: 70px;
  width: auto;
}

.scrolled-offset {
  margin-top: 0px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

/*.navbar > ul > li {*/
/*  height: 100px;*/
/*  display: flex;*/
/*}*/

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 10px 0 10px 60px;
  font-size: 13px;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
  font-weight: 600;
  text-transform: uppercase;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #ffca09;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  color: #00A859;
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 4px;
  border: 2px solid #00A859;
  transition: 0.3s;
  font-size: 14px;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  background: #00A859;
  color: #fff;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: 100%;
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #192c27;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  text-transform: none;
  font-size: 15px;
    text-transform: uppercase;
    font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #ffca09;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #ffca09;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #192c27;
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  overflow-y: auto;
  transition: 0.3s;
  text-align: center;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  justify-content: center;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #00A859;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #192c27;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #00A859;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

@media (min-width: 768px) {
  .navbar-mobile .mobile-logo, .mobile-logo {
    display: none !important;
    visibility: hidden !important;
  }
  
}

/*--------------------------------------------------------------
# Slider Section
--------------------------------------------------------------*/

#rev_slider_1_1_wrapper, #rev_slider_1_1 {
  width: 100% !important;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 90px 0;
}

.section-bg {
  background-color: #f8fcf9;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: capitalize;
  /* margin-bottom: 20px; */
  position: relative;
  color: #101010;
}

.section-title h4 {
  font-size: 26px;
  font-weight: bold;
  text-transform: capitalize;
  position: relative;
  color: #101010;
}
.section-title h5 {
    color: #00A859;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/*.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

 .section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #00A859;
  bottom: 0;
  left: calc(50% - 20px);
} */

.section-title p {
  margin-bottom: 0;
  font-size: 14px;
  color: #919191;
}


/*--------------------------------------------------------------
# Introduction - About Valour
--------------------------------------------------------------*/
#agrifood-intro {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*#agrifood-intro .info-text {*/
/*    max-width: 80%;*/
/*}*/

#agrifood-intro .info-text .easy-image-gallery {
  display: none;
  visibility: hidden;
}

.about-title-imgs .col-6 {
  max-height: 170px;
  overflow: hidden;
}

.about-title-imgs img {
  width: 100%;
  filter: grayscale(100%); /* Standard */
-webkit-filter: grayscale(100%); /* Webkit */
filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale"); /* Firefox4-34*/
filter: gray;  /* IE6-9 */
-webkit-filter: grayscale(1); /* Old WebKit */
opacity: 0.3;
transition: all ease-in-out 0.3s;
}
.about-title-imgs img:hover {
  -webkit-filter: none;
  filter:none;
  opacity: 1;
  transition: all ease-in-out 0.3s;
  cursor:crosshair;
}

.agrifood-statements [class*="col-"] {
  display: flex;
}

.agrifood-statements .vision-mission {
  display: block;
  background:#00A859;
  padding: 60px 30px 60px 30px;
  width: 100%;
}

.agrifood-statements .vision-mission h3 {
  margin-bottom: 10px;
  color: #FFCC00;
  font-weight: 700;
  font-size: 30px;
}

.vision-mission .agrifood-statements-icon i {
  color:#fff;
  font-size: 50px;
}

.vision-mission .agrifood-statements-info, .vision-mission .agrifood-statements-info p {
  color: #fff;
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services - Valour
--------------------------------------------------------------*/
#agrifood-services {
  background: #437933;
}


.agrifood-produce [class*="col-"] {
  display: flex;
  min-height: 270px
}

.agrifood-produce .agrifood-service-box {
  width: 100%;
  background-color: #E9EDE9;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 30px;
  text-align: center;
}
.agrifood-produce .agrifood-service-box:hover {
  background-color: #ffca09;
}

.agrifood-service-box h5 {
  font-weight: 700;
}

 .product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition-timing-function: ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: #b5cc47;
}

.product-card:hover .product-card-title {
    color: #000;
}
/*.product-card:hover .product-card-text {*/
/*    color: #fff;*/
/*}*/
.product-card-img {
    height: 250px;
    object-fit: cover;
}

.product-card-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2d864a;
    text-align: center;
    padding: 15px 0 0;
}

.product-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-text {
    text-align: center;
    color: #666;
    margin-top: auto;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 20px;
}

@media (max-width: 768px) {
    .product-card-img {
        height: 200px;
    }
}

/*--------------------------------------------------------------
# Women Empowerment
--------------------------------------------------------------*/
#women-empowerment {
    background: #f0f5de;
}

.valour-video-wrap .wp-video, .valour-video-wrap video {
    width: 80% !important;
}

.valour-video-wrap iframe {
    width: 100% !important;
    max-width: 720px;
}

@media (max-width: 767.98px) {
    .valour-video-wrap .wp-video, .valour-video-wrap video {
    width: 100% !important;
}
}
/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
#agrifood-gallery {
  background: #fff;
}

.easy-image-gallery a img {
  border-top-right-radius: 0 !important;
  -webkit-border-top-right-radius: 0 !important;
  max-width: 138px;
    max-height: 125px;
}

.easy-image-gallery li {
    padding-right:10px !important;
    padding-bottom:10px !important;
}

/*--------------------------------------------------------------
# Valour Directors
--------------------------------------------------------------*/
#agrifood-directors {
  background: #f0f0f0;
}

.directors-box [class*="col-md-6"]:first-child {
  border-right: 1px solid #ccc;
  margin-right: 10px;
  width: calc(50% - 10px);
}

.director-details .director-image img {
  width:  100%;
}

.director-details .director-name h2 {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 2rem;
}

.director-details .director-name {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
}

.director-details .director-name h4 {
  display: block;
  color:#00A859;
  margin-bottom: 0;
}

.director-details .director-bio, .director-details .director-bio p {
  font-size: 16px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#agrifood-contact {
  background: #fff;
}

#agrifood-contact .contact-box {
  gap: 20px;
  justify-content: space-between;
}

#agrifood-contact .contact-box [class*="col-"] {
	border: 1px solid #00A859;
  padding: 30px;
  width: calc(33.3333% - 20px);
}

.contact-box [class*="col-"] div i {
	color: #00A859;
	font-size: 40px;
  margin-bottom: 10px;
}

.contact-box [class*="col-"] div h6 {
	text-transform: uppercase;
  line-height: 1rem;
  margin-bottom: 5px;
}

/*--------------------------------------------------------------
# Featured Services
--------------------------------------------------------------*/
.featured-services {
  padding: 20px 0;
}

.featured-services .icon-box {
  padding: 20px;
}

.featured-services .icon-box-bg {
  background-image: linear-gradient(0deg, #222222 0%, #2f2f2f 50%, #222222 100%);
}

.featured-services .icon {
  margin-bottom: 15px;
}

.featured-services .icon i {
  color: #00A859;
  font-size: 42px;
}

.featured-services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.featured-services .title a {
  color: #222222;
  transition: 0.3s;
}

.featured-services .icon-box:hover .title a {
  color: #00A859;
}

.featured-services .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #fbfbfb;
  min-height: 40px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 66px;
  }
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #3c3c3c;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #00A859;
  color: #fff;
  font-size: 14px;
  /* text-align: center; */
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Roboto", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0;
  text-align: right;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  color: #ffca09;
  text-decoration: none;
}

#footer .copyright {
  margin:0;
  text-align: left;
}

#footer .credits {
  font-size: 13px;
}

@media (max-width: 768px) { 

  header .container {
    margin-left: 20px;
    margin-right: 20px;
    max-width: 100%;
  }

  .navbar > ul > li {
    height: auto;
    /*display: flex;*/
    /*justify-content: center;*/
  }

  .about-title-imgs .col-6 {
    max-height: 80px;
    margin-bottom: 20px;
  }

  .agrifood-produce [class*="col-"] {
    min-height: 180px;
    margin-bottom: 20px;
  }

  .director-details {
    text-align: center;
  }

  .directors-box [class*="col-md-6"]:first-child {
    border-right: none;
    margin-right: 0;
    width: inherit;
  }

  .directors-box [class*="col-md-6"] {
    background: #e4e4e4;
    padding: 20px 20px 40px;
  }

  .director-details .director-name {
    align-items: center;
  }

  .director-details .director-name h2 {
    margin-top: 15px;
  }

  .agrifood-statements, .directors-box {
    gap: 50px;
  }

  #agrifood-contact .contact-box [class*="col-"] {
    width: 100%;
    text-align: center;
  }

  #footer .copyright, #footer .social-links {
    text-align: center;
  }

  #footer .social-links {
    margin-top: 15px;
  }
 }
 
 /*--------------------------------------------------------------
# 404 Error
--------------------------------------------------------------*/

.error-404 {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 100px !important;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: #2d864a; /* Primary green from Valour Agrifood */
    margin-bottom: 20px;
    line-height: 1;
}

.page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.page-content {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5rem;
}

.error-actions {
    display: flex;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-home {
    background-color: #2d864a; /* Primary green */
    color: white;
}

.btn-home:hover {
    background-color: #246b3b; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 134, 74, 0.3);
}

.decoration {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
}

.decoration-1 {
    top: 10%;
    left: 5%;
    font-size: 8rem;
    color: #2d864a;
    transform: rotate(-15deg);
}

.decoration-2 {
    bottom: 10%;
    right: 5%;
    font-size: 8rem;
    color: #2d864a;
    transform: rotate(15deg);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 4rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .error-404 {
        margin: 20px;
        padding: 30px 20px;
    }
}