body {
  font-family: "Heebo", sans-serif;
}
a {
  color: #026711;
  text-decoration: none;
}
img {
  width: 100%;
}

.btn {
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  size: 12px;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: scale(1.1);
  background-color: #f0e8c87a;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: "Lobster Two", cursive;
  font-weight: 700;
  color: #057b13;
}
.text-primary {
  color: #026711 !important;
}
.logo {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

nav .navbar-nav .nav-link {
  color: #000000;
  font-weight: bold;
  font-size: 18px;
}

nav .navbar-nav .nav-link:hover {
  color: var(--bs-green);
  background-color: #f5f4f496;
  border-radius: 12px;
  transform: translateY(-2px);
}

nav .navbar-nav .nav-link.active {
  color: rgb(22, 109, 5);
}

/* Popup styling */
.popup {
  background: hsla(0, 0%, 10%, 0.7);
  z-index: 3000;
  top: 0;
  justify-content: center;
  align-items: center;
  display: none;
}
.close-section {
  right: 0.5rem;
  top: -0.75rem;
}
#close {
  font-size: 4rem;
}
#close:hover {
  cursor: pointer;
}
.links {
  width: 360px;
  height: max-content;
}
.links h5 {
  margin: 0.8rem;
}
.links h5 a {
  color: white;
}

.carousel-image {
  height: 800px;
  object-fit: cover;
  border-radius: 20px;
  max-width: 100%;
}

.carousel-caption .btn {
  font-size: 18px;
  padding: 12px 24px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.carousel-caption .btn:hover {
  background-color: #0056b3; /* Darker shade of your primary color */
  transform: scale(1.05);
}

.carousel-caption h3,
.carousel-caption p {
  animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  font-size: 30px;
  /* color: #fff; */
  background-color: #0e6303;
  width: 15px;
  height: 25px;
  border-radius: 30%;
  transition: transform 0.3s ease;
}
.carousel-control-prev i,
.carousel-control-next i {
  font-size: 50px;
}

.carousel-indicators .active {
  transform: scale(1.3);
}

.carousel-caption h3 {
  animation: fadeInDown 1s;
}

.carousel-caption p {
  animation: fadeInUp 1.5s;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#green-text {
  color: #fff;
}

.carousel.main,
.carousel-inner.main {
  height: 550px;
}
.carousel-caption {
  bottom: 25%;
}
.carousel-control-wrap {
  position: absolute;
  right: 7%;
  bottom: 35%;
}
.carousel-control-next.main,
.carousel-control-prev.main {
  position: static;
  border: 2px solid white;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}
.carousel-control-next i,
.carousel-control-prev i {
  font-size: 1.5rem;
  color: green;
}
.carousel-indicators.main [data-bs-target] {
  height: 10px;
  width: 10px;
  border-radius: 50%;
}
.carousel-links a {
  color: white;
}
.carousel-links .join {
  border: 1px solid lightslategray;
}
.carousel-links a:hover {
  color: greenyellow;
}

.carousel-item img {
  object-fit: cover;
  height: 470px; 
  border-radius: 10px;
}
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px;
  height: 30px;
  background-color: rgb(1, 57, 1); 
  border-radius: 50%; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-control-prev-icon::before,
.carousel-control-next-icon::before {
  font-size: 1.5rem; 
  color: rgb(84, 239, 7); 
}

.bg-primary,
.btn.btn-primary {
  background-color: #198754 !important;
}
.btn-primary.btn-sm {
  width: 100px;
}
.ministry {
  box-shadow: 0px 0px 15px 1px lightgray;
}
#back-to-top {
  left: auto;
  right: 0.5rem;
  bottom: 0.5rem;
  display: none;
  transition: 1s all ease;
}
footer {
  background: rgb(3, 30, 7);
}
.contact .icon {
  width: 50px;
  height: 50px;
  display: flex;
  place-items: center;
  margin: auto;
  margin-bottom: 0.5rem;
}
.contact .icon i {
  font-size: 1.5rem;
  margin: auto;
}
.office-heading {
  letter-spacing: 1px;
  font-size: 1.3rem;
}
.exec-image {
  height: 350px;
  object-fit: cover;
  object-position: top;
}
.card-text {
  padding: 1rem;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}
.card {
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.03);
}

.rounded-pill {
  color: #026711;
  background-color: aqua;
}
/* Stats & Facts start  */

.stat-box {
  background-color: #f5eaea36;
  box-shadow: 0 4px 6px rgba(134, 212, 140, 0.1);
  border-radius: 15px;
  transition: transform 0.7s ease-in-out;
}

.stat h3 {
  font-size: 24px;
  color: #043d02;
}

.stat p {
  font-size: 30px;
  font-weight: bold;
  color: #025c07d8;
  animation: countDown 2s infinite linear;
}

@keyframes countDown {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
/* end stats and facts */

.post-meta {
  margin-top: 10px;
}

.post-meta i {
  margin-right: 5px;
}

.passport-photo {
  width: 150px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  border: 2px solid #024902;
  transition: border-color 0.3s ease;
}

.passport-photo:hover {
  border-color: #007bff;
}

.post-meta {
  margin-top: 10px;
}
.post-meta i {
  margin-right: 5px;
}

/* Styling for the label */
.ui.green.label {
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 16px;
  box-shadow: 0 4px 6px rgba(10, 246, 2, 0.1);
  transition: all 0.3s ease;
}

/* Hover effect */
.ui.green.label:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(11, 236, 3, 0.15);
}

/* ministries cards section styling */
.ui.green.label:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
  margin-bottom: 10px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background-color: #ffc907;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.clearfix {
  overflow: auto;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.passport-photo {
  border-radius: 8%;
  box-shadow: 0px 0px 10px rgba(30, 239, 3, 0.525);
}

.clearfix p {
  line-height: 1.6;
}

.clearfix p:first-child {
  font-weight: bold;
}

.clearfix p:last-child {
  font-style: italic;
}

.passport-photo:hover {
  transform: scale(1.4);
}

.post-meta {
  font-size: 14px;
  color: #f9aa00eb;
  margin-bottom: 10px;
}

.post-meta i {
  margin-right: 5px;
}

.author {
  color: green;
}


/* Custom Dark Green Text */
.dark-green-text {
  color: #006400; /* Dark green color */
}

.dark-green-text a {
  color: #006400;
}

.dark-green-text a:hover {
  color: #004d00; /* Slightly darker green on hover */
}

/* Styling for the Affiliates section */
  .affiliates-section .card {
  border: 1px solid #f8f9fa;
  border-radius: 18px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  font-weight: 500;
}

.affiliates-section .card:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.affiliates-section .card-title a {
  color: #043d02;
  text-decoration: none;
  transition: color 0.3s ease;
}

.affiliates-section .card-title a:hover {
  color: #043d02;
}

.affiliates-section .card-body {
  padding: 20px;
}

.affiliates-section .profile-image {
  width: 100%;
  height: auto;
}

/* affiliates end */

/* Styles specifically for the ministries section */
/* ===== Ministries Section ===== */
/* =======================
   Ministries Section
======================= */
.ministries-section {
  width: 100%;
  padding: 20px;
  background-color: #f8f9fa;
}

/* =======================
   Scroll Wrapper
======================= */
.ministries-scroll-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

/* =======================
   Scrolling Row
======================= */
.ministries-scroll {
  display: inline-flex;
  gap: 1.5rem;
  animation: scrollLeft 40s linear infinite;
  white-space: nowrap;
}

.ministries-scroll:hover {
  animation-play-state: paused;
}

/* =======================
   Individual Card Styling
======================= */
.ministries-scroll .card {
  min-width: 18rem;
  max-width: 18rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #f8f9fa;
  border-radius: 18px;
  overflow: hidden;
  background-color: #fff;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ministries-scroll .card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

/* =======================
   Image Styling
======================= */
.ministries-section .card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ministries-section .card-img-top:hover {
  transform: scale(1.05);
}

/* =======================
   Card Body & Text
======================= */
.ministries-section .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.ministries-section .card-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* =======================
   Button Styling
======================= */
.ministries-section .btn-outline-success {
  transition: background-color 0.3s, color 0.3s;
}

.ministries-section .btn-outline-success:hover {
  background-color: #28a745;
  color: #fff;
}

/* =======================
   Scroll Animation
======================= */
@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =======================
   Responsive Design
======================= */
@media (max-width: 992px) {
  .ministries-scroll {
    animation: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    white-space: normal;
  }

  .ministries-scroll .card {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .ministries-scroll {
    flex-direction: column;
    align-items: center;
  }

  .ministries-scroll .card {
    flex: 1 1 100%;
    max-width: 90%;
    min-width: unset;
  }

  .ministries-section .card-img-top {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .ministries-section .card-img-top {
    height: 180px;
  }

  .ministries-section .card-title {
    font-size: 1rem;
  }
}


/* Background Utility */
.bg-green {
  background-color: #034613;
  color: #fff;
}

/* Section Wrapper Box */
.ministries-section .clearfix {
  overflow: auto;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* ===== Responsive Design ===== */

/* For small devices */
@media (max-width: 768px) {
  .ministries-scroll {
    animation: none; /* Disable auto-scroll on small screens */
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 10px;
  }

  .ministries-scroll::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a cleaner look */
  }

  .ministries-scroll .card {
    min-width: 14rem; /* Slightly smaller cards on mobile */
  }
}

/* For medium screens (tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  .ministries-scroll .card {
    min-width: 16rem;
  }
}

/* contact us form */

form {
  max-width: 800px;
  margin: 30px auto;
}

.feedback-input {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border: 2px solid #023308;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

.feedback-input:focus {
  border: 2px solid #f9aa00eb;
}

textarea {
  height: 150px;
  line-height: 150%;
  resize: vertical;
}

[type="submit"] {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  width: 100%;
  background: #023308;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  color: white;
  font-size: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: all 0.3s;
  margin-top: -4px;
  font-weight: 700;
}
[type="submit"]:hover {
  background: #f9aa00eb;
}

/* contact us email styles */
.email-button {
  background-color: #043d02;
  border: none;
  padding: 2px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-left: 10px;
}

.email-button:hover {
  background-color: #043d02;
  box-shadow: 0px 4px 6px #f9aa00eb;
}

.email-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.email-link:hover {
  text-decoration: underline;
  color: #f9aa00eb;
}

/* contact us email styles */

/* Start initiatives */

/* Styling for the card */
.initiatives-card {
  border: 5px solid #dddddd3c;
  border-radius: 15px;
  box-shadow: 0 4px 10px #8bf0791a;
  overflow: hidden;
  background-color: #fff;
}

/* Card header styles */
.initiatives-card .card-header {
  background-color: #f8f9fa;
  padding: 20px;
  border-bottom: none;
  box-shadow: #043d02;
}

/* Image styling */
.img-1 {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* Text content styling */
.initiatives-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Card footer styling */
.initiatives-card .card-footer h2 {
  font-size: 24px;
  font-weight: 700;
  color: #023a05;
  text-transform: uppercase;
}

/* end initiatives */

/* blog card business section */
.business-section {
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.business-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.image-section {
  flex: 1;
  padding-right: 20px;
  height: min-content;
}

.image-section img {
  width: 100%;
  border-radius: 8px;
}

.content-section {
  flex: 3;
  text-align: left;
}

.content-section h1 {
  margin-bottom: 5px;
}

.business-cards {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
}

.card-bs {
  padding: 5px;
  border-radius: 5px;
  width: 33%;
  flex-grow: 1;
}

.card-bs h2 {
  margin-bottom: 3px;
  font-size: 22px;
}

.card-bs p {
  /* font-size: 0.85rem; */
  line-height: 1.6;
}

/* styling the business section certain text in a p */

.dark-black {
  color: #000000;
  font-weight: bold;
  font-style: italic;
  font-size: 15px;
  text-decoration: underline;
}
.dark-green {
  color: #073a03;
  font-weight: bold;
  font-style: italic;
  font-size: 15px;
  text-decoration: underline;
}

.cards {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.blog-cards .cards_item {
  width: calc(50% - 1rem);
  padding: 0.5px;
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
}

.blog-cards .card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: auto;
  min-height: 500px;
}

.blog-cards .card:hover {
  transform: translateY(-10px);
}

.blog-cards .card_image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  object-fit: cover;
}

.card_content {
  padding: 2px;
}

.card_title {
  font-size: 1.5rem;
  /* margin: 0 0 1rem; */
}

.card_text {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.3;
  max-height: 200px;
  overflow-y: auto;
}

.post-meta {
  font-size: 0.8rem;
  color: #666;
  font: bold;
  margin-bottom: 1rem;
}

.post-meta i {
  margin-right: 0.2rem;
}

/* Scrollable text inside cards */
.scrollable {
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Add scrollbar styles */
.scrollable::-webkit-scrollbar {
  width: 2px;
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: #c5f4b7;
  border-radius: 3px;
}

.scrollable::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

/* Utility classes */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.full_width_card {
  width: 100%;
  display: flex;
}

.full_width_card .card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.full_width_card .card_image {
  width: 25%;
  height: auto;
}

.full_width_card .card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full_width_card .card_content {
  width: 75%;
  padding: 25px;
}

.full_width_card .card_text {
  max-height: none;
}

/* events styles  */
.hover-shadow:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
  transition: 0.3s ease-in-out;
}

/* Video Container Styling */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* about us in core values listing  */
.modern-list li {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  transition: transform 0.3s, color 0.3s;
}

/* List item hover effect */
.modern-list li:hover {
  color: #28a745;
  transform: translateX(10px);
}

/* Custom check icon spacing */
.modern-list li i {
  font-size: 1.2rem;
}
#chat-options {
  position: fixed;
  bottom: 75px;
  left: 30px;
}
#chat-btn {
  position: fixed;
  bottom: 24px;
  left: 28px;
}
#chat-icon,
#chat-options a i,
#back-to-top a i {
  font-size: 24px;
}
@media (max-width: 576px) {
  #chat-icon,
  #chat-options a i,
  #back-to-top a i {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .full_width_card {
    flex-direction: column;
  }
  .full_width_card .card_image,
  .full_width_card .card_content {
    width: 100%;
  }

  .cards_item {
    width: calc(100% - 1rem);
  }

  .card_content {
    padding: 1rem;
  }

  .carousel-caption {
    font-size: 14px;
  }

  .carousel-caption h3 {
    font-size: 24px;
  }

  .affiliates-section .profile-image {
    max-height: 200px;
    object-fit: contain;
  }

}

@media (min-width: 576px) {
  .carousel.main,
  .carousel-inner.main {
    height: 510px;
  }

  .carousel-caption.main {
    right: auto;
    left: 4%;
  }
  .affiliates-section .card {
    max-width: 300px;
    border: 1px solid #eee;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .affiliates-section img.rounded-circle {
  border: 3px solid #28a745;
}

.affiliates-section a {
  color: #034613;
}

.affiliates-section a:hover {
  color: #28a745;
}
  /* for column gap */
  .ministry,
  .event,
  .executive,
  .row .section-box {
    width: 48%;
  }
}

@media (min-width: 993px) {
  .event-yt {
    width: 48%;
  }

  .ministry,
  .executive,
  .row .section-box {
    width: 32%;
  }
}
 .carousel-item img {
    transition: transform 1.2s ease-in-out;
  }

  .carousel-item img:hover {
    transform: scale(1.03);
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: #198754; /* green success tone */
    border-radius: 50%;
    padding: 8px;
  }

  .btn-success {
    background-color: #198754;
    border: none;
  }

  @media (max-width: 768px) {
    .carousel-item img {
      height: 300px;
    }
  }
  .carousel-item {
    transition: transform 1s ease-in-out;
  }

  /* Carousel controls */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: #198754;
    border-radius: 50%;
    padding: 10px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 6%;
  }

  /* Card styling */
  .shadow-sm {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  /* Responsive adjustments */
  @media (max-width: 992px) {
    .col-lg-5 {
      width: 80%;
    }
  }

  @media (max-width: 768px) {
    .col-md-6 {
      width: 90%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      padding: 8px;
    }

    h1 {
      font-size: 1.8rem;
    }

    p.text-muted {
      font-size: 0.95rem;
    }
  }

  @media (max-width: 576px) {
    .col-sm-10 {
      width: 95%;
      margin-bottom: 15px;
    }

    h1 {
      font-size: 1.5rem;
    }

    p.text-muted {
      font-size: 0.9rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
      width: 10%;
    }
  }