/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap");

/* Colors */
:root {
  --green-color: #6bb746;
  --dark-color: #12273a;
  --dark-green: #5d9a47;
  --grey-color: #f0f0f0;
  --brown-color: #d1ac82;
}

/* General Styles */
body {
  font-family: "Titillium Web", sans-serif;
}

h1,
h3,
h4 {
  color: var(--dark-color);
  font-weight: 600;
}

h1::after,
h3::after {
  display: block;
  width: 64px;
  border-bottom: 3px solid var(--green-color);
  content: "";
  margin-top: 5px;
}

h1.brown::after,
h3.brown::after {
  border-bottom-color: var(--brown-color);
}

h1.dark::after,
h3.dark::after {
  border-bottom-color: var(--dark-color);
}

p,
ol {
  font-size: 19px;
  font-weight: 400;
}

@media (min-width: 1200px) {
  .container {
    max-width: 845px;
  }
}

/* Header */
#header {
  background-color: var(--dark-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

#header .fas,
.fab,
.fa-brands {
  color: var(--green-color);
}

#socialIcons {
  font-size: 16px;
}

/* Navbar */
#navbar {
  color: var(--dark-color);
  font-size: 16px;
  font-weight: 600;
  background-color: #ffffff;
}

#navbar li {
  align-self: center;
}

#navbar a {
  color: var(--dark-color);
}

#navbar .nav-link {
  border-bottom: 3px solid transparent;
}

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

#navbar .navbar-brand img {
  max-width: 200px;
}

/* Carousel */
.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: white;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: var(--dark-green);
}

/* Showcase*/
#showcase {
  background-image: url("../images/2.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#showcase a {
  color: var(--dark-color);
  font-weight: 600;
}

/* Services */
#services {
  background-color: var(--green-color);
  font-weight: 300;
  color: var(--dark-color);
}

#services h4 {
  font-weight: 500;
}

#services h6 {
  font-weight: 300;
}

#services img {
  max-width: 80px;
}

#services .services-item {
  border-color: var(--dark-color) !important;
}

#services a {
  text-decoration: none;
  color: var(--dark-color);
}

/* Footer */
#footer {
  background-image: url("../images/3.png");
  color: #ffffff;
}

#footer ul {
  list-style: none;
}

#footer ul li::before {
  content: "▶";
  color: var(--green-color);
  font-weight: bold;
  display: inline;
  font-size: 10px;
  margin-right: 10px;
}

#footer a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

#footer p {
  font-size: 13.6px;
  font-weight: 300;
}

#footer h6 {
  font-size: 12px;
  font-weight: 600;
}

#footer h5 {
  font-weight: bold;
  color: var(--green-color);
  font-size: 18px;
}
/* bottom */
#bottom {
  background-color: var(--green-color);
  height: 20px;
}

/******************************** About Us Page  ********************************/

/* Help */
#help .container-fluid {
  max-width: 1220px;
}

#help {
  background-image: url("../images/about/1.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#help h3 {
  width: 40%;
}

#help p {
  padding-right: 174px;
  text-align: justify;
}

/* mission */
#mission {
  background-color: var(--grey-color);
}

#mission h3::after {
  display: none;
}

/* About */
#about .container-fluid {
  max-width: 1220px;
}

#about {
  background-image: url("../images/about/2.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#about .col-lg-7 {
  padding-left: 174px;
  text-align: justify;
}

/* ownership*/
#ownership {
  background-image: url("../images/about/3.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#ownershipInside {
  max-width: 1220px;
}

#ownership h3::after {
  width: 160px;
}

#ownership p {
  padding-right: 174px;
  text-align: justify;
}

/******************************** Projects Page  ********************************/

/* Projects Header */
#projectsHeader {
  background-image: url("../images/projects/1.png");
  background-size: cover;
  background-repeat: no-repeat;
  height: 426px;
}

#projectsHeader h1 {
  color: #ffffff;
  width: 70%;
  font-weight: bold;
}

#projectsHeader h1::after {
  display: none;
}

#projectsHeader p {
  width: 58%;
  color: #ffffff;
}

/* ughanda */
#ughanda {
  background-image: url("../images/projects/1-2.png");
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}

#ughanda h1 {
  color: #ffffff;
}

#ughanda h1::after {
  display: none;
}

#ughanda a {
  color: var(--green-color);
  font-weight: 600;
}

/* carbon */
.number {
  color: #ffffff;
  background-color: var(--green-color);
  display: inline;
  font-size: 60px;
  font-weight: 800;
  position: absolute;
  left: 12%;
  line-height: 60px;
  padding-bottom: 31px !important;
}

.wide-border {
  border-bottom: 4px solid #e4e4e4;
}

#c1 {
  top: 964px;
}

#c2 {
  top: 1371px;
}

#c3 {
  top: 2122px;
}

.carbon h1 {
  font-size: 38px;
}

.carbon h1 small {
  font-weight: 300;
  font-size: 25px;
  text-transform: lowercase;
}

.carbon h1 {
  width: unset;
}
/* location */
#location {
  background-image: url("../images/projects/2.png");
  background-size: cover;
  background-repeat: no-repeat;
}

#location .container {
  padding-top: 130px !important;
}

/* More */
#more {
  background-color: var(--green-color);
}

#more a {
  text-decoration: none;
}

#blogSlider {
  position: relative;
}
#blogSlider .MS-content {
  white-space: nowrap;
  overflow: hidden;
}
#blogSlider .MS-content .item {
  display: inline-block;
  width: 50%;
  position: relative;
  vertical-align: top;
  overflow: hidden;
  height: 100%;
  white-space: normal;
  padding: 0 10px;
}
@media (max-width: 991px) {
  #blogSlider .MS-content .item {
    width: 50%;
  }
}
@media (max-width: 767px) {
  #blogSlider .MS-content .item {
    width: 100%;
  }
}
#blogSlider .MS-content .item .imgTitle {
  position: relative;
}
#blogSlider .MS-content .item .imgTitle .blogTitle {
  margin: 0;
  text-align: left;
  letter-spacing: 2px;
  color: #252525;
  font-style: italic;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
  bottom: 0;
  font-weight: bold;
  padding: 0 0 2px 10px;
}
#blogSlider .MS-content .item .imgTitle img {
  height: auto;
  width: 100%;
}
#blogSlider .MS-content .item p {
  font-size: 16px;
  margin: 2px 10px 0 5px;
  text-indent: 15px;
}
#blogSlider .MS-content .item a {
  float: right;
  margin: 0 20px 0 0;
  font-size: 16px;
  font-style: italic;
  color: rgba(173, 0, 0, 0.82);
  font-weight: bold;
  letter-spacing: 1px;
  transition: linear 0.1s;
}
#blogSlider .MS-content .item a:hover {
  text-shadow: 0 0 1px grey;
}
#blogSlider .MS-controls button {
  position: absolute;
  border: none;
  background-color: transparent;
  outline: 0;
  font-size: 50px;
  top: 125px;
  color: rgba(0, 0, 0, 0.4);
  transition: 0.15s linear;
}
#blogSlider .MS-controls button:hover {
  color: rgba(0, 0, 0, 0.8);
}
@media (max-width: 992px) {
  #blogSlider .MS-controls button {
    font-size: 30px;
  }
}
@media (max-width: 767px) {
  #blogSlider .MS-controls button {
    font-size: 20px;
  }
}
#blogSlider .MS-controls .MS-left {
  left: 50px;
}
@media (max-width: 767px) {
  #blogSlider .MS-controls .MS-left {
    left: -10px;
  }
}
#blogSlider .MS-controls .MS-right {
  right: 50px;
}
@media (max-width: 767px) {
  #blogSlider .MS-controls .MS-right {
    right: -10px;
  }
}

/* Projects -> Kiryandongo Page */
#k {
  color: #ffffff;
  background-color: var(--green-color);
  display: inline;
  font-size: 60px;
  font-weight: 800;
  position: absolute;
  left: 12%;
  top: 116%;
  line-height: 60px;
  padding-bottom: 31px !important;
}

/* Learn More Popup*/
#modal1 .font-bold p,
#modal1 .font-bold h3 {
  font-weight: bold !important;
}
#modal1 h3::after {
  display: none;
}

#modal1 .head {
  font-size: 28px;
  font-weight: bold;
}

#modal1 p.little {
  font-size: 14px;
}

.text-green {
  color: var(--green-color);
}

#modal1 hr {
  border-top: solid 3px #e4e4e4;
}

.bar1 {
  width: 30px;
  height: 70px;
  display: block;
  background-color: var(--dark-color);
}

.bar2 {
  width: 30px;
  height: 85px;
  display: block;
  background-color: var(--dark-color);
}

.bar3 {
  width: 30px;
  height: 40px;
  display: block;
  background-color: var(--dark-color);
}

#levelihoods div::after {
  display: block;
  width: 53px;
  border-bottom: 3px solid var(--green-color);
  content: "";
  margin-top: 5px;
  margin-left: 45px;
}

#levelihoods div:first-child::after {
  margin-left: 165px;
}

/******************** Products Page  ****************/
#products h5 {
  font-weight: bold;
  font-size: 1.4rem;
}

#products h5::after {
  display: none;
}

/******************* Farming Page *******************/
#farmingHeader {
  background-image: url("../images/farming/farming\ picture\ 3.png");
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
}

/******************** Coaching Page *****************************/
#navbar.coaching-navbar {
  background-color: transparent;
}

#navbar.coaching-navbar a {
  color: #fff;
}

#navbar.coaching-mobile-navbar .active a{
  border-color: var(--brown-color);
}

.coaching-about {
  background-image: url("../images/coaching/about.webp");
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 600px;
}
.coaching h1 {
  color: var(--dark-color);
  font-size: 1.438rem;
}

.coaching .farm-fixer-toggler {
  color: var(--dark-color);
  border: 2px solid var(--brown-color);
  font-weight: 600;
}

.coaching .farm-fixer-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(207, 165, 125, 0.25);
}

.coaching .modal-content {
  border-radius: 15px;
}

.coaching .modal-content .modal-img {
  border-start-start-radius: 15px;
  border-end-start-radius: 15px;
  background-image: url('../images/coaching/form-farmer-1.webp');
  background-size: cover;
  background-repeat: no-repeat;
}

.coaching .modal-content .fa-xmark {
  font-size: 9px;
  color: #fff;
  background-color: gray;
  border-radius: 50%;
  padding: 5px 7px;
}

.coaching h2{
  font-size: 2rem;
  width: 65%;
  line-height: 1;
}

.coaching h2.modal-title::after{
  border: none;
}

.coaching-steps {
  background-image: url("../images/coaching/background.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.coaching-steps h3::after {
  margin-left: auto;
  margin-right: auto;
}

.coaching-steps ul li .list-item {
  border: 3px dashed #75532a;
}

.coaching-steps ul li .list-item h5 {
  font-weight: 600;
}

.coaching-steps ul li .list-number {
  padding: 0.2rem 0.7rem;
}

.coaching-bottom {
  background-color: var(--green-color);
}

.coaching-bottom .btn {
  background-color: var(--dark-color);
  color: #fff;
  font-weight: 600;
}

.coaching-bottom-img {
  width: 45%;
  right: 0;
  bottom: 0;
}
/***************** CONTACT US PAGE ********************/
#contact h1 {
  font-size: 2.7rem;
  font-weight: bold;
}

#contact h1::after {
  display: none;
}

#contact .row {
  background-color: #f5f5f5;
}

#contactData {
  background-color: #f5f5f5;
}

@media (min-width: 768px) {
  #contactData {
    padding-left: 104px !important;
    padding-right: 104px !important;
  }
  .coaching h1 {
    width: 60% !important;
  }
}

#contact p {
  text-align: justify;
  font-size: 21px;
}

#contact input,
#contact textarea {
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 1);
}

#contact input:focus {
  border-color: unset !important;
  box-shadow: unset !important;
}

#contact textarea:focus {
  border-color: unset !important;
  box-shadow: unset !important;
}

#contact input::placeholder {
  font-style: italic;
  color: #e4e4e4 !important;
}

#contact textarea::placeholder {
  color: #e4e4e4 !important;
  font-style: italic;
}

#contactForm {
  background-image: url("../images/contact/contact\ us\ image.png");
  background-size: cover;
  background-repeat: no-repeat;
  clip-path: polygon(
    50% 0%,
    100% 0,
    100% 42%,
    100% 65%,
    100% 100%,
    0 100%,
    0 60%,
    6% 52%,
    0 43%,
    0 0
  );
  background-color: #f5f5f5;
}

@media (min-width: 768px) {
  #contactForm {
    padding-left: 160px !important;
    padding-right: 160px !important;
  }
}

/**** farm fixer ****/
#contact.farm-fixer #contactForm {
  clip-path: unset;
}

#contact.farm-fixer .row {
  background-color: unset;
}

#contact.farm-fixer .alert {
  display: none;
}
/**** projects ***/
.video-overlay {
  max-height: 500px;
}

.video-overlay::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(107, 183, 70, 0.6);
}

.projects-video {
  max-height: 500px;
  object-fit: cover;
}

.video-text {
  top: 25%;
}

.video-text h1 {
  color: #fff;
  font-size: 3.1rem;
}

.video-text h1::after {
  display: none;
}

.project-image {
  overflow: hidden;
}

.project-image img {
  width: 100%;
  transition: 1s all ease-in-out;
}

.project-image:hover img {
  transform: scale(1.1);
}

.project-header {
  position: relative;
  color: var(--green-color);
  font-weight: bold;
  font-style: italic;
}

@media (min-width: 992px) {
  .project-header::before {
    content: "";
    border-bottom: 2px solid var(--green-color);
    display: block;
    height: 2px;
    right: 102%;
    position: absolute;
    top: 12px;
    width: 252px;
  }

  .project-right .project-header::before {
    left: 102%;
    z-index: 10;
  }

  .project-right h1::after {
    position: absolute;
    right: 17px;
  }
}
/***************** Mobile Pages ********************/
@media (max-width: 767.9px) {
  h3 {
    font-size: 23px;
  }
  p {
    font-size: 14px;
  }
  #navbar .navbar-brand img {
    max-width: 100px;
  }
  .navbar-light .navbar-toggler-icon {
    background-image: url("../images/mobile/navbar\ icon\ mobile.png");
  }
  .navbar-light .navbar-toggler {
    border: none !important;
  }
  #showcase {
    background-image: url("../images/mobile/mobile\ hp\ map.png");
  }
  #showcase h3 {
    font-size: 23px !important;
  }
  #about h3 {
    font-size: 20px !important;
    text-align: center;
  }
  #about h3::after {
    display: none;
  }
  #about p {
    font-size: 14px;
  }
  #about a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 14px;
  }
  #services h6 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
  }
  #services p {
    text-align-last: center;
  }

  .services-item::-moz-focus-inner {
    border: 0;
  }

  .services-item::after {
    display: block;
    width: 150px;
    border-bottom: 1px solid var(--dark-color);
    text-align: center;
    content: "";
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
  }

  .collapse h4 {
    font-size: 15px !important;
  }
  .collapse p {
    font-size: 14px;
  }
  #mobileFooter {
    background-image: url("../images/3.png");
    color: #ffffff;
  }
  #mobileFooter h6 {
    font-size: 11px;
    font-weight: bold;
  }
  #mobileFooter a {
    text-decoration: none;
    color: #ffffff;
  }
  .pl-c1 {
    padding-left: 2.4rem !important;
  }
  /** About Us Page **/
  #mobileHelp h3::after {
    display: none;
  }
  .justify-last-center {
    text-align-last: center;
  }
  #mission {
    background-color: #ffffff;
  }
  #mission h3::after {
    display: block;
    width: 64px;
    border-bottom: 3px solid var(--green-color);
    content: "";
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
  }
  #mobileAbout h3::after {
    display: block;
    width: 64px;
    border-bottom: 3px solid var(--green-color);
    content: "";
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
  }
  /*** Farming Page ***/
  .carbon h1 {
    font-size: 23px;
  }
  .carbon h1::after {
    margin-left: auto;
    margin-right: auto;
  }
  .carbon p {
    text-align-last: center;
  }
  /*** Coaching Page ***/
  .coaching h1::after {
    margin: 5px auto;
  }
  .coaching-about{
    background-size: 200%;
    background-position:center top;
    min-height: 400px;
  }
  /*** Products Page ***/
  #products h5 {
    font-size: 23px;
  }
  #products .w-100 {
    width: 75% !important;
  }
  .product {
    border-bottom: 3px solid var(--grey-color);
  }
  .product:last-child {
    border-bottom: none;
  }
  #products .product:nth-child(2) .w-100 {
    width: 70% !important;
  }
  #products .product:nth-child(3) .w-100 {
    width: 70% !important;
  }
  #products .product:last-child .w-100 {
    width: 70% !important;
  }
  /*** Contact Us Page ***/
  #contact h1 {
    font-size: 23px;
  }
  #contact p {
    font-size: 14px;
    text-align: center;
  }
  #contactForm {
    clip-path: polygon(50% 4%, 58% 0, 100% 0, 100% 100%, 0 100%, 0 0, 42% 0);
  }
  #contactForm button {
    width: 100%;
    border-radius: 0;
  }
  /*** Projects Page ***/
  .carbon-projects h1::after {
    display: none;
  }
  .carbon-projects h1 small {
    font-size: 80%;
  }
  .carbon-projects h1 {
    text-align: center;
  }
  #location h4 {
    text-align: center;
  }
  #location p {
    text-align-last: center;
  }
  .video-text h1 {
    font-size: 1.45rem;
    width: 80% !important;
  }
}
