@font-face {
  font-family: "Metropolis";
  src: url("../fonts/Metropolis/Metropolis-Regular.woff2") format("woff2"),
    url("../fonts/Metropolis/Metropolis-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Metropolis";
  src: url("../fonts/Metropolis/Metropolis-Light.woff2") format("woff2"),
    url("../fonts/Metropolis/Metropolis-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Metropolis";
  src: url("../fonts/Metropolis/Metropolis-SemiBold.woff2") format("woff2"),
    url("../fonts/Metropolis/Metropolis-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Metropolis";
  src: url("../fonts/Metropolis/Metropolis-Bold.woff2") format("woff2"),
    url("../fonts/Metropolis/Metropolis-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #5bc1ac;
  --secondary-color: #5a6f80;
  --section-bg-color: #f0f8ff;
  --site-footer-bg-color: #44525d;
  --custom-btn-bg-color: #597081;
  --custom-btn-bg-hover-color: #0d47a1;
  --dark-color: #03072bde;
  --p-color: #717275;
  --border-color: #e9eaeb;

  --body-font-family: "Metropolis", sans-serif;

  --h1-font-size: 52px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 16px;
  --btn-font-size: 18px;
  --copyright-font-size: 14px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h2 {
  color: var(--secondary-color);
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay + .container {
  position: relative;
}

/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
}

.custom-block-wrap:hover {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.custom-block-body {
  padding: 30px;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-block .custom-btn {
  border-radius: 0;
  display: block;
}

/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
  background: var(--border-color);
  height: 5px;
}

.progress-bar {
  background: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
  margin-bottom: 0;
  padding-left: 0;
}

.custom-list-item {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  margin-bottom: 24px;
  padding: 40px;
}

.custom-text-box-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-text-box-icon {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-size: var(--h6-font-size);
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  line-height: 30px;
}

/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR               
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--secondary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding: 15px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  color: var(--custom-btn-bg-color);
  margin-top: 8px;
  padding: 12px 25px;
}

.custom-btn:hover {
  background-color: #1565c0;
  color: white;
}

.custom-border-btn {
  background: transparent;
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}

nav-link.custom-border-btn.active{
  color: white !important;
  background: #1565c0;
}

/*  donate button styling */
.nav-link.custom-btn.custom-border-btn {
  padding: 8px 20px !important;
  font-size: 14px;
  line-height: 1.5;
  margin-left: 15px;
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  position: sticky;
  top: 0;
  background: var(--white-color);
  z-index: 999;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  margin-left: 0 !important;
  padding-left: 0 !important;
  display: flex;
  align-items: center;
}

.logo {
  width: 120px; /* Increase logo width as needed */
  max-width: 100%;
  height: auto;
  margin-left: 0;
}

.navbar-brand {
  color: #088af8;
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-brand span {
  display: inline-block;
  vertical-align: middle;
}

.navbar-brand small {
  color: #088af8;
  display: block;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}

.logo {
  width: 80px;
  height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: #85c1f7;
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  background: transparent;
  color: #088af8;
}

.dropdown-menu {
  background-color: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  border: 0;
  max-width: 50px;
  padding: 0;
  margin-top: 20px;
}

.dropdown-item {
  display: inline-block;
  color: #85c1f7;
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  padding-top: 0;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
  background: transparent;
  color: #1565c0;
}

.dropdown-toggle::after {
  display: none !important;
}

.nav-item.dropdown:hover > .nav-link {
  color: #1565c0;
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  position: relative;
  background-color: #1565c0;
  padding: 10px 0;
  width: 100%;
  z-index: 1000;
}

.site-header p,
.site-header a {
  color: var(--white-color);
  font-size: 14px;
  margin: 0;
}

.site-header .social-icon {
  margin: 0;
  padding: 0;
}

.site-header .social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
  margin-left: 15px;
}

.site-header .social-icon-link {
  background-color: #000814;
  font-size: 10px;
}

/*---------------------------------------
  FEATURE BLOCK              
-----------------------------------------*/
.featured-block {
  text-align: center;
  transition: all 0.5s ease;
  min-height: 256px;
  padding: 15px;
}

.featured-block:hover {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.featured-block:hover .featured-block-image {
  transform: scale(0.75);
}

.featured-block-image {
  display: block;
  margin: auto;
  transition: all 0.5s;
}

.featured-block:hover .featured-block-text {
  margin-top: 0;
}

.featured-block-text {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  margin-top: 20px;
  transition: all 0.5s;
}

/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 350px;
  height: 400px;
  object-fit: cover;
}

.custom-text-block {
  padding: 60px 40px;
}

/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
  margin: 20px;
  margin-bottom: 0;
}

.counter-number,
.counter-text {
  color: var(--secondary-color);
  display: block;
}

.counter-number,
.counter-number-text {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
}

/*---------------------------------------
  VOLUNTEER              
-----------------------------------------*/
.volunteer-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.volunteer-section::after {
  content: "";
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

.volunteer-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.volunteer-image {
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.volunteer-section .custom-block-body {
  max-width: 440px;
  margin: 0 auto;
}

.volunteer-section .custom-block-body p {
  line-height: 1.7;
}

/*---------------------------------------
  DONATE              
-----------------------------------------*/
.donate-section {
  background-image: url("../images/different-people-doing-volunteer-work.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.donate-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 50px;
}

/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-detail-header-section {
  background-image: url("../images/news/close-up-volunteer-oganizing-stuff-donation.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.news-block-top {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.news-block-two-col-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 150px;
  margin-right: 20px;
}

.news-category-block {
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}

.news-category-block .category-block-link {
  color: var(--white-color);
  margin-right: 10px;
}

.news-block-info {
  padding-top: 10px;
  padding-bottom: 10px;
}

.news-block-title-link {
  color: var(--dark-color);
}

.news-detail-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 90px 50px 50px 50px;
  text-align: center;
}

blockquote::before {
  content: "“";
  color: var(--custom-btn-bg-color);
  font-size: 100px;
  line-height: 1rem;
  display: block;
}

.author-comment-link {
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
}

.search-form {
  margin-top: 20px;
}

.category-block,
.category-block-link {
  font-size: var(--copyright-font-size);
  margin-top: 5px;
  margin-bottom: 5px;
}

.category-block-link:hover {
  color: var(--primary-color);
}

.badge {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-bottom: 2px;
}

.tags-block-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  font-size: var(--copyright-font-size);
  line-height: normal;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 15px;
}

.tags-block-link:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 200px;
  height: 200px;
}

.cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
}

/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.contact-info-wrap {
  padding-top: 40px;
}

.contact-image-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  width: 100%;
}

/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
  background-color: var(--section-bg-color);
  box-shadow: none;
  border: 0;
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form label {
  margin-bottom: 10px;
}

.custom-form .form-check-group {
  margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
  padding-right: 0;
}

.form-check-group-donation-frequency + .form-check-group-donation-frequency {
  padding-right: 12px;
  padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
  font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
  position: relative;
  height: 100%;
  padding-left: 0;
}

.custom-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.form-check-radio .form-check-input[type="radio"] {
  background-color: var(--section-bg-color);
  border-radius: 0.25rem;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  padding: 25px 50px;
  transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type="radio"] {
  background-image: none;
}

.form-check-radio .form-check-input:checked[type="radio"] + .form-check-label,
.form-check-radio .form-check-input:hover + .form-check-label,
.form-check-radio .form-check-input:checked + .form-check-label {
  color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.input-group-file {
  border-radius: 0.25rem;
  padding: 13px 0.75rem;
}

.input-group-file input[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

.input-group-file .input-group-text {
  background: transparent;
  color: inherit;
  margin-bottom: 0;
  padding: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}

/*---------------------------------------
  CONTACT SEARCH & DONATE & SUBCRIBE FORM              
-----------------------------------------*/
.contact-form .form-control {
  background: var(--white-color);
}

.search-form {
  position: relative;
}

.search-form .form-control {
  padding-right: 50px;
}

.search-form button[type="submit"] {
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--p-color);
  width: 50px;
  padding: 12px;
}

.search-form button[type="submit"]:hover {
  background: transparent;
  color: var(--dark-color);
}

.donate-form .form-control {
  margin-bottom: 0;
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: #0a1931;
  padding-top: 70px;
}
.hfo-p{
  color: #85C1F7;
  font-size: large;
  font-weight: bold;
}

.site-footer-bottom {
  background-color: #1565c0;
  position: relative;
  z-index: 2;
  margin-top: 40px;
  padding: 12px 0;
  color: white;

}

.footer-bottom-container {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}


.site-footer .p-footer {
  color: #85c1f7;
}

.site-footer .container {
  padding-left: 0 !important;
  max-width: 200px;
}

.copyright-text, .copyright-text a  {
  font-size: var(--copyright-font-size);
  margin-right: 30px;
  color: white;
}


.site-footer .custom-btn {
  font-size: var(--copyright-font-size);
  color: white;
  background-color: #1565c0;
}

.site-footer .custom-btn:hover {
  background: white;
  color: #1565c0;
  border: 2px solid #1565c0;
}

/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  font-size: var(--p-font-size);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 5px;
}

/*footer titles (h1-h6) in .site-footer */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  color: #85c1f7;
}

/*the logo in the footer to the left edge */
.site-footer .row > .col-lg-3:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer .logo {
  margin-left: 0;
  margin-right: auto;
  display: block;
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--site-footer-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 38px;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .featured-block {
    min-height: inherit;
  }

  .volunteer-section::after {
    width: 450px;
    height: 450px;
  }

  .volunteer-image {
    width: 350px;
    height: 350px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
    position: relative;
    margin-top: 5px;
    margin-bottom: 20px;
    left: 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
  }

  .hero-section-full-height {
    height: inherit;
  }

  .carousel:hover .carousel-control-next-icon,
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item {
    height: inherit;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon,
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 20px 0 0 0;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number,
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .contact-container {
    padding: 2rem 1rem;
  }

  .contact-heading {
    font-size: 2rem;
  }
}

/* Footer menu inline and spaced */
.site-footer-bottom .footer-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

/* Center and balance footer columns without affecting existing styles */
.site-footer .row {
  justify-content: center !important;
}

.site-footer .row > div {
  margin-bottom: 24px;
}

/* On large screens, center the contact and newsletter columns only */
/* Footer Layout - Mobile First Approach */

/* Base styles for all screens */
.site-footer .list-unstyled li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.site-footer .list-unstyled li i {
  min-width: 22px;
  font-size: 18px;
  margin-top: 3px;
  color: #85c1f7;
}

.site-footer .list-unstyled li span,
.site-footer .list-unstyled li a {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.5;
  color: #85c1f7;
  word-break: break-word;
}

/* Small screens - center everything */
@media (max-width: 991px) {
  .site-footer .row > div {
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 30px;
  }

  .site-footer .logo {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Center the contact list while keeping items left-aligned */
  .site-footer .list-unstyled {
    display: inline-block;
    text-align: left;
    max-width: 300px;
  }

  /* Center newsletter form */
  .site-footer .subscribe-form {
    max-width: 350px;
    margin: 0 auto;
    padding: 0 10px;
  }
}

/* Large screens - strategic alignment */
@media (min-width: 992px) {
  /* Center contact and newsletter columns */
  .site-footer .col-lg-4,
  .site-footer .col-lg-5 {
    align-items: center !important;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* Keep logo column left-aligned */
  .site-footer .col-lg-3:first-child {
    align-items: flex-start !important;
    text-align: left !important;
    margin-left: 0;
    margin-right: 0;
  }

  /* If contact info is the second column, left-align it */
  .site-footer .col-lg-4:nth-child(2) {
    align-items: flex-start !important;
    text-align: left !important;
    margin-left: 0;
    margin-right: 0;
  }

  /* If newsletter is the second column, left-align it */
  .site-footer .col-lg-5:nth-child(2) {
    align-items: flex-start !important;
    text-align: left !important;
    margin-left: 0;
    margin-right: 0;
  }

  /* Newsletter form alignment on large screens */
  .site-footer .subscribe-form {
    max-width: 350px;
    margin: 0 auto;
    padding: 0 10px;
  }

  /* Contact list alignment on large screens */
  .site-footer .list-unstyled {
    text-align: left;
    max-width: 100%;
  }
}

/* Extra refinements for better visual balance */
.site-footer .row {
  justify-content: center;
}

.site-footer .row > div {
  margin-bottom: 24px;
}

/* Improved contact info styling */
.site-footer .list-unstyled li:hover i {
  color: #ffffff;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.site-footer .list-unstyled li a:hover {
  color: #ffffff;
  transition: color 0.3s ease;
}

/* Section titles styling */
.site-footer h5,
.site-footer h6 {
  color: #85c1f7;
  margin-bottom: 20px;
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
  .site-footer .list-unstyled {
    max-width: 280px;
  }

  .site-footer .list-unstyled li {
    margin-bottom: 15px;
  }

  .site-footer .subscribe-form {
    max-width: 100%;
    padding: 0 10px;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  .site-footer .row {
    justify-content: space-around;
  }

  .site-footer .col-lg-3,
  .site-footer .col-lg-4,
  .site-footer .col-lg-5 {
    flex: 0 0 45%;
    max-width: 45%;
  }
}

.site-footer .list-unstyled li span,
.site-footer .list-unstyled li a {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.5;
  color: #85c1f7;
  word-break: break-word;
}

:root {
  --primary: #2a7f62; /* Deep green for health/trust */
  --secondary: #f9a825; /* Gold for hope */
  --accent: #1565c0; /* Blue for peace */
  --light: #f8f9fa;
  --dark: #212529;
  --text: #333;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--text);
  line-height: 1.6;
  background-color: #f5f5f5;
}

/* Programs Section */
.programs {
  padding: 80px 20px;
  background: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: black;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #0d47a1;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.programs-grid h3{
  color: #0d47a1;
}
.programs-grid p{
  /* font-weight: bold; */
  color:black; 
}
.program-card {
  background: var(--light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  text-align: center;
  padding: 30px;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Program Icons - Vector Version */
.program-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.program-svg {
  width: 60px;
  height: 60px;
  fill: white;
}

.health-icon {
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(42, 127, 98, 0.3);
}

.wash-icon {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

.peace-icon {
  background: var(--secondary);
  box-shadow: 0 4px 12px rgba(249, 168, 37, 0.3);
}

/* Optional: Add animation on hover */
.program-card:hover .program-svg {
  animation: bounce 0.5s;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Mission/Vision Section */
/* Mission/Vision Section - Improved Readability */
.mission-vision {
  padding: 80px 20px;
  background: #0d47a1; /* Changed from gradient to solid color */
  color: white;
  position: relative;
}

.mission-vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for better contrast */
  z-index: 0;
}

.mv-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  position: relative; /* Ensure content stays above overlay */
  z-index: 1;
}

.mv-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly more opaque */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25); /* Stronger border */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mv-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  color: white;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.mv-card h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: #0d47a1;
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.mv-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mission-vision {
    padding: 60px 15px;
  }

  .mv-card {
    padding: 25px;
  }

  .mv-card h2 {
    font-size: 1.8rem;
  }

  .mv-card p {
    font-size: 1rem;
  }
}

/* Purpose & Scope Section */
.purpose-scope {
  padding: 80px 20px;
  background: white;
}

.ps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.ps-card {
  background: var(--light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ps-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0d47a1;
  position: relative;
  padding-bottom: 15px;
}

.ps-card h2:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: black;
  bottom: 0;
  left: 0;
}

/* Stats Section */
.stats {
  padding: 60px 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1527525443983-6e60c75fff46?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  color: #0d47a1;
}

.stat-item p {
  color: white;
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

/* Wash Stats */

.wash-stats {
  position: relative;
  padding: 6rem 0;
}

.wash-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.wash-stats .stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border-radius: 10px;
}

.wash-stats .stat-item h3 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.wash-stats .stat-item p {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: #fff;
}

/* Blog Post Styles */
:root {
  --primary: #2a7f62;
  --secondary: #f9a825;
  --accent: #1565c0;
  --light: #f8f9fa;
  --dark: #212529;
  --text: #333;
  --transition: all 0.3s ease;
}

.blog-post-container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
}

.featured-image {
  position: relative;
  height: 60vh;
  max-height: 600px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
}

.post-header {
  max-width: 800px;
  margin: -80px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.category-tag {
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.health-tag {
  background: var(--primary);
  color: white;
}
.wash-tag {
  background: var(--accent);
  color: white;
}
.peace-tag {
  background: var(--secondary);
  color: white;
}

.post-date {
  color: #666;
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.author-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

.author-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.author-title {
  font-size: 0.9rem;
  color: #ddd;
}

.post-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.post-intro {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--dark);
}

h2 {
  font-size: 1.8rem;
  margin: 50px 0 20px;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}


.stat-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin: 40px 0;
  padding: 30px;
  background: rgba(42, 127, 98, 0.05);
  border-radius: 8px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.approach-card {
  padding: 25px;
  border-radius: 8px;
  background: var(--light);
  text-align: center;
  transition: var(--transition);
}

.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.approach-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.approach-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.approach-card h3 {
  margin: 15px 0 10px;
  color: var(--dark);
}

.impact-graph {
  margin: 40px 0;
}

.graph-bar {
  height: 40px;
  margin-bottom: 15px;
  background: #f0f0f0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.graph-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--percentage);
  background: var(--primary);
  border-radius: 20px 0 0 20px;
}

.graph-label {
  position: relative;
  z-index: 2;
  color: var(--dark);
  font-weight: 500;
}

.graph-value {
  position: relative;
  z-index: 2;
  margin-left: auto;
  color: white;
  font-weight: bold;
}

.cta-section {
  text-align: center;
  margin: 60px 0 40px;
  padding: 40px;
  background: rgba(42, 127, 98, 0.05);
  border-radius: 8px;
}

.cta-section p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  margin: 0 10px;
}

.btn-donate {
  background: var(--primary);
  color: white;
}

.btn-donate:hover {
  background: #1f6b4f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 127, 98, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.related-posts {
  margin-top: 80px;
  padding: 40px 20px;
  background: var(--light);
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.5rem;
  color: var(--primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.related-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.related-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-content {
  padding: 20px;
}

.related-content h4 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }

  .post-header {
    margin-top: -40px;
  }

  .featured-image {
    height: 50vh;
  }

  .btn {
    display: block;
    margin: 10px auto;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.8rem;
  }

  .post-meta {
    flex-direction: column;
    gap: 10px;
  }

  .featured-image {
    height: 40vh;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Donors Page Hero Section --- */
.donors-hero {
  position: relative;
  background: linear-gradient(rgba(42, 127, 98, 0.7), rgba(21, 101, 192, 0.5)),
    url("./static/images/donors-hero.jpg") center/cover no-repeat;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 0;
  overflow: hidden;
}
.donors-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 127, 98, 0.7);
  z-index: 1;
}
.donors-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}
.donors-hero h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.donors-hero p {
  font-size: 1.2rem;
  color: #e0f2f1;
  margin-bottom: 0;
}

.ecpi-div p, .health-div p, .food-div p, .security-div p {
  color: #85C1F7
}

.program-title h2{
  color: #0d47a1;

}
#health.gallery{
  color: #0d47a1;
}
/* --- Donors Intro Section */
.donors-intro {
  padding: 4rem 0;
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  background-color: #fff;
}

.donors-intro p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #2c3e50;
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 900px;
  font-weight: 300;
}

/* --- Donors Table Section --- */
.donors-table-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(42, 127, 98, 0.07);
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 40px 20px;
}
.donors-table-section h2 {
  text-align: center;
  color: #0d47a1;
  font-size: 2rem;
  margin-bottom: 30px;
  letter-spacing: -1px;
}


.table-responsive {
  overflow-x: auto;
}
.donors-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  font-size: 1rem;
}
.donors-table th,
.donors-table td {
  padding: 1rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.donors-table thead th {
  background: rgb(22, 21, 21);
  color: #fff;
  font-weight: 600;
  border-bottom: 3px solid #0d47a1;
}
.donors-table tbody tr:nth-child(even) {
  background: #f8f9fa;
}
.donors-table tbody tr:hover {
  background: #e3f2fd;
  transition: background 0.2s;
}
.badge {
  display: inline-block;
  padding: 0.3em 0.9em;
  border-radius: 12px;
  font-size: 0.95em;
  color: #fff;
  font-weight: 600;
  background: #2a7f62;
}
.badge.active {
  background: #2a7f62;
}
.badge.closed {
  background: #c0392b;
}
.badge.due {
  background: #f9a825;
  color: #333;
}

/* Mobile stacked table layout */
@media (max-width: 576px) {
  .donors-table thead {
    display: none;
  }

  .donors-table tbody,
  .donors-table tr,
  .donors-table td {
    display: block;
    width: 100%;
  }

  .donors-table tbody tr {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
  }

  .donors-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ccc;
    font-size: 0.95rem;
  }

  .donors-table td:last-child {
    border-bottom: none;
  }

  .donors-table td::before {
    content: attr(data-label);
    font-weight: 600;
    flex: 1;
    color: #0d47a1;
    padding-right: 1rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.25em 0.6em;
  }
}


/* Donors Logo Carousel */
.donors-carousel-section {
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.donors-carousel-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-weight: 600;
}

.donors-carousel {
  overflow: hidden;
  padding: 2rem 0;
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.donors-carousel-track {
  display: flex;
  animation: donors-carousel-scroll 120s linear infinite; /* Increased to 120s */
}

.donors-carousel-track img {
  height: 80px;
  width: auto;
  margin: 0 1rem; /* Reduced margin to fit more logos */
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Optional: Pause animation on hover */
.donors-carousel:hover .donors-carousel-track {
  animation-play-state: paused;
}

@keyframes donors-carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Changed from -50% to -100% */
  }
}

/* Ensure smooth animation */
.donors-carousel-track {
  display: flex;
  will-change: transform;
  backface-visibility: hidden;
}

.contact-container {
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(42, 127, 98, 0.05) 0%,
    rgba(249, 168, 37, 0.03) 100%
  );
}

.contact-geometric {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.geometric-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(60px);
  opacity: 0.15;
}

.shape-primary {
  background: var(--primary);
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.shape-accent {
  background: var(--accent);
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-heading {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #0d47a1;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-subheading {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}



.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(42, 127, 98, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: #0d47a1;
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: black;
}

.contact-card h2::after {
  background: #0d47a1;

}

.contact-link {
  color: #0d47a1;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-all;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-address {
  color: #0d47a1;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color
}

.map-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
}

.contact-map {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(42, 127, 98, 0.05) 0%,
    rgba(249, 168, 37, 0.03) 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-heading {
    font-size: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 2rem 1rem;
  }

  .contact-heading {
    font-size: 2rem;
  }
}

.blog-listing-container {
  min-height: 100vh;
  position: relative;
  padding-bottom: 50px; /* Adjust this value based on your footer height */
}

.blog-grid {
  margin-bottom: 2rem;
}

footer {
  position: relative;
  width: 100%;
  clear: both;
  margin-top: auto;
}

.gallery-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-caption {
  background: #fff;
}

.gallery-caption h5 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gallery-caption p {
  color: #6c757d;
  font-size: 0.9rem;
}

.impact-section {
  position: relative;
  padding: 6rem 0;
}

.impact-stats {
  background: rgba(0, 123, 255, 0.9) !important;
  backdrop-filter: blur(5px);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.conclusion-section {
  position: relative;
  padding: 6rem 0;
}

.conclusion-content {
  position: relative;
  z-index: 2;
}

.conclusion-content .divider {
  width: 80px;
  height: 3px;
  background-color: #dc3545;
  margin: 0 auto 2rem;
}

.conclusion-content .lead {
  font-size: 1.3rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.conclusion-content .btn-light:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

@media (max-width: 768px) {
  .conclusion-section {
    padding: 4rem 0;
  }

  .conclusion-content .lead {
    font-size: 1.1rem;
  }
}

.navbar-nav .nav-link {
  position: relative;
  padding-top: 25px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Floating dot (original) */
.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 6px;
  height: 6px;
  background-color: #088af8;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Dot-Only Navigation Effect */
.navbar-nav .nav-link {
  position: relative;
  padding-top: 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dot Indicator */
.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 8px;
  height: 8px;
  background-color: #088af8;
  border-radius: 50%;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6),
    opacity 0.2s ease;
}

/* Active State */
.navbar-nav .nav-link.active::before {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  background-color: #088af8;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding-top: 15px;
    padding-left: 25px;
    transform: none !important; /* Disable lift on mobile */
  }

  .navbar-nav .nav-link::before {
    left: 8px;
    top: 50%;
    transform: translateY(-50%) scale(0);
  }

  .navbar-nav .nav-link:hover::before {
    transform: translateY(-50%) scale(1.3);
  }

  .navbar-nav .nav-link.active::before {
    transform: translateY(-50%) scale(1);
  }
}

.blog-hero {
  position: relative;
  background: ;
  padding: 120px 0;
  margin-bottom: 60px;
}

.blog-hero .hero-content {
  text-align: center;
  color: #0e9aeb;
  position: relative;
  z-index: 2;
}

.blog-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.blog-hero .hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

.blog-section {
  padding: 60px 0;
}

.featured-post {
  margin-bottom: 60px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.featured-post:hover {
  transform: translateY(-5px);
}

.featured-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
}

.featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-post:hover .featured-image-wrapper img {
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-content {
  padding: 30px;
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  align-items: center;
}

.post-meta .category {
  color: var(--primary);
  font-weight: 600;
  position: relative;
}

.post-meta .category::after {
  content: "•";
  position: absolute;
  right: -12px;
  color: #dee2e6;
}

.post-meta .date {
  color: #6c757d;
}

.featured-title {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary), #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-excerpt {
  font-size: 1.1rem;
  color: #495057;
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

/* Blog Cards Grid */
.blog-grid {
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: #2c3e50;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.read-more:hover {
  gap: 12px;
  color: var(--accent);
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
  position: relative;
  padding: 15px 20px;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 30px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #1565c0;
}

/* Dropdown Styles */
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
}

.dropdown-item {
  padding: 8px 20px;
  color: #2c3e50;
  transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: #1565c0;
}

/* Donate Button */
.nav-link.custom-btn {
  padding: 8px 20px !important;
  color: white !important;
  border-radius: 30px;
  background: transparent;
  background-color: #1565c0 !important;
  transition: all 0.3s ease;
}

.nav-link.custom-btn:hover {
  color: #1565c0 !important;
  background-color: white !important;
  border: 2px solid #1565c0 !important;
  background: transparent;
}

.nav-link.custom-btn::before {
  display: none;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding: 12px 20px;
  }

  .navbar-nav .nav-link::before {
    left: 20px;
    bottom: 0;
    transform: none;
  }

  .navbar-nav .nav-link:hover::before,
  .navbar-nav .nav-link.active::before {
    width: 20px;
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 20px;
  }
}

.navbar-nav .nav-link.active,
.dropdown-item.active {
  color: #1565c0 !important;
  background: transparent;
}

.dropdown-item.active {
  background-color: rgba(var(--primary-rgb), 0.1);
}

.navbar-nav .nav-link.active::before {
  width: 30px;
}

.input-group {
  display: flex;
  max-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Input field */
.input-email {
  flex: 1;
  padding: 10px 15px;
  outline: none;
  border: none;
  background-color: white;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  font-size: 16px;
  transition: box-shadow 0.3s ease;
}

.input-email:focus {
  box-shadow: inset 0 0 0 2px #1565c0;
}

/* Submit button */
.btn-sub {
  padding: 10px 20px;
  background-color: #1565c0;
  color: white;
  border: none;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-sub:hover {
  background-color: #0d47a1;
  transform: scale(1.03);
}

.btn-sub:active {
  transform: scale(0.98);
}

/* 🔁 Responsive layout: stack elements on small screens */
@media (max-width: 480px) {
  .input-group {
    flex-direction: column;
    max-width: 100%;
    border-radius: 10px;
  }

  .input-email {
    border-radius: 10px 10px 0 0;
    width: 100%;
  }

  .btn-sub {
    border-radius: 0 0 10px 10px;
    width: 100%;
  }
}




.fixed-image {
  width: 800px;
  height: 400px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.fixed-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content img {
  width: 700px;
  height: auto;
  object-fit: contain;
  margin: 20px auto;
  display: block;
}


#toTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  background-color: #1565c0;
  color: white;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.2s;
}

#toTopBtn:hover {
  background-color: #0d47a1;
  transform: scale(1.05);
}

 .gallery-hero {
        background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                    url('{% static "images/gallery-pattern.svg" %}');
        background-size: cover;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    
    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }
    
    .hover-zoom:hover img {
        transform: scale(1.03);
    }
    
    .gallery-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        color: white;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .gallery-item:hover .gallery-caption {
        opacity: 1;
    }
    
    .gallery-caption h5 {
        font-weight: 500;
        margin-bottom: 0.3rem;
    }
    
    .gallery-caption .small {
        font-size: 0.8rem;
        opacity: 0.8;
    }


.h2-primary{
  color: #0d47a1;
}

/* #health-gallery p, #health-content p, #health-content .lead, #health-gallery .lead , .gallery-card p{
  text-align: justify !important;
  color: #333 !important;
} */
