/*---------------------------------------------------------------

        Template Name: Give Life - Empowering Communities, Changing Lives
        Description: NGO One Page Website Template
        Author: Lucid Themeslab
        Author URL: https://www.templatemonster.com/store/lucid_themeslab/
        Version: 2.0.0

    -----------------------------------------------------------------

        CSS INDEX
        ==================

        01.  Basic Styles
        02.  Preloader Styles
        03.  Color Themes Styles 
        04.  Header Styles
        05.  Banner Styles
        06.  About Section Styles
        07.  Services Section Styles
        08.  Dream Section Styles
        09.  Projects Section Styles
        10.  Causes Section Styles
        11.  Team Section Styles
        12.  Fun Facts Section Styles
        13.  Gallery Section Styles
        14.  Testimonials Section Styles
        15.  CTA Section Styles
        16.  FAQ Section Styles
        17.  Need Help Styles
        18.  Footer Styles
        20.  Back to top Styles
    
----------------------------------------------------------------*/

/* =================
Basic Styles
===================*/

@import "mainstyle.css";

* {
  box-sizing: border-box;
  font-family: var(--secondaryfont) !important;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  overflow-x: hidden !important;
}
.alertmsg{
  z-index: 9999;
}
.alertmsg .btn-close {
  padding: 1rem !important;
}

.fs-0 {
  font-size: 0px;
}

.btn-close {
  background: unset;
}

/* Background-Color*/

.body-bg {
  background-color: var(--body-bg) !important;
}

.primary-color {
  background-color: var(--primary-color) !important;
}

.primary-light-color {
  background-color: var(--primary-light-color) !important;
}

.secondary-color {
  background-color: var(--secondary-color) !important;
}

.white-color {
  background-color: var(--white-color) !important;
}

.alt-color {
  background-color: var(--alt-color) !important;
}

.tertiary-color {
  background-color: var(--tertiary-color) !important;
}

.form-input-color {
  background-color: var(--form-input-color) !important;
}

.card-color {
  background-color: var(--card-color) !important;
}

.light-bg {
  background-color: var(--light-bg);
}

/* Text-Color*/

.primary-font {
  font-family: var(--primaryfont) !important;
}

.secondary-font {
  font-family: var(--secondaryfont) !important;
}

.primary-text {
  color: var(--primary-text) !important;
}

.para-text {
  color: var(--para-text) !important;
}

.heading-text {
  color: var(--heading-text) !important;
}

.form-input-text {
  color: var(--para-text) !important;
}

.nav-link-text {
  color: var(--nav-link-text);
}

.nav-text-active {
  color: var(--nav-text-active);
}

.white-text {
  color: var(--white-text);
}

.custom-border-color {
  border: 1px solid var(--custom-border-color) !important;
}

.image-border-color {
  border: 12px solid var(--image-border-color);
}

.danger-color {
  color: var(--danger-color);
}

.border-color {
  border-color: var(--border-primary);
}

/* Button Style */
.prime-btn {
  background-color: var(--primary-color) !important;
  color: var(--white-text) !important;
  padding: 10px 20px;
  border: 1px solid var(--border-primary) !important;
  font-size: 18px;
}

.prime-btn:hover {
  background-color: var(--primary-hover-color) !important;
  color: var(--white-text) !important;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  font-size: 18px;
  transition: 0.3 ease-in-out;
}

.btn-outline-primary {
  color: var(--white-text) !important;
  padding: 10px 20px;
  border: 1px solid var(--primary-color) !important;
  font-size: 18px !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: var(--white-text) !important;
  transition: 0.3 ease-in-out;
}

::placeholder {
  color: var(--para-text) !important;
}

.form-control {
  border: 0px;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: none;
}

.error {
  color: var(--danger-color) !important;
}

#donation label.error {
  position: absolute;
  top: 100%;
  width: 100%;
}

/*==================
 Preloader Styles
================== */


.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  border: 4px solid #e0f2ea;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.2s linear infinite;
  margin-bottom: 20px;
}

.logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  color:var(--white-color);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 1s ease-in-out;
}

.logo-text .heart-icon{
  color: var(--primary-color)!important;
  font-size: 1.5rem;
  animation: pulse 1.2s infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/*===================
  Color Themes Styles 
===================== */

.icon {
  font-size: 24px;
  cursor: pointer;
}

.right {
  content: 'f105';
}

.left {
  content: 'f104';
}

.control-btn {
  display: flex;
  position: absolute;
  justify-content: center;
  top: 20px;
  right: -53px;
  padding: 15px;
  height: 54px;
  width: 54px;
  line-height: 54px;
  align-items: center;
  border-radius: 0px 8px 8px 0px;
  background-color: var(--primary-color);
  color: var(--white-color);
  box-shadow: var(--box-shadow);
}

#toggleButton i {
  transition: 0.6s ease-in-out;
}

#toggleButton.rotate i {
  transform: rotate(180deg);
}

.pallete-box-main {
  position: fixed;
  background-color: var(--white-color);
  top: 250px;
  left: -222px;
  z-index: 3;
  width: 222px;
  transition: left 0.6s ease-in-out;
}

.pallete {
  border: 1px solid rgb(156, 156, 156);
}

.pallete.active {
  border: 2px solid var(--prime-color) !important;
}

.pallete-box-main.active {
  left: 0px !important;
}

.pallete-1,
.pallete-1:hover,
.pallete-1:active {
  background-color: #579055 !important;
  width: 30px;
  height: 30px;
}

.pallete-2,
.pallete-2:hover,
.pallete-1:active {
  background-color: #d19d39 !important;
  width: 30px;
  height: 30px;
}

.pallete-3,
.pallete-3:hover,
.pallete-1:active {
  background-color: #F05941 !important;
  width: 30px;
  height: 30px;
}

.pallete-4,
.pallete-4:hover,
.pallete-1:active {
  background-color: #3460D1 !important;
  width: 30px;
  height: 30px;
}

.pallete-5,
.pallete-5:hover,
.pallete-1:active {
  background-color: #579055 !important;
  width: 30px;
  height: 30px;
}

.pallete-6,
.pallete-6:hover,
.pallete-1:active {
  background-color: #d19d39 !important;
  width: 30px;
  height: 30px;
}

.pallete-7,
.pallete-7:hover,
.pallete-1:active {
  background-color: #F05941 !important;
  width: 30px;
  height: 30px;
}

.pallete-8,
.pallete-8:hover,
.pallete-1:active {
  background-color: #3460D1 !important;
  width: 30px;
  height: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--secondaryfont);
}

/*================================================
   Header Styles
=================================================*/
.header-main.sticky {
  position: fixed;
  background-color: var(--secondary-color); 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link:hover,
.nav-link.active,
.nav-link:focus {
  color: var(--primary-color) !important;
  box-shadow: none;
}

.nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color); 
}
.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important; 
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color);
}

@media (max-width: 991px) {  /* Mobile View */
  nav .nav-item a.nav-link {
    border-radius: 0; 
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    display: inline-block; 
  }
}

@media (max-width: 1050px) {
  .navbar-expand-lg {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 8px 10px;
  }

  .donate-btn {
    padding: 6px 14px;
    font-size: 14px;
  }
}

/*================================================
   Banner Styles
=================================================*/
.header-main {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-main.sticky {
  position: fixed;
  background-color: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-pagination-bullet {
  background-color: #ccc; 
  opacity: 1; 
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 15px;
  height: 15px;
}

.swiper-pagination-bullet {
  width: 13px;  
  height: 13px;
  background-color: #ccc;
  opacity: 1;
  margin: 0 4px; 
  border-radius: 50%; 
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  width: 13px;
  height: 13px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  color: white;
}

.hero .swiper {
  z-index: 0; 
}

.hero .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 850px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, var(--primary-overlay-color-Shade2) 0%, var(--primary-overlay-color-Shade2) 45%, var(--primary-overlay-color-Shade) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 15px;
  max-width: 1050px;
}

.slide-1 {
  background-image: url("../../assets/img/background_img/banner_img.webp");
}

.slide-2 {
  background-image: url("../../assets/img/background_img/cta_img.webp");
}

.slide-3 {
  background-image: url("../../assets/img/project_img/project_img_01.webp");
}

@media (max-width: 1199px) {
  .hero .swiper-slide {
    min-height: 650px;
  }
}

@media (max-width: 991px) {
  .hero .swiper-slide {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .hero .swiper-slide {
    min-height: 400px;
  }
}

/*================================================
   About Section Styles
=================================================*/
.abt-gridwrapper {
  max-width: 450px;
}

.abt-gridwrapper>div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.abt-gridwrapper div {
  width: 100%;
  height: 100%;
  position: relative;
  border: 12px solid var(--image-border-color) !important;
}

.abt-gridwrapper>div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;

}

.abt-gridwrapper {
  display: grid;
  grid-gap: 0.5em;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 120px;
  grid-auto-flow: dense;
}

.abt-gridwrapper .wide {
  grid-column: span 2;
}

.abt-gridwrapper .tall {
  grid-row: span 2;
}

.abt-gridwrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}

.abt-row {
  min-height: 650px;
}

.abtimg-outer {
  position: relative;
  min-height: 550px;
}

.abtimg-outer img {
  border: 12px solid var(--image-border-color);
  object-fit: cover;
  object-position: center;
}

.first-img {
  position: absolute;
  top: 0%;
  left: calc(50% - 200px);
  width: 400px;
}

.second-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
}

@media(max-width:1199px) {
  .abtimg-outer {
    min-height: 400px;
    margin-bottom: 100px;
  }

  .first-img {
    left: calc(50% - 175px);
    max-width: 350px;
  }

  .second-img {
    max-width: 250px;
    top: 60%;
    left: calc(70% - 150px);
  }
}

/*=======================
  Services Section Styles
========================= */
.service-item {
  position: relative;
  background: var(--card-color);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  overflow: hidden;
  text-align: center;
}

.service-item h4,
.service-item p,
.service-item i {
  transition: color 0.3s ease;
}

.service-item:hover {
  transform: translateY(-8px);
  background-color: var(--primary-color);
}

.service-item:hover h4,
.service-item:hover p,
.service-item:hover .service-icon {
  color:var(--white-color) !important;
}

.service-icon {
  font-size: 50px;
  color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

.service-item:hover .service-icon {
  transform: scale(1.2);
}

/*====================
  Dream Section Styles
======================*/
.dream-area {
  background-color: var(--alt-color);
}

.dream-item {
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  border-radius: 30px 30px 0 30px;
  padding: 30px 25px 40px;
  position: relative;
  transition: 0.5s all ease;
  background-color: var(--card-color);
}
.dream-item:hover {
  transform: translate(0, -10px);
  border-radius: 0;
}
.dream-item h3 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.4;
}
.dream-item h3 a {
  color: var(--heading-text);
}
.dream-item h3 a:hover {
  color: var(--primary-color);
}

.dream-item .sub-span {
  display: inline-block;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 35px;
  color: var(--heading-text);
  background-color: var(--light-bg);
  border-radius: 50%;
  position: absolute;
  right: 25px;
  bottom: 35px;
  font-weight: 600;
}

/*======================
  Projects Section Styles
========================*/
.donation-item {
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  border-radius: 30px 30px 0 30px;
  transition: 0.5s all ease;
  background-color: var(--card-color);
}
.donation-item:hover {
  transform: translate(0, -10px);
  border-radius: 0;
  background-color: #302c51;
}
.donation-item:hover .img img {
  border-radius: 0;
}
.donation-item:hover .img .common-btn {
  opacity: 1;
  visibility: visible;
  bottom: 15px;
}

.donation-item:hover .top h3 a:hover {
  color:  var(--primary-color);
}

.donation-item .img {
  position: relative;
}
.donation-item .img img {
  width: 100%;
  border-radius: 30px 30px 0 30px;
  transition: 0.5s all ease;
}
.donation-item .img .common-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  visibility: hidden;
}
.donation-item .inner {
  padding: 20px 12px 15px;
}

.donation-item:hover p span,
.donation-item:hover p,
.donation-item:hover span,
.donation-item:hover h5 a {
    color: var(--white-color)!important;
}

.common-btn {
  color: var(--white-color);
  background-color: var(--primary-color);
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.5s all ease;
}
.common-btn:hover {
  color: var(--white-color);
  background-color: #302c51;
  transform: translate(0, -5px);
}

#projects .owl-next,
.owl-prev {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  position: absolute;
}

.project-content {
  max-width: 100%;
}

#projects .owl-next {
  bottom: -30px;
  left: calc(50% + 25px);
}

#projects .owl-prev {
  bottom: -30px;
  left: calc(50% - 50px);
}

@media(min-width:768px) {
  .project-content {
    max-width: 70%;
  }

  #projects .owl-next {
    top: -120px;
    right: 0;
    left: unset;
  }

  #projects .owl-prev {
    top: -120px;
    right: 75px;
    left: unset;
  }
}

.owl-controls {
  margin-top: 20px;
}

.owl-pagination {
  display: flex;
  justify-content: center;
}

.owl-page:hover,
.owl-page.active {
  background-color: rgba(255, 255, 255, 0.3);
}

.owl-page:not(first-item) {
  margin-left: 10px;
}

/*======================
   Causes Section Styles
========================*/
.progressbar-item {
  margin-bottom: 15px;
}

.progress-bar {
  margin: 0 0 10px;
  overflow: visible;
  background: transparent;
}

.progress-number {
  padding-bottom: 7px;
  position: relative;
  margin: 5px 0;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  color: var(--alt-color);
}

.progress-title {
  z-index: 100;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}

.progress-number-mark {
  line-height: 1;
  padding: 8px 4px 7px;
  border-radius: 3px;
  color: var(--progress-number-color, #fff);
  margin-bottom: 4px;
  border-radius: 3px;
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  min-width: 55px;
  text-align: center;
}

.down-arrow {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--border-primary);
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
}

.progress-bg {
  height: 15px;
  overflow: hidden;
}

.progress-fill {
  height: 15px;
  width: 0%;
}

.causes_card {
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease-in-out, transform 0.3s ease-in-out;
  border-radius: 10px;
}

.causes_card:hover {
  transform: translateY(-5px);
}

.causes_card img {
  transition: transform 0.4s ease-in-out;
}

.causes_card:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

/*==================
Team Section Styles
==================== */
.team-outer{
  min-height: 480px !important;
}
.team-item img {
  position: relative;
  top: 0;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  transition: .5s;
}
.team-item:hover img{
  max-height: 250px;
}
.team-item .team-text {
  position: relative;
  height: 100%;
  transition: .5s;
}
@media(min-width:992px){
  .team-item .team-text .team-social {
   display: none;
  }
  
  .team-item:hover .team-text .team-social {
    display: block;
  }

}


.team-item .team-social .btn {
  display: inline-flex;
  color: var(--primary-color);
  background: var(--card-color);
  border-radius: 40px;
  height: 35px;
  width: 35px;
  justify-content: center;
  align-items: center;
  transition: .5s;
}

.team-item .team-social .btn:hover {
  color: var(--white-color);
  background: var(--primary-color);
}


@media (max-width: 991px) {
  .team-item img {
    max-height: 320px; 
    height: 100%;
    object-position: top center;
    width: 100%;
    object-fit: cover; 
  }
}
/* ========================
   Fun Facts Section Styles
===========================*/
@keyframes growProgressBar {

  0%,
  33% {
    --pgPercentage: 0;
  }

  100% {
    --pgPercentage: var(--value);
  }
}

@property --pgPercentage {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

div[role="progressbar"] {
  margin: auto;
  margin-bottom: 15px;
  --size: 12rem;
  --pgPercentage: var(--value);
  animation: growProgressBar 3s 1 forwards;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(closest-side, var(--tertiary-color) 80%, transparent 0 99.9%, var(--tertiary-color) 0), conic-gradient(var(--primary-color) calc(var(--pgPercentage) * 1%), var(--primary-light-color) 0);
  font-size: calc(var(--size) / 5);
}

/*=======================
   Gallery Section Styles
=========================*/
/*-- Gallery --*/
.gallery-item {
  margin-bottom: 30px;
  position: relative;
  transition: 0.5s all ease;
}
.gallery-item:hover {
  transform: translate(0, -10px);
}
.gallery-item:hover img {
  border-radius: 0;
}
.gallery-item:hover:before {
  transform: scale(1);
  opacity: 0.8;
  visibility: visible;
  border-radius: 0;
}
.gallery-item:hover .eye-icon {
  opacity: 1;
  visibility: visible;
}
.gallery-item:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #302c51;
  opacity: 0;
  transition: 0.5s all ease;
  transform: scale(0.8);
  visibility: hidden;
  border-radius: 30px 30px 0 30px;
}
.gallery-item img {
  width: 100%;
  border-radius: 30px 30px 0 30px;
  transition: 0.5s all ease;
}
.gallery-item .eye-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-block;
  color: #fff;
  font-size: 40px;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s all ease;
}

.lb-data .lb-close {
  background: url(../../assets/img/image_gallery_icon/close.png) top right no-repeat;
}

.lb-nav a.lb-prev {
  background: url(../../assets/img/image_gallery_icon/prev.png) left 48% no-repeat;
}

.lb-nav a.lb-next {
  background: url(../../assets/img/image_gallery_icon/next.png) right 48% no-repeat;
}

.lb-cancel {
  background: url(../../assets/img/image_gallery_icon/loading.gif)no-repeat;
}

@media (max-width: 576px) {
  .gallery-item img {
    max-height: 200px;
    object-fit: cover;
    height: 100%;
    width:100%;
  }
}
/*================================================
   Testimonials Section Styles
=================================================*/
.head-text::before {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 60px;
  left: 50%;
  height: 2px;
  background: var(--white-color);
  margin-left: -30px;
}

.testimonial-item img {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50%;
  margin: 25px auto;
}

.testimonial-item p {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 27px;
}

.testimonial-active .owl-prev {
  position: absolute;
  left: 0;
  top: 30%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-active .owl-next {
  position: absolute;
  right: 0;
  top: 30%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding: 15px 0;
}

.testimonial-active .owl-dot {
  width: 25px;
  height: 5px;
  background-color: var(--white-color);
}

.testimonial-active .owl-dot.active {
  width: 25px;
  height: 5px;
  background-color: var(--primary-color);
}

/*================================================
   CTA Section Styles
=================================================*/
.cta_bg {
  background: linear-gradient(0deg, rgba(var(--primary-bg-shade), 0.8), rgba(var(--primary-bg-shade), 0.8)), url(../../assets/img/background_img/cta_img.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/*================================================
   FAQ Section Styles
=================================================*/
.faq-header {
  background-color: var(--card-color);
}

.faq-question {
  cursor: pointer;

}

.accordion-button:not(.collapsed) {
  color: var(--heading-text);
  background-color: var(--primary-light-color) !important;
}

.accordion-item {
  background-color: var(--primary-light-color);
}

.accordion-button:focus {
  border-color: 0;
  outline: none;
  box-shadow: none;
  background-color: var(--primary-light-color);
  color: var(--heading-text);
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
  transform: unset;
}

.accordion-button::after {
  font-family: 'FontAwesome';
  content: '\f068';
  font-size: 16px;
  color: var(--heading-text);
  background-image: none;
  transition: unset;
}

.accordion-button.collapsed::after {
  content: '\f067';
  background-image: none;
  color: var(--heading-text);
  transition: unset;
}

/*================================================
   Need Help Styles
=================================================*/
.help-section {
  background-color: #101710;
  color: white;
  text-align: center;
  padding: 50px 0;
}

.help-section .card-body {
  padding: 20px;
}

.help-section .icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #5ba353;
}

.help-section h5 {
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.icon {
  width: 100px;
  height: 100px;
  background: #D6E7FD;
  line-height: 100px;
  border-radius: 50%;
  background-color: var(--white-color);
  text-align: center;
  border: 7px solid var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.blog-card img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
}

.blog-card:hover {
  transform: scale(1.05);
}

.blog-content{
  min-height: 150px; 
  height: 100%;
  overflow: hidden;
}
.blog-heading{
  min-height: 20px; 
  height: 100%;
  overflow: hidden;
}

#subscription .error:not(.form-control) {
  position: absolute;
  top: 100%;
}

/*================================================
   Footer Styles
=================================================*/
.footer_social_2 a:first-child {
  margin-left: 0;
}

.footer_social_2 a {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-color: var(--card-color);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: var(--heading-text) !important;
  margin-right: 10px;
  margin-bottom: 10px;
}

.footer_social_2 a:hover {
  background-color: var(--primary-color) !important;
  transition: 0.3s ease-in-out;
  color: var(--white-text) !important;
}

.team-member {
  position: relative;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

/*==================
  Back to top Styles
================== */
#backtotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backtotop:hover {
  cursor: pointer;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}

.cust_cause_card {
  min-height: 150px; 
  height: 100%;
  overflow: hidden;
}

.event-heading{
  min-height: 40px; 
  height: 100%;
}

.event-description{
  min-height: 80px; 
  height: 100%;
}



.causes-heading{
  min-height: 40px; 
  height: 100%;
}

.causes-description{
  min-height: 80px; 
  height: 100%;
}
