/*******************************/
/********* General CSS *********/
/*******************************/
/*==================================================
            EHERF GLOBAL BRAND STYLES
==================================================*/

body {
  color: #444444;
  font-weight: 500;
  background: #ffffff;
  font-family: "Quicksand", sans-serif;
  line-height: 1.8;
}

/*=============================
      HEADINGS
==============================*/

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0056A6; /* EHERF Blue */
  font-weight: 700;
}

/*=============================
          LINKS
==============================*/

a {
  color: #0056A6;
  transition: all 0.35s ease;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: #D62828; /* EHERF Red */
  outline: none;
  text-decoration: none;
}

/*=============================
      PRIMARY BUTTON
==============================*/

.btn.btn-custom {
  padding: 12px 22px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: #0056A6;
  border: 2px solid #0056A6;
  border-radius: 6px;
  transition: all .35s ease;
}

.btn.btn-custom:hover {
  background: #D62828;
  border-color: #D62828;
  color: #ffffff;
  transform: translateY(-3px);
}

/*=============================
       INPUT FOCUS
==============================*/

.btn:focus,
.form-control:focus {
  box-shadow: 0 0 8px rgba(0, 86, 166, .25);
  border-color: #0056A6;
}


/* =========================================================
   EHERF NAVBAR - DROPDOWN FLICKER FIX
   ========================================================= */

/* Parent dropdown item */
.navbar .nav-item.dropdown {
  position: relative;
}

/* Desktop dropdown */
@media (min-width: 992px) {

  .navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    margin-top: 0 !important;

    min-width: 220px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(0) !important;

    pointer-events: none;

    transition:
      opacity 0.2s ease,
      visibility 0.2s ease;

    z-index: 1050;
  }

  /* Keep dropdown open when hovering parent */
  .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform: translateY(0) !important;
  }

  /* Prevent Bootstrap/old CSS from hiding it */
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Dropdown items */
  .navbar .dropdown-menu .dropdown-item {
    display: block;
    width: 100%;

    white-space: normal;

    transition:
      color 0.2s ease,
      background-color 0.2s ease;
  }

  /* Don't move dropdown items when hovering */
  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus {
    transform: none !important;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

  .navbar .dropdown-menu {
    position: static;

    width: 100%;
    max-width: 100%;

    margin: 0 !important;

    transform: none !important;

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transition: none;

    box-shadow: none;
  }

}
/*=============================
       CONTAINER
==============================*/

.container-fluid {
  max-width: 1366px;
}

/*=============================
      FLATICON
==============================*/

[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
  font-size: inherit;
  margin-left: 0;
}

/*==================================================
            NAVIGATION
==================================================*/

.navbar-nav .nav-link {
  position: relative;
  padding: 30px 15px;
  font-weight: 600;
  color: #ffffff;
  transition: all .35s ease;
}

/* Hover */

.navbar-nav .nav-link:hover {
  color: #3a6416 !important;
}

/* Underline */

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 8px;
  height: 3px;
  background: #D62828;
  border-radius: 50px;
  transform: scaleX(0);
  transform-origin: center;
  transition: .35s ease;
}

/* Hover Underline */

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

/* Active Menu */

.navbar-nav .nav-link.active {
  color: #2E8B57 !important; /* EHERF Green */
  font-weight: 700;
}

/* Active Underline */

.navbar-nav .nav-link.active::after {
  background: #2E8B57;
  transform: scaleX(1);
}

/*=============================
      DROPDOWN MENU
==============================*/

.dropdown-menu {
  border-radius: 8px;
  border: none;
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.dropdown-menu .dropdown-item {
  color: #333;
  font-weight: 500;
  transition: all .3s ease;
}

.dropdown-menu .dropdown-item:hover {
  background: #0056A6;
  color: #ffffff;
}

.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
  background: #2E8B57;
  color: #ffffff;
  font-weight: 600;
}

/*=============================
      DONATE BUTTON
==============================*/

.btn-custom {
  transition: all .35s ease;
}

.btn-custom:hover {
  transform: translateY(-3px);
}

/*=============================
      MOBILE NAVIGATION
==============================*/

@media (max-width: 991px) {

  .navbar-nav .nav-link {
    padding: 12px 0;
  }

  .navbar-nav .nav-link::after {
    left: 0;
    right: 0;
    bottom: 4px;
  }

}

/* Remove Bootstrap Default Arrow Border */

.navbar .dropdown-toggle::before,
.navbar .dropdown-toggle::after {
  border: none !important;
}
/**********************************/
/****** Loader & Back to Top ******/
/**********************************/

#loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
  z-index: 9999;
}

#loader.show {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.35s ease,
    visibility 0s linear;
}

#loader .loader {
  width: 48px;
  height: 48px;
  border: 4px solid #e8edf2;
  border-top: 4px solid #005baa; /* EHERF Blue */
  border-right: 4px solid #0b9444; /* EHERF Green */
  border-radius: 50%;
  animation: spin .8s linear infinite;
  will-change: transform;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/**********************************/
/******** Back To Top *************/
/**********************************/

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #005baa;
  color: #fff;
  font-size: 18px;
  text-align: center;
  line-height: 50px;
  box-shadow: 0 8px 22px rgba(0, 91, 170, .25);
  transition: all .3s ease;
  z-index: 999;
}

.back-to-top i {
  color: #ffffff;
  line-height: 50px;
}

.back-to-top:hover {
  background: #d62828;
  transform: translateY(-5px);
}

.back-to-top:hover i {
  color: #ffffff;
}

/**********************************/
/********** Top Bar CSS ***********/
/**********************************/

.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 46px;
  background: rgba(0, 91, 170, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  z-index: 999;
}

.top-bar .top-bar-left,
.top-bar .top-bar-right {
  display: flex;
  align-items: center;
  height: 46px;
}

.top-bar .top-bar-left {
  justify-content: flex-start;
}

.top-bar .top-bar-right {
  justify-content: flex-end;
}

/**********************************/
/******* Contact Information *******/
/**********************************/

.top-bar .text {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,.10);
  transition: all .3s ease;
}

.top-bar .text:last-child {
  border-right: 1px solid rgba(255,255,255,.10);
}

.top-bar .text i {
  color: #0b9444; /* Green */
  font-size: 15px;
  margin-right: 8px;
  transition: .3s;
}

.top-bar .text p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.top-bar .text:hover {
  background: rgba(255,255,255,.08);
}

.top-bar .text:hover i {
  color: #ffd54f;
}

/**********************************/
/******** Social Icons ************/
/**********************************/

.top-bar .social {
  display: flex;
  align-items: center;
  height: 46px;
}

.top-bar .social a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  border-left: 1px solid rgba(255,255,255,.10);
  transition: all .3s ease;
}

.top-bar .social a:last-child {
  border-right: 1px solid rgba(255,255,255,.10);
}

.top-bar .social a:hover {
  background: #d62828; /* Red */
  color: #ffffff;
  transform: translateY(-2px);
}

/**********************************/
/*********** Responsive ***********/
/**********************************/

@media (min-width:992px) {
  .top-bar {
    padding: 0 60px;
  }
}

@media (max-width:991px) {
  .top-bar {
    display: none !important;
  }
}

/**********************************/
/****** Performance Optimisation **/
/**********************************/

.back-to-top,
.top-bar .social a,
.top-bar .text,
#loader .loader {
  will-change: transform;
}

.back-to-top,
.top-bar .social a,
.top-bar .text {
  transition:
    background-color .3s ease,
    color .3s ease,
    transform .3s ease;
}

/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
  position: relative;
  transition: 0.5s;
  z-index: 999;
}

.navbar.nav-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.navbar .navbar-brand {
  margin: 0;
  color: #ffffff;
  font-size: 45px;
  line-height: 0px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.navbar .navbar-brand img {
  max-width: 100%;
  max-height: 40px;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  padding: 10px 15px 8px 15px;
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #D62828;
  transition: none;
}

.navbar .dropdown-menu {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #f8f9fa;
}

@media (min-width: 992px) {
  .navbar {
    position: absolute;
    width: 100%;
    top: 45px;
    padding: 20px 60px;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 9;
  }

  .navbar.nav-sticky {
    padding: 10px 60px;
    background: #0994df !important;
    border-bottom: none;
  }

  .page .navbar {
    background: #0d77c3 !important;
  }

  .navbar a.nav-link {
    padding: 8px 15px;
    font-size: 16px;
    letter-spacing: 1px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 15px;
    background: #078bc4 !important;
  }

  .navbar a.nav-link {
    padding: 5px;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
  }
}

/*******************************/
/********** Hero CSS ***********/
/*******************************/
.carousel {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: #ffffff;
  margin-bottom: 45px;
}

.carousel .container-fluid {
  padding: 0;
}

.carousel .carousel-item {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.carousel .carousel-img {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  text-align: right;
  overflow: hidden;
}

.carousel .carousel-img::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.carousel .carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .carousel-text {
  position: absolute;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}

.carousel .carousel-text h1 {
  text-align: center;
  color: #ffffff;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}

.carousel .carousel-text p {
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  margin-bottom: 25px;
}

.carousel .carousel-btn .btn.btn-custom {
  color: #ffffff;
}

.carousel .carousel-btn .btn.btn-custom:hover {
  color: #20212b;
}

.carousel .carousel-btn .btn:first-child {
  margin-right: 15px;
}

.carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 60px;
  top: calc(50% - 30px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 9;
}

.carousel .owl-nav .owl-prev,
.carousel .owl-nav .owl-next {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D62828;
  background: rgba(256, 256, 256, 0.2);
  font-size: 22px;
  transition: 0.3s;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: #D62828;
}

.carousel .owl-nav .owl-prev {
  margin-right: 2px;
}

.carousel .animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .carousel .carousel-text h1 {
    font-size: 35px;
  }

  .carousel .carousel-text p {
    font-size: 16px;
  }

  .carousel .carousel-text .btn {
    padding: 12px 30px;
    font-size: 15px;
    letter-spacing: 0;
  }
}

@media (max-width: 767.98px) {
  .carousel .carousel-text h1 {
    font-size: 30px;
  }

  .carousel .carousel-text .btn {
    padding: 10px 25px;
    font-size: 15px;
    letter-spacing: 0;
  }
}

@media (max-width: 575.98px) {
  .carousel .carousel-text h1 {
    font-size: 25px;
  }

  .carousel .carousel-text .btn {
    padding: 8px 20px;
    font-size: 14px;
    letter-spacing: 0;
  }
}

/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
  position: relative;
  margin-bottom: 45px;
  padding: 210px 0 90px 0;
  text-align: center;
   background:
    linear-gradient(rgba(0, 62, 116, 0.72), rgba(0, 91, 170, 0.72)),
    url(../img/page-header.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header h2 {
  position: relative;
  color: #ffffff;
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 5px;
}

.page-header h2::after {
  position: absolute;
  content: "";
  width: 100px;
  height: 2px;
  left: calc(50% - 50px);
  bottom: 0;
  background: #0b9444;
}

.page-header a {
  position: relative;
  padding: 0 12px;
  font-size: 22px;
  color: #ffffff;
}

.page-header a:hover {
   color: #0b9444;
}

.page-header a::after {
  position: absolute;
  content: "/";
  width: 8px;
  height: 8px;
  top: -2px;
  right: -7px;
  text-align: center;
  color: #ffffff;
}

.page-header a:last-child::after {
  display: none;
}

@media (max-width: 991.98px) {
  .page-header {
    padding: 60px 0;
  }

  .page-header h2 {
    font-size: 45px;
  }

  .page-header a {
    font-size: 20px;
  }
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 45px 0;
  }

  .page-header h2 {
    font-size: 35px;
  }

  .page-header a {
    font-size: 18px;
  }
}

/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 45px auto;
}

.section-header p {
  margin-bottom: 5px;
  position: relative;
  font-size: 22px;
  font-weight: 600;
  text-transform: capitalize;
  color: #d62828;
}

.section-header h2 {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
   color: #005baa;
}

@media (max-width: 991.98px) {
  .section-header h2 {
    font-size: 45px;
  }
}

@media (max-width: 767.98px) {
  .section-header h2 {
    font-size: 40px;
  }
}

@media (max-width: 575.98px) {
  .section-header h2 {
    font-size: 35px;
  }
}

/*******************************/
/********** About CSS **********/
/*******************************/
.about {
  position: relative;
  width: 100%;
  padding: 45px 0;
}

.about .section-header {
  margin-bottom: 30px;
  margin-left: 0;
}

.about .about-img {
  width: 100%;
  height: 100vh;
}

.about .about-tab {
  width: 100%;
}

.about .about-tab .nav.nav-pills .nav-link {
  padding: 8px;
  font-weight: 600;
  background: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: none;
}

.about .about-tab .nav.nav-pills .nav-link:hover,
.about .about-tab .nav.nav-pills .nav-link.active {
  /* color: #D62828; */
  padding-bottom: 7px;
  color: #005baa;
  border-bottom: 3px solid #0b9444;
}

.about .about-tab .tab-content {
  padding: 15px 0 0 0;
  background: transparent;
}

.about .about-tab .tab-content .container {
  padding: 0;
}

@media (max-width: 991.98px) {
  .about .section-header {
    margin-top: 30px;
  }
}

/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
  position: relative;
  width: 100%;
  padding: 45px 0 15px 0;
}

.service .service-item {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 45px;
  transition: 0.3s;
}

.service .service-icon {
  position: relative;
  width: 60px;
}

.service .service-icon i {
  position: relative;
  display: block;
   color: #0b9444;
  font-size: 60px;
  line-height: 60px;
  margin-top: 5px;
}

.service .service-text {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
}

.service .service-text::before {
  position: absolute;
  content: "";
  width: 1px;
  height: calc(100% - 10px);
  top: 5px;
  left: 0;
  background: rgba(0, 0, 0, 0.1);
}

.service .service-text::after {
  position: absolute;
  content: "";
  width: 3px;
  height: 40px;
  top: calc(50% - 20px);
  left: -1px;
  background: #d62828;
}

.service .service-text h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #005baa;
}

.service .service-text p {
  margin: 0;
}

/*******************************/
/********* Donate CSS **********/
/*******************************/
.donate {
  position: relative;
  width: 100%;
  margin: 45px 0;
  background: rgba(0, 91, 170, 0.78);
}

.donate .donate-content {
  padding: 45px 0 15px 0;
}

.container .donate {
  margin: 90px 0;
}

.container .donate .donate-content {
  padding: 45px 30px 15px 30px;
}

.donate .donate-content .section-header {
  margin-bottom: 30px;
}

.donate .donate-content .section-header h2 {
  color: #ffffff;
}

.donate .donate-text p {
  color: #ffffff;
  font-size: 18px;
}

.donate .donate-form {
  padding: 90px 30px;
   background: #005baa;
}

.donate .donate-form .control-group {
  margin-bottom: 15px;
}

.donate .donate-form .form-control {
  height: 60px;
  color: #ffffff;
  padding: 0 15px;
  border-radius: 0;
  border: 1px solid #ffffff;
  background: transparent;
}

.donate .donate-form .form-control::placeholder {
  color: #ffffff;
  opacity: 1;
}

.donate .donate-form .form-control:-ms-input-placeholder,
.donate .donate-form .form-control::-ms-input-placeholder {
  color: #ffffff;
}

.donate .donate-form .btn-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.donate .donate-form .btn.btn-custom {
  padding: 15px 0;
  width: 100%;
  height: 60px;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 0 #ffffff;
}

.donate .donate-form .btn.btn-custom:hover,
.donate .donate-form .btn.btn-custom.active {
  color: #005baa;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 30px #ffffff;
}

/*******************************/
/********** Causes CSS *********/
/*******************************/
.causes {
  position: relative;
  width: 100%;
  padding: 45px 0;
}

.causes .causes-carousel {
  width: calc(100% + 30px);
  margin-left: -15px;
  margin-right: -15px;
}

.causes .causes-item {
  margin: 0 15px;
  overflow: hidden;
  background: #f3f6ff;
}

.causes .causes-img {
  overflow: hidden;
}

.causes .causes-img img {
  width: 100%;
  transition: 0.3s;
}

.causes .causes-item:hover img {
  transform: scale(1.1);
}

.causes .causes-progress {
  width: 100%;
  margin-top: 32px;
  padding: 30px 30px 20px 30px;
}

.causes .progress {
  height: 10px;
  border-radius: 0;
  background: #dddddd;
  overflow: visible;
}

.causes .progress .progress-bar {
  position: relative;
  width: 0px;
  background: #D62828;
  overflow: visible;
  transition: 2s;
}

.causes .progress-bar span {
  position: absolute;
  top: -32px;
  right: 0;
  height: 23px;
  display: inline-block;
  padding: 2px 6px;
  background: #D62828;
  color: #20212b;
}

.causes .progress-bar span::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: 23px;
  left: calc(50% - 6px);
  border: 6px solid;
  border-color: #D62828 transparent transparent transparent;
}

.causes .progress-text {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
}

.causes .progress-text p {
  margin: 0;
}

.causes .causes-text {
  padding: 0 30px;
}

.causes .causes-text h3 {
  font-size: 22px;
  font-weight: 700;
}

.causes .causes-text p {
  margin: 0;
}

.causes .causes-btn {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.causes .causes-btn .btn {
  padding: 10px 0;
  width: 50%;
}

.causes .causes-btn .btn:last-child {
  color: #20212b;
  background: #D62828;
}

.causes .causes-btn .btn:last-child:hover {
  color: #ffffff;
}

/*******************************/
/********** Facts CSS **********/
/*******************************/
.facts {
  position: relative;
  width: 100%;
  min-height: 400px;
  margin: 45px 0;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
}

.facts .facts-item {
  display: flex;
  flex-direction: row;
  margin: 25px 0;
}

.facts .facts-item i {
  margin-top: 10px;
  font-size: 60px;
  line-height: 60px;
  color: #D62828;
}

.facts .facts-text {
  padding-left: 20px;
}

.facts .facts-text h3 {
  position: relative;
  display: inline-block;
  color: #ffffff;
  font-size: 45px;
  font-weight: 700;
}

.facts .facts-text h3::after {
  position: absolute;
  top: 0px;
  color: #ffffff;
  font-size: 25px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.facts .facts-text h3.facts-plus::after {
  content: "\f067";
  right: -25px;
}

.facts .facts-text h3.facts-dollar::after {
  content: "\f155";
  right: -18px;
}

.facts .facts-text p {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
  position: relative;
  width: 100%;
  padding: 45px 0 15px 0;
}

.team .team-item {
  position: relative;
  margin-bottom: 35px;
}

.team .team-img {
  position: relative;
  overflow: hidden;
}

.team .team-img img {
  width: 100%;
  transform: scale(1.1);
  margin-bottom: -15px;
  transition: 0.3s;
}

.team .team-item:hover img {
  margin: -15px 0 0 0;
}

.team .team-text {
  position: absolute;
  width: calc(100% - 40px);
  height: 96px;
  bottom: 0;
  left: 20px;
  padding: 22px 0;
  text-align: center;
  background: #ffffff;
  transition: 0.3s;
  overflow: hidden;
}

.team .team-text h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.team .team-text p {
  margin-bottom: 20px;
}

.team .team-social {
  position: relative;
  font-size: 0;
}

.team .team-social a {
  display: inline-block;
  width: 35px;
  height: 35px;
  margin: 0 3px;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
  color: #0056A6; /* EHERF Primary Blue */
  border: 2px solid #2E8B57; /* EHERF Green */
  transition: 0.3s;
}

.team .team-social a:hover {
  color: #FFFFFF;
  background: #D62828; /* EHERF Red */
  border-color: #D62828;
}

.team .team-item:hover .team-text {
  height: 160px;
}

/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
  position: relative;
  width: 100%;
  padding: 45px 0;
}

.testimonial .testimonials-carousel {
  position: relative;
  width: calc(100% + 30px);
  margin: 0 -15px;
}

.testimonial .testimonial-item {
  position: relative;
  width: 100%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testimonial .testimonial-profile {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 86, 166, 0.15); /* EHERF Blue Border */
}

.testimonial .testimonial-profile img {
  width: 80px;
  margin-bottom: -1px;
}

.testimonial .testimonial-name {
  padding-left: 15px;
  width: calc(100% - 95px);
}

.testimonial .testimonial-name h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #0056A6; /* EHERF Primary Blue */
}

.testimonial .testimonial-name p {
  margin: 0;
  font-style: italic;
  color: #2E8B57; /* EHERF Green */
}

.testimonial .testimonial-text p {
  margin: 0;
  color: #4B5563; /* Body Text */
}

.testimonial .owl-dots {
  margin-top: 15px;
  text-align: center;
}

.testimonial .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: #2E8B57; /* EHERF Green */
  transition: 0.3s ease;
}

.testimonial .owl-dot.active {
  background: #D62828; /* EHERF Red */
}

/*******************************/
/******** Volunteer CSS ********/
/*******************************/
.volunteer {
  position: relative;
  width: 100%;
  margin: 45px 0;
  background: rgba(0, 0, 0, 0.5);
}

.volunteer .volunteer-content {
  padding: 30px 0 45px 0;
}

.container .volunteer {
  margin: 90px 0;
}

.container .volunteer .volunteer-content {
  padding: 45px 30px 15px 30px;
}

.volunteer .volunteer-content .section-header {
  margin-bottom: 30px;
}

.volunteer .volunteer-content .section-header h2 {
  color: #ffffff;
}

.volunteer .volunteer-text p {
  color: #ffffff;
  font-size: 18px;
}

.volunteer .volunteer-form {
  padding: 90px 30px;
  background: #21b8e6;
}

.volunteer .volunteer-form .control-group {
  margin-bottom: 15px;
}

.volunteer .volunteer-form .form-control {
  height: 60px;
  color: #ffffff;
  padding: 0 15px;
  border-radius: 0;
  border: 1px solid #ffffff;
  background: transparent;
}

.volunteer .volunteer-form textarea.form-control {
  height: 120px;
  padding: 15px;
}

.volunteer .volunteer-form .form-control::placeholder {
  color: #ffffff;
  opacity: 1;
}

.volunteer .volunteer-form .form-control:-ms-input-placeholder,
.volunteer .volunteer-form .form-control::-ms-input-placeholder {
  color: #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom {
  padding: 15px 0;
  width: 100%;
  height: 60px;
  color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 0 #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom:hover {
  color: #D62828;
  border: 1px solid #ffffff;
  box-shadow: inset 0 0 0 30px #ffffff;
}

/*******************************/
/********** Event CSS **********/
/*******************************/
.event {
  position: relative;
  width: 100%;
  padding: 45px 0 15px 0;
}

.event .event-item {
  margin-bottom: 30px;
  background: #f3f6ff;
}

.event .event-item img {
  width: 100%;
}

.event .event-content {
  padding: 30px;
  display: flex;
}

.event .event-meta {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.event .event-meta p {
  position: relative;
  margin-bottom: 8px;
  padding-bottom: 8px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.event .event-meta p:last-child {
  border-bottom: none;
}

.event .event-meta i {
  color: #4a4c70;
  width: 25px;
}

.event .event-text {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
}

.event .event-text::before {
  position: absolute;
  content: "";
  width: 1px;
  height: calc(100% - 5px);
  top: 6px;
  left: 0;
  background: rgba(0, 0, 0, 0.15);
}

.event .event-text::after {
  position: absolute;
  content: "";
  width: 3px;
  height: 40px;
  top: calc(50% - 20px);
  left: -1px;
  background: #D62828;
}

.event .event-text h3 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.event .event-text p {
  margin: 0;
}

.event .btn.btn-custom {
  margin-top: 20px;
  padding: 8px 30px;
}

@media (max-width: 575.98px) {
  .event .event-content {
    flex-direction: column;
  }

  .event .event-meta {
    flex-direction: row;
  }

  .event .event-meta p {
    font-size: 14px;
    padding-right: 7px;
  }

  .event .event-meta p:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .event .event-meta i {
    width: 18px;
  }

  .event .event-text {
    margin: 0;
    padding: 0;
  }

  .event .event-text::before,
  .event .event-text::after {
    display: none;
  }
}

/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
  position: relative;
  width: 100%;
  padding: 45px 0 15px 0;
}

.blog .blog-item {
  margin-bottom: 30px;
  padding-bottom: 30px;
  background: #f3f6ff;
}

.blog .blog-img {
  width: 100%;
}

.blog .blog-img img {
  width: 100%;
}

.blog .blog-text {
  padding: 30px 30px 15px 30px;
}

.blog .blog-text h3 {
  font-size: 22px;
  font-weight: 700;
}

.blog .blog-text h3 a {
  color: #4a4c70;
}

.blog .blog-text h3 a:hover {
  color: #D62828;
}

.blog .blog-text p {
  margin: 0;
}

.blog .blog-meta {
  margin: 0 30px;
  padding-top: 15px;
  display: flex;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.blog .blog-meta p {
  margin: 0;
  color: #777777;
  padding: 0 30px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

.blog .blog-meta p:first-child {
  padding-left: 0;
}

.blog .blog-meta p:last-child {
  padding-right: 0;
  border: none;
}

.blog .blog-meta i {
  color: #4a4c70;
  margin-right: 8px;
}

.blog .pagination {
  margin-bottom: 15px;
}

.blog .pagination .page-link {
  color: #4a4c70;
  border-radius: 0;
  border-color: #4a4c70;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
  color: #D62828;
  background: #4a4c70;
}

.blog .pagination .disabled .page-link {
  color: #999999;
}

/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
  position: relative;
  width: 100%;
  padding: 45px 0;
}

.contact .contact-img {
  position: relative;
  width: 100%;
}

.contact .contact-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.contact .contact-form {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  margin-top: -220px;
  padding: 30px;
  background: #f3f6ff;
}

@media (max-width: 991.98px) {
  .contact .contact-form {
    max-width: 600px;
  }
}

@media (max-width: 767.98px) {
  .contact .contact-form {
    max-width: 400px;
  }
}

@media (max-width: 575.98px) {
  .contact .contact-form {
    max-width: 300px;
  }
}

.contact .contact-form input {
  padding: 15px;
  background: none;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-form textarea {
  height: 150px;
  padding: 8px 15px;
  background: none;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact .contact-form .btn.btn-custom {
  width: 100%;
}

.contact .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single {
  position: relative;
  padding: 45px 0;
}

.single .single-content {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}

.single .single-content img {
  margin-bottom: 20px;
  width: 100%;
}

.single .single-tags {
  margin: -5px -5px 41px -5px;
  font-size: 0;
}

.single .single-tags a {
  margin: 5px;
  display: inline-block;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #4a4c70;
  border: 1px solid #4a4c70;
}

.single .single-tags a:hover {
  color: #ffffff;
  background: #D62828;
  border-color: #D62828;
}

.single .single-bio {
  margin-bottom: 45px;
  padding: 30px;
  background: #f3f6ff;
  display: flex;
}

.single .single-bio-img {
  width: 100%;
  max-width: 100px;
}

.single .single-bio-img img {
  width: 100%;
  border: 15px solid #ffffff;
}

.single .single-bio-text {
  padding-left: 30px;
}

.single .single-bio-text h3 {
  font-size: 20px;
  font-weight: 700;
}

.single .single-bio-text p {
  margin: 0;
}

.single .single-related {
  margin-bottom: 45px;
}

.single .single-related h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 25px;
}

.single .related-slider {
  position: relative;
  margin: 0 -15px;
  width: calc(100% + 30px);
}

.single .related-slider .post-item {
  margin: 0 15px;
}

.single .post-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.single .post-item .post-img {
  width: 100%;
  max-width: 80px;
}

.single .post-item .post-img img {
  width: 100%;
}

.single .post-item .post-text {
  padding-left: 15px;
}

.single .post-item .post-text a {
  font-size: 16px;
  font-weight: 600;
}

.single .post-item .post-text a:hover {
  color: #D62828;
}

.single .post-item .post-meta {
  display: flex;
  margin-top: 8px;
}

.single .post-item .post-meta p {
  display: inline-block;
  margin: 0;
  padding: 0 3px;
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
}

.single .post-item .post-meta p a {
  margin-left: 5px;
  color: #999999;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
}

.single .related-slider .owl-nav {
  position: absolute;
  width: 90px;
  top: -55px;
  right: 15px;
  display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
  margin-left: 15px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a4c70;
  background: #D62828;
  font-size: 16px;
  transition: 0.3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
  color: #D62828;
  background: #4a4c70;
}

.single .single-comment {
  position: relative;
  margin-bottom: 45px;
}

.single .single-comment h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 25px;
}

.single .comment-list {
  list-style: none;
  padding: 0;
}

.single .comment-child {
  list-style: none;
}

.single .comment-body {
  display: flex;
  margin-bottom: 30px;
}

.single .comment-img {
  width: 60px;
}

.single .comment-img img {
  width: 100%;
  border-radius: 0;
}

.single .comment-text {
  padding-left: 15px;
  width: calc(100% - 60px);
}

.single .comment-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 3px;
}

.single .comment-text span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.single .comment-text .btn {
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #4a4c70;
  background: #dddddd;
  border-radius: 0;
}

.single .comment-text .btn:hover {
  background: #D62828;
}

.single .comment-form {
  position: relative;
}

.single .comment-form h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 25px;
}

.single .comment-form form {
  padding: 30px;
  background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
  margin: 0;
}

.single .comment-form input,
.single .comment-form textarea {
  border-radius: 0;
}

.single .comment-form input:focus,
.single .comment-form textarea:focus {
  border-color: #D62828;
}

/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
  position: relative;
  width: 100%;
}

@media (max-width: 991.98px) {
  .sidebar {
    margin-top: 45px;
  }
}

.sidebar .sidebar-widget {
  position: relative;
  margin-bottom: 45px;
}

.sidebar .sidebar-widget .widget-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 5px;
  font-size: 25px;
  font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
  position: absolute;
  content: "";
  width: 60px;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #D62828;
}

.sidebar .sidebar-widget .search-widget {
  position: relative;
}

.sidebar .search-widget input {
  height: 50px;
  border: 1px solid #dddddd;
  border-radius: 0;
}

.sidebar .search-widget input:focus {
  box-shadow: none;
  border-color: #D62828;
}

.sidebar .search-widget .btn {
  position: absolute;
  top: 6px;
  right: 15px;
  height: 40px;
  padding: 0;
  font-size: 25px;
  color: #D62828;
  background: none;
  border-radius: 0;
  border: none;
  transition: 0.3s;
}

.sidebar .search-widget .btn:hover {
  color: #4a4c70;
}

.sidebar .sidebar-widget .recent-post {
  position: relative;
}

.sidebar .sidebar-widget .tab-post {
  position: relative;
}

.sidebar .tab-post .nav.nav-pills .nav-link {
  color: #4a4c70;
  background: #D62828;
  border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
  color: #D62828;
  background: #4a4c70;
}

.sidebar .tab-post .tab-content {
  padding: 15px 0 0 0;
  background: transparent;
}

.sidebar .tab-post .tab-content .container {
  padding: 0;
}

.sidebar .sidebar-widget .category-widget {
  position: relative;
}

.sidebar .category-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar .category-widget ul li {
  margin: 0 0 12px 22px;
}

.sidebar .category-widget ul li:last-child {
  margin-bottom: 0;
}

.sidebar .category-widget ul li a {
  display: inline-block;
  line-height: 23px;
}

.sidebar .category-widget ul li::before {
  position: absolute;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #D62828;
  left: 1px;
}

.sidebar .category-widget ul li span {
  display: inline-block;
  float: right;
}

.sidebar .sidebar-widget .tag-widget {
  position: relative;
  margin: -5px -5px;
}

.single .tag-widget a {
  margin: 5px;
  display: inline-block;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 500;
  color: #4a4c70;
  border: 1px solid #4a4c70;
  border-radius: 0;
}

.single .tag-widget a:hover {
  color: #ffffff;
  background: #D62828;
  border-color: #D62828;
}

.sidebar .image-widget {
  display: block;
  width: 100%;
  overflow: hidden;
}

.sidebar .image-widget img {
  max-width: 100%;
  transition: 0.3s;
}

.sidebar .image-widget img:hover {
  transform: scale(1.1);
}

/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
  position: relative;
  margin-top: 45px;
  padding-top: 90px;
  background: #0056A6; /* EHERF Primary Blue */
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
  position: relative;
  margin-bottom: 45px;
  color: #FFFFFF;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
  margin-bottom: 30px;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer .footer-link a {
  display: block;
  margin-bottom: 10px;
  color: #FFFFFF;
  transition: 0.3s;
}

.footer .footer-link a::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: #2E8B57; /* EHERF Green */
}

.footer .footer-link a:hover {
  color: #2E8B57; /* Green Hover */
  letter-spacing: 1px;
}

.footer .footer-contact p i {
  width: 25px;
  color: #D62828; /* EHERF Red Icons */
}

.footer .footer-social {
  position: relative;
  margin-top: 20px;
}

.footer .footer-social a {
  width: 40px;
  height: 40px;
  padding: 6px 0;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.35s ease;
}

.footer .footer-social a:hover {
  background: #D62828; /* Red */
  color: #FFFFFF;
  border-color: #D62828;
}

.footer .footer-newsletter form {
  position: relative;
  width: 100%;
}

.footer .footer-newsletter input {
  margin-bottom: 15px;
  height: 60px;
  border: none;
  border-radius: 0;
  background: #FFFFFF;
  color: #1F2937;
}

.footer .footer-newsletter input::placeholder {
  color: #6B7280;
}

.footer .footer-newsletter label {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  letter-spacing: 1px;
}

.footer .footer-newsletter .btn.btn-custom {
  width: 100%;
  padding: 15px 0;
}

.footer .copyright {
  padding: 0 30px;
}

.footer .copyright .row {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.footer .copyright .col-md-6:last-child p {
  text-align: right;
}

.footer .copyright p a {
  color: #FFFFFF;
  font-weight: 600;
}

.footer .copyright p a:hover {
  color: #2E8B57; /* Green Hover */
}

@media (max-width: 767.98px) {
  .footer .copyright p,
  .footer .copyright .col-md-6:last-child p {
    margin: 5px 0;
    text-align: center;
  }
}

/* General */
.blog .swiper-slide {
  cursor: pointer;
}

/* Card */
.overlay-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Lift effect */
.overlay-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Image wrapper */
.image-wrapper1 {
  position: relative;
  overflow: hidden;
}

/* Image */
.image-wrapper1 img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Gradient overlay */
.image-wrapper1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  z-index: 1;
  transition: 0.3s ease;
}

/* Text overlay */
.overlay-content {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  color: #fff;
  z-index: 2;
  transition: 0.3s ease;
}

.overlay-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.overlay-content p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

/* Hover effects */
.overlay-card:hover img {
  transform: scale(1.08);
}

.overlay-card:hover .image-wrapper::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
}

.overlay-card:hover .overlay-content {
  transform: translateY(-5px);
}

.swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}
/* Make dropdown text visible */
.donate-form select.form-control {
  color: #222;
  background: #fff;
}

/* Dropdown option styling */
.donate-form select.form-control option {
  color: #222;
  background: #fff;
}

/* Disabled placeholder option */
.donate-form select.form-control option:disabled {
  color: #777;
}
/* Donation Status */
#paymentStatus {
  margin-top: 15px;
  font-weight: 600;
}

/* Select visibility */
.volunteer-form select.form-control,
.volunteer-form select.form-control option {
  color: #222 !important;
  background: #fff !important;
}

.logo {
  line-height: 1;
}

.logo img {
  max-height: 36px;
  margin-right: 8px;
}

.logo {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}
/* ==============================
   COOKIE CONSENT BANNER
================================= */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(17, 24, 39, 0.97);
  color: white;
  border-radius: 16px;
  padding: 20px;
  z-index: 99999;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  display: none;
  animation: slideUp 0.5s ease;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text h4 {
  margin-bottom: 8px;
  font-size: 20px;
}

.cookie-text p {
  margin: 0;
  line-height: 1.6;
  color: #d1d5db;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.accept-btn {
  background: #16a34a;
  color: white;
}

.accept-btn:hover {
  transform: translateY(-2px);
}

.reject-btn {
  background: #dc2626;
  color: white;
}

.reject-btn:hover {
  transform: translateY(-2px);
}

.settings-btn {
  background: #2563eb;
  color: white;
}

.settings-btn:hover {
  transform: translateY(-2px);
}

/* MODAL */

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100000;
}

.cookie-modal-content {
  width: 90%;
  max-width: 650px;
  background: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  position: relative;
}

.close-cookie-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  cursor: pointer;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 10px;
}

.cookie-option h4 {
  margin-bottom: 5px;
}

.save-cookie-btn {
  width: 100%;
  border: none;
  padding: 15px;
  background: #16a34a;
  color: white;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* SWITCH */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background: #16a34a;
}

input:checked + .slider:before {
  transform: translateX(28px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}
/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.recent-posts .post-box {
  transition: 0.3s;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.recent-posts .post-box .post-img {
  overflow: hidden;
  position: relative;
}

.recent-posts .post-box .post-img img {
  transition: 0.5s;
}

.recent-posts .post-box .meta {
  margin-top: 15px;
}

.recent-posts .post-box .meta .post-date {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent-color);
}

.recent-posts .post-box .meta .post-author {
  font-size: 15px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-box .post-title {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 700;
  margin: 15px 0 0 0;
  position: relative;
  transition: 0.3s;
}

.recent-posts .post-box p {
  margin: 15px 0 0 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.recent-posts .post-box .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  margin-top: 15px;
}

.recent-posts .post-box .readmore i {
  line-height: 0;
  margin-left: 4px;
  font-size: 18px;
}

.recent-posts .post-box:hover .post-title {
  color: var(--accent-color);
}

.recent-posts .post-box:hover .post-img img {
  transform: scale(1.1);
}

/* ===========================
   Causes Section - Responsive
=========================== */

@media (max-width: 767.98px) {
  .causes {
    padding: 60px 0;
  }

  .causes .causes-item {
    margin: 0 10px;
     background: #f4f9fc;
  }

  .causes .causes-text {
    padding: 20px;
  }

  .causes .causes-text h3 {
    font-size: 22px;
    line-height: 1.4;
  }

  .causes .causes-text p {
    font-size: 15px;
  }

  .causes .causes-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .causes .causes-btn .btn {
    width: 100%;
  }
}
.causes .causes-item {
  background: #f4f9fc;
}

.causes .progress .progress-bar {
  background: #0b9444;
}

.causes .progress-bar span {
  background: #0b9444;
  color: #ffffff;
}

.causes .progress-bar span::after {
  border-color: #0b9444 transparent transparent transparent;
}

.causes .causes-text h3 {
  color: #005baa;
}

.causes .causes-btn .btn:last-child {
  background: #d62828;
  color: #ffffff;
}

.causes .causes-btn .btn:last-child:hover {
  background: #0b9444;
  color: #ffffff;
}
/* ==========================================
   PROGRAMS SECTION RESPONSIVE
========================================== */

.programs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.programs-intro {
  flex: 1 1 320px;
}

.program-card {
  flex: 1 1 300px;
  transition: 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px);
}

.program-card a {
  text-decoration: none;
  color: inherit;
}

.program-card p {
  line-height: 1.8;
}

/* Tablets */
@media (max-width: 992px) {
  .programs-container {
    gap: 20px;
  }

  .program-card {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Phones */

@media (max-width: 768px) {
  .programs-container {
    flex-direction: column;
  }

  .programs-intro,
  .program-card {
    width: 100%;
  }

  .program-card {
    margin-bottom: 20px;
  }

  .programs-intro h2 {
    font-size: 2rem;
  }
}

/* Small Phones */

@media (max-width: 480px) {
  .programs-section {
    padding: 60px 20px;
  }

  .programs-intro h2 {
    font-size: 1.7rem;
    line-height: 1.4;
  }

  .program-card {
    padding: 25px;
  }
}
/* ==========================================
   BLOG SECTION RESPONSIVE
========================================== */

.blog .blog-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.35s ease;
}

.blog .blog-img {
  overflow: hidden;
}

.blog .blog-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.4s ease;
}

.blog .blog-item:hover img {
  transform: scale(1.05);
}

.blog .blog-text {
  flex: 1;
}

.blog .blog-text h3 {
  line-height: 1.5;
}

.blog .blog-text h3 a {
  color: inherit;
  text-decoration: none;
}

.blog .blog-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 991px) {
  .blog .blog-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .blog .section-header h2 {
    font-size: 2rem;
  }

  .blog .blog-img img {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .blog {
    padding: 60px 0;
  }

  .blog .blog-img img {
    height: 200px;
  }

  .blog .blog-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
/*=====================================
    PRELOADER
======================================*/

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease;
}

#loader.show {
  opacity: 1;
  visibility: visible;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Three Dots */

.loader-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loader-dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #28a9e0;
  animation: loaderDots 0.7s infinite ease-in-out;
}

.loader-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.loader-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes loaderDots {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-12px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
}


/* =========================================================
   EHERF NEWSLETTER SUCCESS MODAL - PERMANENT FIX
========================================================= */

/* Modal overlay - COMPLETELY HIDDEN by default */
.appointment-success-overlay,
.newsletter-success-overlay {
    position: fixed !important;
    inset: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    display: none !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 20px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    background: rgba(0, 0, 0, 0.65) !important;

    z-index: 999999 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/* =========================================================
   SHOW MODAL ONLY WHEN .show IS ADDED
========================================================= */

.appointment-success-overlay.show,
.newsletter-success-overlay.show {
    display: flex !important;
}


/* =========================================================
   MODAL BOX
========================================================= */

.appointment-success-modal,
.newsletter-success-modal {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    max-width: 530px !important;

    max-height: calc(100vh - 40px) !important;

    margin: auto !important;
    padding: 45px 30px 30px !important;

    box-sizing: border-box !important;

    background: #ffffff !important;

    border-radius: 20px !important;

    text-align: center !important;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;

    overflow-y: auto !important;

    transform: translateY(0) scale(1) !important;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.appointment-modal-close,
.newsletter-modal-close {
    position: absolute !important;

    top: 12px !important;
    right: 12px !important;

    width: 38px !important;
    height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    border-radius: 50% !important;

    background: transparent !important;

    color: #666666 !important;

    font-size: 22px !important;
    line-height: 38px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;

    z-index: 2 !important;
}


/* Close button hover */
.appointment-modal-close:hover,
.newsletter-modal-close:hover {
    background: #fcebec !important;
    color: #d62828 !important;
}


/* =========================================================
   MODAL TITLE
========================================================= */

.appointment-success-modal h2,
.newsletter-success-modal h2 {
    width: 100% !important;

    margin: 15px 0 12px !important;
    padding: 0 !important;

    color: #005baa !important;

    font-size: clamp(24px, 5vw, 34px) !important;

    line-height: 1.25 !important;

    overflow-wrap: anywhere !important;
}


/* =========================================================
   MODAL TEXT
========================================================= */

.appointment-success-modal p,
.newsletter-success-modal p {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #555555 !important;

    font-size: 15px !important;

    line-height: 1.7 !important;

    overflow-wrap: anywhere !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .appointment-success-overlay,
    .newsletter-success-overlay {
        padding: 15px !important;
    }

    .appointment-success-modal,
    .newsletter-success-modal {
        width: 100% !important;
        max-width: 100% !important;

        padding: 45px 20px 25px !important;

        border-radius: 16px !important;
    }

    .appointment-success-modal h2,
    .newsletter-success-modal h2 {
        font-size: 25px !important;
    }

    .appointment-success-modal p,
    .newsletter-success-modal p {
        font-size: 14px !important;
    }
}


/* =========================================================
   PREVENT BACKGROUND SCROLL WHEN MODAL IS OPEN
========================================================= */

body.modal-open {
    overflow: hidden !important;
}

