:root {
  --primary-color: #8b2635;
  --secondary-color: #6c757d;
  --accent-color: #dc3545;
  --grey-color:#dfdfdf;
  /*--light-bg: #f8f9fa;*/
  --dark-bg: #343a40;
  --pink-bg: #ddcdcb;
  --light-bg: #efefef;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}
.pink-bg { background-color: var(--pink-bg);}
.light-bg { background-color: var(--light-bg);}
.font-weight-500 {font-weight:500 !important;}

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  padding: 8px 0;
  font-size: 14px;
}
.top-bar a{
  color: var(--grey-color);
  font-weight: 500;
  text-decoration:none;
}
.top-bar span:first-child::after {
  content: " |";
}
/* Navigation */
.navbar-brand img {
  max-height: 50px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-link {
  font-weight: 500 !important;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Sections */
.hero-section {
  background: #f8f9fa;
  /*padding: 60px 0;*/
}

.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/about_us.jpg") center / cover no-repeat;
  padding: 100px 0;
  color: white;
}

.projects-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/our_projects.jpg") center / cover no-repeat;
  padding: 100px 0;
  color: white;
}
.get_involved-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/get_involved.jpg") center / cover no-repeat;
  padding: 100px 0;
  color: white;
}
.blog-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/our_blog.jpg") center / cover
    no-repeat;
  padding: 100px 0;
  color: white;
}

.donate-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/donate.jpg") center / cover no-repeat;
  padding: 100px 0;
  color: white;
}

.contact-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Project Cards */
.project-card {
  border: 2px solid #8b2635;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-3px);
}

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

/* Custom Colors */
.text-primary {
  color: var(--primary-color) !important;
}

.text-danger {
  color: #8b2635 !important;
}

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

.btn-primary:hover {
  background-color: #6d1e29;
  border-color: #6d1e29;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-danger {
  color: #8b2635;
  border-color: #8b2635;
  border-width: 2px;
  font-weight: 500;
}

.btn-outline-danger:hover {
  background-color: #8b2635;
  border-color: #8b2635;
  color: white;
}

/* Focus Buttons */
.focus-button {
  background: white;
  border: 2px solid #8b2635;
  border-radius: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.focus-button:hover {
  background-color: #8b2635;
  color: white;
}

.focus-button:hover i,
.focus-button:hover a {
  color: white !important;
}

.focus-button a,
.categ a {
  color: var(--bs-body-color);
  text-decoration: none;
}

/* Impact Section */
.impact-section {
  border: 3px solid #8b2635;
  border-radius: 20px;
  padding: 40px 20px;
  background: white;
}

.impact-card {
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px solid #e9ecef;
  transition: transform 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-3px);
}

/* Focus Areas Section */
.focus-areas-section {
  border: 3px solid #8b2635;
  border-radius: 20px;
  padding: 40px 20px;
  background: white;
}

.focus-area-card {
  border: 2px solid #8b2635;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  transition: transform 0.3s ease;
}

.focus-area-card:hover {
  transform: translateY(-3px);
}

.focus-area-card h4 a,
.project-card h4 a {
  font-weight: 700;
  font-size: 20px;
  color: #8b2635;
  text-decoration:none;
}
.project-cards h6 a{
  font-weight: 700;
  font-size: 18px;
  color: #8b2635;
  text-decoration:none;
}

/* Animated Underline Effect for Card Title Links */
.focus-area-card h4,
.project-card h4,
.project-card h6 {
  display: inline-block;
}

.focus-area-card h4 a,
.project-card h4 a,
.project-card h6 a {
  position: relative;
  text-decoration: none;
  display: inline;
  transition: color 0.3s ease;
}

.focus-area-card h4 a::after,
.project-card h4 a::after,
.project-card h6 a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #8b2635;
  transition: width 0.3s ease;
}

.focus-area-card h4 a:hover::after,
.project-card h4 a:hover::after,
.project-card h6 a:hover::after {
  width: 100%;
}

.focus-area-card h4 a:hover,
.project-card h4 a:hover,
.project-card h6 a:hover {
  color: #8b2635;
}


/* News Cards */
.news-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card img {
  height: 200px;
  object-fit: cover;
}

.news-card h3 {
  font-size: 18px;
  color:#2e2e2e;
}

/* Partners Section */
.partners-section {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../images/partner-bg.jpg") center / cover no-repeat;
  background-color: #f8f9fa;
}

.partner-logo-red {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b2635, #dc3545);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.partner-logo-red:hover {
  transform: scale(1.05);
}

.partner-logo-red img {
  max-width: 100px;
  max-height: 60px;
  /*filter: brightness(0) invert(1);*/
}

/* Decorative Elements */
.underline-accent {
  width: 60px;
  height: 4px;
  background-color: #8b2635;
  margin: 0 auto;
  border-radius: 2px;
}

/* Hero Content Boxes */
.hero-content-box {
  background: rgba(255, 255, 255, 0.65);
  border: 3px solid #8b2635;
  border-radius: 30px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(15px);
}

.hero-content-box h1,
.hero-content-box span {
  color: #8b2635;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-content-box p {
  color: #99201f;
  font-weight:600;
  margin-bottom: 0;
}

/* Navigation Pills */
.nav-pills .nav-link {
  color: #8b2635;
  border: 2px solid #8b2635;
  border-radius: 25px;
  margin: 0 5px;
  padding: 12px 24px;
  font-weight: 500;
  background: white;
}

.nav-pills .nav-link.active {
  background-color: #8b2635;
  border-color: #8b2635;
  color: white;
}

.nav-pills .nav-link:hover {
  background-color: #8b2635;
  border-color: #8b2635;
  color: white;
}

/* Navigation Pills for About Page */
.nav-pill-btn {
  color: #8b2635 !important;
  border: 2px solid #8b2635;
  border-radius: 25px;
  padding: 12px 24px;
  font-weight: 500;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-pill-btn.active,
.nav-pill-btn:hover {
  background-color: #8b2635 !important;
  color: white !important;
  border-color: #8b2635;
}

/* Cards */
.focus-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Mission Vision Cards */
.mission-vision-card {
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid #8b2635;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.3s ease;
}

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

/* Partner Logos */
.partner-logo {
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 80px;
  max-height: 60px;
}

/* Story Section */
.story-section {
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../images/no_image.jpg") center / cover no-repeat;
  background-color: #f8f9fa;
  padding: 60px 0;
  border-radius: 20px;
}

.story-content-box {
  background: rgba(255, 255, 255, 0.75);
  border: 3px solid #8b2635;
  border-radius: 30px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Form Styles */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 38, 53, 0.25);
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 38, 53, 0.25);
}

/* Utilities */
.min-vh-50 {
  min-height: 50vh;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

  .display-4 {
    font-size: 2rem;
  }

  .about-hero,
  .projects-hero,
  .donate-hero,
  .get_involved-hero {
    padding: 80px 0;
  }

  .hero-content {
    padding: 2rem !important;
  }

  .hero-content-box {
    padding: 30px 20px;
  }

  .impact-section,
  .focus-areas-section {
    padding: 30px 15px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Social Links */
.social-links a {
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color) !important;
}

/* Blog Card Styles */
.blog-card {
  border: 2px solid #8b2635;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Blog Post Content Styles */
.blog-post-content {
  position: relative;
  margin: 0 auto 40px;
  background: white;
  border-radius: 20px;
  padding: 25px;
}

.blog-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post-content h1,
.blog-post-content h3 {
  color: #8b2635;
  font-size: 2rem;
}

.blog-post-content a {
  text-decoration: underline;
}
.blog-post-content .btn {
  text-decoration: none !important;
}
.social-share-sidebar a {
  transition: transform 0.3s ease;
}

.social-share-sidebar a:hover {
  transform: scale(1.1);
}

.related-articles .card {
  transition: transform 0.3s ease;
}

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

.related-articles .card img {
  height: 180px;
  object-fit: cover;
}

.form-container {
  background-color: #ddcdcb;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.form-floating > .form-control,
.form-floating > .form-select {
  border: 1px solid #ced4da;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: #8a6d6a;
  box-shadow: 0 0 0 0.25rem rgba(138, 109, 106, 0.25);
}
.currency-input {
            position: relative;
        }
.currency-input:before {
    content: "$";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #6c757d;
}
.currency-input input {
    padding-left: 30px;
}
.multiple-select {
    min-height: 100px;
}

/* EE Styles */
.ee-body-content {}
.ee-body-content p {font-size: 16px; line-height:28px; margin-bottom: 10px; color:#2e2e2e;}
.ee-body-content img {max-width:100%;}
.ee-body-content th, .ee-table th {font-size: 16px; border: 1px solid #006634; color: #2e2e2e; padding:20px !important;}
.ee-body-content td, .ee-table td {font-size: 16px; border-bottom: 1px dotted black !important; font-size: 15px; color: #002F5E; padding:10px !important;}
.ee-body-content table {width: 100% !important;}
.ee-body-content h2, 
.ee-body-content h3 {font-size: 24px; color: #2e2e2e; font-weight:600}
.ee-body-content ul li, 
.ee-body-content ol li {font-size: 16px; list-style: disc; margin-left: 10px; color: #2e2e2e; text-align:left;}
.ee-body-section ul li {font-size: 16px; list-style: disc; margin-left: 10px; color: #2e2e2e; text-align:left;}

.ee-body ul li:before {
    font-family: "Font Awesome 5 Free";
    color: #d8b144;
    content: "\f14a";
    position: absolute;
    top: 0px;
    left: -5px;
}

.ee-body ul li {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    display: inline-block;
    padding-left: 16px; 
    line-height: 25px;
    margin-bottom: 10px;
    /*width: calc(50% - 2px);*/
    float: none;
    /*padding: 0 0 12px 0;*/
    position: relative
}

.ee-side-img {margin:10px 0px 4px 20px; clear:left; float:right;}
.ee-side-img img {float:right; border-radius: 3px;}
.ee-side-img-txt {margin:5px; font-style:italic; font-family:Georgia, Times, serif; text-align:center; max-width:300px; color:#2e2e2e; float:left;}
.ee-caption-text {padding:10px; margin:10px auto; font-style:italic; font-family:Georgia, Times, serif; text-align:center; color:#2e2e2e; font-size:14px; }

.ee-searchlist {width:100%; margin-left:20px;}
.ee-searchlist ol {font-style:italic; font-family:Georgia, Times, serif; font-size:20px; color:#333333;}
.ee-searchlist ol li { }
.ee-searchlist ol li p {padding:8px; font-style:normal; color:#333333; border-left: 1px solid #999;}
.ee-searchlist ol li a {text-decoration:none; font-size:18px; color:#006634;}
.ee-searchlist ol li a:hover {color:#70a847;}
.ee-searchlist ol li p em {display:block;}

.ee-attachment li {font-size:16px; list-style-type: none;}
.ee-attachment li img, .ee-post-gallery li img {width:auto;}
.ee-attachment, .ee-post-gallery {padding-left: 0; margin-left: 0; list-style-type: none;}

.ee-attached-files li {font-size:12px; list-style-type: none;}
.ee-attached-files li a {font-size:12px; color:#337ab7;}
.ee-attached-files li img {width:auto;}
.ee-attached-files {padding-left: 5px; margin-left: 0; list-style-type: none;}

.ee-empty {text-align: center; margin: 0% auto; font-size: 15px;}
.ee-source {padding:0 0 0 20px; color:#000066;}

.ee-language-switch {text-align:center; margin-top:10px; float:right;}
.ee-language-switch a{color: #003366; text-decoration:none;}
.ee-language-switch .active {font-size:12px; font-weight:bold; padding:0 10px;}
.ee-condolences {margin-top:20px; text-transform: uppercase; font-weight:500; color:#f1f1f1!important; background-color: #0c426f; padding:5px;}

@media (max-width: 767px) {
#google_translate_element {
    float:none !important;
    clear:left;
   }
}

.includes ul li:before {
    content: "\f192";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    color: #21b856;
    font-size: 13px;
}

.excludes ul li:before {
    content: "\f192";
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    position: absolute;
    left: 0;
    color: #AAA;
    font-size: 13px;
}
.excludes ul li, 
.includes ul li {
    color: #051036;
    font-size: 16px;
    display: block;
    position: relative;
    padding-left: 25px;
}
.excludes ul, .includes ul {margin-bottom: 10px;}
.errors li, .errors {color: #f00; font-size:14px;}
.marker { background-color: #ff0; }
mark { background: orange; color: black; }

.social-share-wrapper {
  border-top: 1px solid #e8e8e8;
  margin-top:10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding: 15px;
    justify-content: flex-end;
    width: 100%;
    max-width: 1000px;
}

.social-share-wrapper .share-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.hj_social_bookmarks {
    list-style: none;
    float:right;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px; /* Spacing between individual icon circles */
}

.hj_social_bookmarks li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hj_social_bookmarks li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    border: 1px solid #dedede;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hj_social_bookmarks li a span {
    font-size: 16px; /* Adjust icon size */
    transition: color 0.3s ease;
}

.hj_social_bookmarks .facebook span { color: #3b5998; }
.hj_social_bookmarks .twitter span { color: #000000; }
.hj_social_bookmarks .whatsapp span { color: #25d366; }
.hj_social_bookmarks .mail span { color: #007bff; } /* Bootstrap primary blue for mail */
.hj_social_bookmarks .printfriendly span { color: #17a2b8; } /* Bootstrap info blue for print */

/* Hover effects */
.hj_social_bookmarks .facebook a:hover { background-color: #3b5998; border-color: #3b5998; }
.hj_social_bookmarks .twitter a:hover { background-color: #000000; border-color: #000000; }
.hj_social_bookmarks .whatsapp a:hover { background-color: #25d366; border-color: #25d366; }
.hj_social_bookmarks .mail a:hover { background-color: #007bff; border-color: #007bff; }
.hj_social_bookmarks .printfriendly a:hover { background-color: #17a2b8; border-color: #17a2b8; }
.hj_social_bookmarks li a:hover span {
    color: #fff; /* White icon on hover */
}
.video-container iframe {width: 100%; height: auto; aspect-ratio: 16 / 9;}
.share_widget {float:right; text-align: right;}