/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;1,100&display=swap'); */
*{
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    position: relative;
    overflow-x: hidden;
}

body {
    padding-top: 65px;
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
}

.container,
.container-fluid {
    max-width: 100%;
}

/* Force navbar to always be visible */
body > nav#ftco-navbar,
body > nav.ftco_navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    overflow: visible !important;
    z-index: 99999 !important;
}

#carouselExampleIndicators {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

#carouselExampleIndicators .carousel-item {
  position: relative;
}

#carouselExampleIndicators .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

#carouselExampleIndicators .carousel-caption {
  z-index: 2;
}

:root{
  --rsda-primary: #132c17;
  --rsda-secondary: #4d6528;
  --rsda-accent: #f7ca44;
  --rsda-highlight: #eddb80;
}
/* body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
} */
a{
    text-decoration: none;
  color: var(--rsda-secondary);
}
a:hover{
  color: var(--rsda-accent);
}
ul{
    list-style-type: none;
}
#logo{
  width: 300px;
}
.who-we-are-accent{
  color: var(--rsda-accent);
}
.btn-programs{
  background-color: var(--rsda-secondary);
  border-color: var(--rsda-secondary);
  color: #fff;
}
.btn-programs:hover{
  background-color: var(--rsda-primary);
  border-color: var(--rsda-primary);
  color: #fff;
}
.btn-involved{
  background-color: var(--rsda-accent);
  border-color: var(--rsda-accent);
  color: #fff;
}
.btn-involved:hover{
  background-color: var(--rsda-secondary);
  border-color: var(--rsda-secondary);
  color: #fff;
}
.btn-contact{
  background-color: var(--rsda-primary);
  border-color: var(--rsda-primary);
  color: #fff;
}
.btn-contact:hover{
  background-color: var(--rsda-secondary);
  border-color: var(--rsda-secondary);
  color: #fff;
}
.btn-danger{
  background-color: var(--rsda-accent);
  border-color: var(--rsda-accent);
  color: #fff;
}
.btn-danger:hover,
.btn-danger:focus{
  background-color: var(--rsda-secondary);
  border-color: var(--rsda-secondary);
  color: #fff;
}
.text-danger{
  color: var(--rsda-accent) !important;
}
.bg-danger{
  background-color: var(--rsda-accent) !important;
}
.back-to-top{
  position: fixed;
  bottom: 55px;
  right: 15px;
}
/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
  #logo{
  width: 175px;
}
}

/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
  #logo{
  width: 175px;
}
}
/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--rsda-accent);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

.section-bg {
  padding: 120px 0;
  color: #fff;
}

.section-bg:before {
  content: "";
  background: #1b1b1b;
  position: absolute;
  bottom: 60px;
  top: 60px;
  left: 0;
  right: 0;
  /*transform: skewY(-3deg);*/
}
/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  display: none;
}

.breadcrumbs h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol a {
  color: #777;
}

.breadcrumbs ol a:hover {
  color: #f7ca44;
  transition: 0.3s;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #f7ca44;
  content: "/";
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #f32249;
  border-radius: 15px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 25px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #fceaea;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 30px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #106eea;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #106eea;
}


/* top nav */
   ul{
    list-style: none;
    margin-bottom: 0;
   }

/*  desktop view - hover dropdown */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
        margin-top: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        display: block !important;
    }

    /* Also support Bootstrap JS click toggle */
    .navbar .nav-item .dropdown-menu.show {
        display: block !important;
    }
}
/* desktop view end */
.featuredImage img {
    width: 100%;
    height: 300px;
}

.featuredImage {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.featuredImage .overlay {
    position: absolute;
    bottom: 0;
    padding-left: 25px;
    padding-top: 15px;
    padding-bottom: 20px;
    width: 100%;
    color: white;
    font-size: 20px;
    z-index: 5;
    background: transparent;
}

.featuredImage .overlay::before {
    content: "";
    background: #090909;
    height: 100%;
    width: 100%;
    z-index: -1;
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0.65;
    transition: all 0.3s ease-out;
}

.featuredImage:hover .overlay {
    color: rgb(255, 255, 255);
}

.container .featuredImage:hover .overlay .amount,
.container .featuredImage:hover .overlay .h4,
.container .featuredImage:hover .overlay .textmuted,
.container .featuredImage:hover .overlay .fa-star,
.container .featuredImage:hover .overlay .fa-star-half-alt,
.container .featuredImage:hover .overlay .review {
    color: rgb(255, 255, 255);
}

.featuredImage:hover .overlay::before {
    bottom: 0px;
    opacity: 0.92;
}

.featuredImage .overlay .badge {
    background-color: #28a745 !important;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
    position: relative;
    z-index: 10;
    border: none;
    color: #ffffff !important;
}

.featuredImage .overlay .badge-success {
    background-color: #28a745 !important;
}

.featuredImage .overlay .badge-info {
    background-color: #17a2b8 !important;
}

.featuredImage .overlay .badge-secondary {
    background-color: #6c757d !important;
}

.textmuted {
    color: #ffffff;
    font-weight: 300;
    font-size: 15px;
    text-transform: capitalize;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.featuredImage .overlay .h4 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Generic scroll reveal animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Featured Programs hero (home) */
.featured-programs-hero {
  background-color: #111111;
  padding: 80px 0;
}

.featured-programs-hero .container {
  color: #ffffff;
}

.featured-programs-title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--rsda-accent);
}

.featured-programs-title span {
  color: var(--rsda-accent);
}

.featured-programs-description {
  color: #dddddd;
  max-width: 520px;
}

.featured-programs-btn {
  padding: 12px 32px;
  border-radius: 999px;
}

.featured-programs-grid .featuredImage img {
  height: 240px;
  object-fit: cover;
}

@media screen and (max-width: 991.98px) {
  .featured-programs-hero {
    padding: 60px 0;
  }

  .featured-programs-title {
    font-size: 2rem;
  }
}

/* Home Mission & Vision section */
.mission-vision-section {
  position: relative;
  background-image: url('../images/mission.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mission-vision-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.mission-vision-section .container {
  position: relative;
  z-index: 1;
}

.mission-vision-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.mission-vision-card {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 24px 20px;
  height: 100%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.mission-vision-link:hover .mission-vision-card {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-4px);
}

.mission-vision-underline {
  padding-bottom: 4px;
  border-bottom: 3px solid var(--rsda-accent);
}

/* Text Animation */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typing-text {
    overflow: hidden;
  border-right: .15em solid var(--rsda-accent);
    white-space: nowrap;
    margin: 0;
    padding: 0;
    animation: typing 5s steps(60, end) infinite;
    animation-delay: 1s;
}

/* Success Stories (Voices of Change) cards */
.success-story-card {
  background: #fdf7e3;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  overflow: hidden;
}

/* Success Stories (Home slider) */
.success-stories-section {
  background-color: #C9E4CA;
  background-image: url('../images/success-stories-bg.png') !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.success-story-home-text {
  color: #000;
  font-style: italic;
  font-size: 1.1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.success-story-home-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

.success-story-quote {
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  opacity: 0.6;
}

.success-story-text {
  color: #4d4d4d;
  font-style: italic;
  line-height: 1.8;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.success-story-avatar {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  object-fit: cover;
  flex: 0 0 auto;
}

.success-story-name {
  font-weight: 700;
  color: #111;
}

.success-story-title {
  color: #6b6b6b;
  font-size: 14px;
}

/* Dark Testimonial Cards for Homepage Success Stories */
.testimonial-card-dark {
  background: #2b2b2b;
  background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
  color: #e0e0e0;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .testimonial-card-dark {
    padding: 2rem 1.5rem !important;
  }
  
  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
}

/* Testimonial Carousel Navigation */
.testimonial-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6) !important;
  border-radius: 50%;
  color: #fff !important;
  font-size: 20px;
  transition: all 0.3s ease;
}

.testimonial-carousel .owl-nav button:hover {
  background: rgba(0, 0, 0, 0.9) !important;
}

.testimonial-carousel .owl-nav .owl-prev {
  left: -25px;
}

.testimonial-carousel .owl-nav .owl-next {
  right: -25px;
}

.testimonial-carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #d1d1d1;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.testimonial-carousel .owl-dot.active {
  background: #f86f2d;
  width: 30px;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .testimonial-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .testimonial-carousel .owl-nav .owl-prev {
    left: -10px;
  }
  
  .testimonial-carousel .owl-nav .owl-next {
    right: -10px;
  }
}

/*--------------------------------------------------------------
# GiveHope Template Styles
--------------------------------------------------------------*/

/* Navbar styling from template */
#ftco-navbar,
.ftco_navbar,
nav.ftco_navbar,
nav#ftco-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  transition: all 0.3s ease;
  width: 100% !important;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  transform: translateY(0) !important;
  margin: 0 !important;
  padding: 0 !important;
}

#ftco-navbar.scrolled,
.ftco_navbar.scrolled,
nav.ftco_navbar.scrolled,
nav#ftco-navbar.scrolled {
  position: fixed !important;
  top: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  transform: translateY(0) !important;
}

.ftco-navbar-light.navbar-dark,
.ftco-navbar-light.navbar-light {
  background: #ffffff !important;
  transition: all 0.3s ease;
}

.ftco-navbar-light.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.ftco-navbar-light.scrolled .navbar-nav > .nav-item > .nav-link {
  padding-top: 24px;
  padding-bottom: 24px;
}

.ftco-navbar-light.scrolled .navbar-brand img {
  height: 45px !important;
  transition: all 0.3s ease;
}

.navbar-brand {
  color: #000 !important;
  z-index: 2;
  position: relative;
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.3);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  font-size: 14px;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 20px;
  padding-right: 20px;
  color: #000000 !important;
  opacity: 1 !important;
  font-weight: 500;
  line-height: 1.2;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover {
  color: #f7ca44 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.active > a {
  color: #f7ca44 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.dropdown .dropdown-toggle::after {
  color: #000;
}

.ftco-navbar-light .navbar-nav > .nav-item.dropdown:hover .dropdown-toggle {
  color: #f7ca44 !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.dropdown .dropdown-menu {
  background: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10000;
  margin-top: 0;
}

.ftco-navbar-light .navbar-nav > .nav-item.dropdown .dropdown-item {
  color: #000;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.ftco-navbar-light .navbar-nav > .nav-item.dropdown .dropdown-item:hover {
  background-color: #f7ca44;
  color: #fff;
}

.btn-white {
  background: #f7ca44 !important;
  color: #000 !important;
  border: 2px solid #f7ca44 !important;
  transition: .3s all ease;
  font-weight: 600;
}

.btn-white:hover {
  background: #000 !important;
  color: #fff !important;
  border: 2px solid #000 !important;
}

/* Block 48 - Served Over Section */
.block-48 {
  background: #f7ca44;
  padding: 50px;
  color: #000;
  border-radius: 7px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.block-48 .block-48-text-1 {
  font-size: 30px;
  font-weight: 300;
  color: #000;
}

.block-48 .block-48-counter {
  font-size: 70px;
  line-height: 1;
  font-weight: bold;
  color: #000;
  margin: 20px 0;
}

.ftco-number {
  display: block;
  font-weight: 900;
}

/* Section Counter */
.section-counter {
  padding: 4em 0;
  background: #fafafa;
  position: relative;
  z-index: 10;
}

.welcome-text h2 {
  font-family: "Dosis", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  color: #000;
}

.welcome-text .lead {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

/* Featured Section with Yellow Overlay */
.featured-section {
  padding: 4em 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.featured-section img {
  box-shadow: 0 4px 30px -5px rgba(0, 0, 0, 0.5);
  border-radius: 7px;
}

.featured-section h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 300;
  font-family: "Dosis", sans-serif;
}

.featured-section p {
  color: #fff;
  line-height: 1.8;
}

.featured-section .featured-text {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 14px;
  font-weight: 400;
}

.featured-section.overlay-color-2 {
  position: relative;
}

.featured-section.overlay-color-2:before {
  position: absolute;
  content: "";
  background: #f7ca44;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: .9;
  z-index: 0;
}

.featured-section.overlay-color-2 > * {
  position: relative;
  z-index: 1;
}

/* Navbar Donate Button */
.nav-donate-btn {
  display: inline-block;
  margin-left: 20px;
  padding: 8px 22px;
  background: #f7ca44;
  color: #000 !important;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #f7ca44;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: .3s all ease;
  line-height: 1.5;
}

.nav-donate-btn:hover {
  background: #000;
  border-color: #000;
  color: #fff !important;
  text-decoration: none !important;
}

/* Keep reCAPTCHA badge visible above floating UI controls */
.grecaptcha-badge {
  z-index: 100001 !important;
  bottom: 86px !important;
}

@media (max-width: 991.98px) {
  #ftco-navbar .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 65px;
  }

  #ftco-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: calc(100% - 64px);
    min-width: 0;
    margin: 0 !important;
    padding: 8px 0 !important;
  }

  #ftco-navbar .navbar-brand img,
  #ftco-navbar .site-logo {
    max-height: 40px !important;
    height: 40px !important;
    max-width: 220px;
    width: auto !important;
    width: auto;
    display: block;
    object-fit: contain;
    object-position: left center;
  }

  #ftco-navbar .navbar-toggler {
    margin-left: 12px;
    padding: 0.25rem 0.5rem;
    flex-shrink: 0;
  }

  #ftco-nav.navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    background: #ffffff;
    margin-top: 6px;
    padding: 14px 20px 22px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

  #ftco-nav .navbar-nav {
    width: 100%;
    align-items: flex-start !important;
    padding-top: 8px;
  }

  #ftco-nav .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f1f1;
  }

  #ftco-nav .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  #ftco-nav .navbar-nav .nav-link {
    padding: 14px 4px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  #ftco-nav .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fafafa;
    margin: 0 0 10px;
    padding: 6px 0 8px 10px;
  }

  #ftco-nav .dropdown-item {
    padding: 8px 10px;
    font-size: 13px;
  }

  #ftco-nav .nav-donate-btn {
    margin: 16px 0 0;
  }
}

/* Button Styling */
.btn-primary {
  background-color: #f7ca44;
  border-color: #f7ca44;
  color: #000;
  font-weight: 500;
  transition: .3s all ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.btn-success {
  background-color: #5cb85c;
  border-color: #5cb85c;
  color: #fff;
  font-weight: 500;
  transition: .3s all ease;
}

.btn-success.btn-hover-white:hover,
.btn-success.btn-hover-white:focus {
  background-color: #fff;
  border-color: #fff;
  color: #5cb85c;
}

/* Success Stories Carousel Navigation */
.success-stories-carousel .owl-nav button {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 20px;
  margin: 0 10px;
  transition: .3s all ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.success-stories-carousel .owl-nav button:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

.success-stories-carousel .owl-nav .owl-prev {
  left: -70px;
}

.success-stories-carousel .owl-nav .owl-next {
  right: -70px;
}

.success-stories-carousel .owl-dots {
  text-align: center;
  margin-top: 30px;
}

.success-stories-carousel .owl-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
  transition: .3s all ease;
}

.success-stories-carousel .owl-dot.active {
  background: #fff;
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .success-stories-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .success-stories-carousel .owl-nav .owl-prev {
    left: -10px;
  }
  
  .success-stories-carousel .owl-nav .owl-next {
    right: -10px;
  }
}

/* Testimonial Cards for Light Background */
.testimonial-card-light {
  background: rgba(255, 255, 255, 0.95);
  transition: transform .3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.testimonial-card-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Site Sections */
.site-section {
  padding: 4em 0;
}

.border-top {
  border-top: 1px solid #e9ecef !important;
}

/* Media Block */
.media.block-6 {
  margin-bottom: 30px;
}

.media.block-6 .icon {
  margin-right: 30px;
  color: #f7ca44;
}

.media.block-6 .icon span:before {
  font-size: 50px;
}

.media.block-6 .media-body .heading {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 10px;
}

.media.block-6 .media-body p {
  color: #a2a2a2;
  line-height: 1.8;
}

/* Fundraiser Items */
.fundraise-item {
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  transition: all .3s ease;
  margin: 0 15px;
}

.fundraise-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.fundraise-item .card-img-top {
  border-bottom: none;
}

.fundraise-item .card-body {
  padding: 30px;
}

.fundraise-item .card-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.fundraise-item .card-title a {
  color: #000;
}

.fundraise-item .card-title a:hover {
  color: #f7ca44;
}

.fundraise-item .card-text {
  color: #666;
  line-height: 1.8;
}

.fundraise-item .donation-time {
  color: #999;
  font-size: 14px;
}

.fundraise-item .fund-raised {
  color: #333;
  font-weight: 600;
  margin-top: 15px;
}

/* Post Entry (News) */
.post-entry {
  margin-bottom: 30px;
}

.post-entry .img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.post-entry .img-wrap img {
  transition: transform .3s ease;
}

.post-entry .img-wrap:hover img {
  transform: scale(1.05);
}

.post-entry h3 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 20px;
}

.post-entry h3 a {
  color: #000;
}

.post-entry h3 a:hover {
  color: #f7ca44;
}

.post-entry .date {
  font-size: 14px;
}

.post-entry p {
  color: #666;
  line-height: 1.8;
}

/* Volunteer Form */
.form-volunteer {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  border-radius: 4px;
}

.form-volunteer h2 {
  font-size: 30px;
  margin-bottom: 30px;
  color: #fff;
}

.form-volunteer .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 4px;
}

.form-volunteer .btn-white {
  background: #fff;
  color: #000;
  border: none;
  font-weight: 600;
  transition: all .3s ease;
}

.form-volunteer .btn-white:hover {
  background: #f7ca44;
  color: #fff;
}

/* Block 11 for Carousel Container */
.block-11 {
  position: relative;
}

.site-section.fund-raisers {
  padding: 4em 0;
}

.site-section.fund-raisers .nonloop-block-11 .owl-nav {
  position: absolute;
  top: -80px;
  right: 0;
}

.site-section.fund-raisers .nonloop-block-11 .owl-nav button {
  background: #f7ca44 !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  margin-left: 10px;
  transition: all .3s ease;
}

.site-section.fund-raisers .nonloop-block-11 .owl-nav button:hover {
  background: #000 !important;
}

@media (max-width: 767px) {
  .site-section.fund-raisers .nonloop-block-11 .owl-nav {
    position: relative;
    top: auto;
    right: auto;
    text-align: center;
    margin-top: 20px;
    margin-bottom: -10px;
  }
}

/* Link Underline */
.link-underline {
  text-decoration: underline;
  color: #f7ca44;
}

.link-underline:hover {
  text-decoration: none;
  color: #f7ca44;
}

/* Link Underline */
.link-underline {
  text-decoration: underline;
  color: #f7ca44;
}

.link-underline:hover {
  text-decoration: none;
  color: #000;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  body {
    padding-top: 70px;
  }
  
  /* Force navbar visible on mobile */
  #ftco-navbar,
  .ftco_navbar,
  nav.ftco_navbar,
  nav#ftco-navbar {
    position: fixed !important;
    top: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
  }
  
  .navbar-brand img {
    height: 35px !important;
  }
  
  .carousel-caption {
    bottom: 60px !important;
    top: auto !important;
  }
}
  
  .ftco-navbar-light.navbar-dark,
  .ftco-navbar-light.navbar-light {
    background: #ffffff !important;
  }
  
  .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
    color: #000 !important;
  }
  
  #carouselExampleIndicators {
    margin-top: 0 !important;
  }
  
  .carousel-caption {
    bottom: 40px !important;
    top: auto !important;
  }
  
  .block-48 {
    padding: 30px;
    margin-bottom: 30px;
  }
  
  .block-48 .block-48-text-1 {
    font-size: 24px;
  }

/* Additional forced navbar visibility rules */
nav[id*="navbar"],
.navbar-fixed-top,
.fixed-top {
  position: fixed !important;
  top: 0 !important;
}
  
  .block-48 .block-48-counter {
    font-size: 50px;
  }
  
  .featured-section h2 {
    font-size: 1.8rem;
  }
}

/*--------------------------------------------------------------
# End GiveHope Template Styles
--------------------------------------------------------------*/

/* ============================================================
   NEW FEATURED PROGRAMS SECTION (card layout, #F0FFF1 bg)
   ============================================================ */
.fp-section {
  background-color: #F0FFF1;
  padding: 70px 0;
}

.fp-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #f7ca44;
  display: block;
}

.fp-heading {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  margin-top: 8px;
}

.fp-heading-accent {
  color: #f7ca44;
}

.fp-divider {
  width: 60px;
  height: 4px;
  background: #f7ca44;
  border-radius: 2px;
  margin: 14px auto 18px;
}

.fp-sub {
  color: #666;
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

.fp-card-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.fp-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  align-items: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 210px;
}

.fp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.fp-card-img-wrap {
  width: 150px;
  min-width: 150px;
  overflow: hidden;
  flex-shrink: 0;
}

.fp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fp-card:hover .fp-card-img {
  transform: scale(1.08);
}

.fp-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.fp-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.35;
}

.fp-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.fp-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  background: #fdf5d0;
  color: #333;
  border: 1px solid #e8d878;
  white-space: nowrap;
  display: inline-block;
}

.fp-tag-alt {
  background: #e6f7ed;
  color: #333;
  border-color: #a8d8bc;
}

.fp-tag-completed {
  background: #e2e3e5;
  color: #333;
  border: 1px solid #c6c8ca;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  white-space: nowrap;
  display: inline-block;
}

/* PDF Card */
.pdf-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  border-radius: 10px !important;
}
.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.13) !important;
}

.fp-card-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.fp-card-date {
  font-size: 11px;
  color: #aaa;
  white-space: nowrap;
}

/* ============================================================
   PHOTO GALLERY HOVER EFFECTS
   ============================================================ */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 160px;
  display: block;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay i {
  color: #fff;
  font-size: 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Green Read Full Story button */
.btn-story-green {
  background-color: #28a745;
  border-color: #28a745;
  color: #fff;
  font-weight: 600;
  transition: .3s all ease;
}

.btn-story-green:hover,
.btn-story-green:focus {
  background-color: #1e7e34;
  border-color: #1e7e34;
  color: #fff;
}

/* Volunteer section image */
.volunteer-img-wrap {
  width: 100%;
  max-width: 100%;
}

.volunteer-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   SUCCESS STORIES FULL CAROUSEL
   ============================================================ */

/* ============================================================
   SUCCESS STORIES — Template Style
   ============================================================ */

/* Outer wrapper: full-width, no padding, yellow base */
.success-stories-home {
  background: #f7ca44;
  overflow: hidden;
}

/* Each slide is a stacking context */
.success-stories-home .item {
  position: relative;
  display: flex;
  min-height: 420px;
  overflow: hidden;
}

/* Blurred background image covering the full slide */
.ss-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(1.1) saturate(0.7);
  transform: scale(1.06); /* prevent blur edge bleed */
  z-index: 0;
}

/* Yellow overlay on top of the blurred bg */
.ss-overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 202, 68, 0.80);
  z-index: 1;
}

/* Inner flex row: sits above overlay */
.ss-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 100%;
}

/* Left photo column — about 45% wide */
.ss-photo-col {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  align-items: center;
  padding: 40px 40px 40px 60px;
}

.ss-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  display: block;
}

/* Right text column */
.ss-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 60px 50px 40px;
}

/* "SUCCESS STORIES" small caps label */
.ss-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.8);
  margin-bottom: 14px;
  display: block;
}

/* Large heading */
.ss-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  margin: 0 0 18px;
}

/* Description */
.ss-desc {
  font-size: 0.97rem;
  color: rgba(0,0,0,0.9);
  line-height: 1.75;
  margin: 0 0 14px;
}

/* Attribution */
.ss-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0,0,0,0.85);
  margin-bottom: 28px;
}

/* Wide green READ THE FULL STORY button */
.ss-btn {
  display: inline-block;
  background: #28a745;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s ease;
  align-self: flex-start;
  border: none;
}
.ss-btn:hover {
  background: #1e7e34;
  color: #fff;
  text-decoration: none;
}

/* Hide owl nav & dots */
.success-stories-home .owl-nav { display: none !important; }
.success-stories-home .owl-dots { display: none !important; }

/* Responsive */
@media (max-width: 991px) {
  .ss-photo-col { flex: 0 0 50%; max-width: 50%; padding: 30px 20px 30px 30px; }
  .ss-text-col { padding: 30px 30px 30px 20px; }
  .ss-heading { font-size: 1.7rem; }
}
@media (max-width: 767px) {
  .success-stories-home .item, 
  .success-stories-home .ss-inner { flex-direction: column; min-height: auto; }
  .ss-photo-col { flex: 0 0 auto; width: 100%; max-width: 100%; padding: 30px 20px 0; }
  .ss-photo { height: 220px; width: 100%; }
  .ss-text-col { flex: 0 0 auto; width: 100%; padding: 24px 20px 30px; }
  .ss-heading { font-size: 1.4rem; }
}

/* Hide owl nav & dots; custom external buttons handle nav */
.success-stories-home .owl-nav { display: none !important; }
.success-stories-home .owl-dots { display: none !important; }

/* External slider-style prev/next buttons — transparent, arrow only */
.ss-prev-btn,
.ss-next-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.ss-prev-btn { left: 0; }
.ss-next-btn { right: 0; }
.ss-prev-btn:hover,
.ss-next-btn:hover,
.ss-prev-btn:active,
.ss-next-btn:active {
  background: transparent;
}
.ss-prev-btn:focus,
.ss-next-btn:focus { outline: none; background: transparent; }
.ss-prev-btn .carousel-control-prev-icon,
.ss-next-btn .carousel-control-next-icon {
  width: 32px;
  height: 32px;
  background-size: 100%;
  opacity: 1;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}
@media (max-width: 767px) {
  .ss-prev-btn, .ss-next-btn { width: 36px; }
}

/* ============================================================
   ONGOING PROJECTS - EQUAL HEIGHT CARDS
   ============================================================ */
.nonloop-block-11 .owl-stage {
  display: flex !important;
  flex-wrap: wrap;
}
.nonloop-block-11 .owl-item {
  display: flex;
}
.nonloop-block-11 .owl-item .card.fundraise-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.nonloop-block-11 .owl-item .fundraise-item .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.nonloop-block-11 .owl-item .fundraise-item .card-body .custom-progress-success {
  margin-top: auto;
}
