body {
  font-family: "Montserrat", Tahoma, Geneva, Verdana, sans-serif;
}
a.link-item,
a.link-item:hover {
  text-decoration: none !important;
  color: unset !important;
}

a.link-item:hover .div_item {
  background-color: #04a3e111 !important;
}

nav > ul > li {
  list-style: none;
}
p.p {
  font-size: 1em;
  line-height: 1.5;
  text-align: justify;
}

button.fmf_btn {
  color: #fefefe;
  background-color: #04a3e1;
  padding: 0.7em 1em;
  border-radius: 0.25em;
  font-weight: 600;
  border: none;
}

nav > ul > li a,
.donate_div a {
  font-weight: 600;
  color: black;
  text-decoration: none;
  font-size: 0.85rem;
}

nav > ul > li a:hover,
nav > ul > li.active a,
.donate_div a {
  font-weight: 600;
  color: #04a3e1;
  text-decoration: none;
}

nav > ul {
  margin: 0 !important;
}

.donate_div {
  background-color: #04a3e1;
}
.main_menu_div {
  background-color: #eee;
}

.donate_div a {
  font-weight: 600;
  color: #fefefe;
  text-decoration: none;
  font-size: 0.85rem;
}

.donate_div a:hover {
  color: #fefefe;
}

.slide .overlay {
  position: absolute;
  top: 30%;
  color: white;
  background-position: cover;
}
.page_header .container {
  color: white;
  padding-top: 15vh;
}

.page_header .container h2 {
  font-size: 3em;
}

.page_header .container p {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1;
}

.overlay h2 {
  font-family: "Poppins", sans-serif;
  font-size: 3em;
}

.overlay p {
  font-family: "Segoe UI", sans-serif;
  font-size: 5em;
  font-weight: 700;
  line-height: 1;
}

.overlay button,
.cta-donate button {
  color: #fefefe;
  background-color: #04a3e1;
  padding: 0.7em 1em;
  border-radius: 0.25em;
  font-weight: 600;
  border: none;
}
.slide {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%, 60%;
}

.img-container {
  border-radius: 15px; /* Adjust the border radius as needed */
  overflow: hidden; /* Ensures the border radius is applied */
  background-size: cover;
  background-position: center;
  height: 100%;
  margin: 0 0.5em 0;
}

.img-ctn {
  overflow: hidden; /* Ensures the border radius is applied */
  background-size: cover;
  background-position: center;
}

#about-section .img-container {
  border-radius: 15px; /* Adjust the border radius as needed */
  overflow: hidden; /* Ensures the border radius is applied */
  background-size: cover;
  background-position: center;
  height: 100%;
  margin: 0 0.5em 0;
}

.div_vimi {
  background-color: #eee;
  padding: 2em;
  display: flex;
  border-radius: 1em;
  margin-bottom: 15px;
}

.div_vimi i {
  color: #04a3e1;
  font-size: 3em;
  margin-right: 15px;
}
#impact-section .impact-bg-div {
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 1em;
}
#impact-section .impact-item h1 {
  font-weight: bolder;
  color: #fefefe;
  text-align: center;
}
#impact-section .impact-item p {
  color: #eee;
  text-align: center;
}

.line-container {
  position: relative;
  text-align: center;
  margin-bottom: 2em;
}

.line-container span {
  position: relative;
  z-index: 1;
  background-color: #bee4f3;
  display: inline-block;
  padding: 0 20px;
  font-size: 3em;
  font-weight: bolder;
  color: #04a3e1;
}

.line-container .line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid black; /* Adjust line color, style, and width as needed */
  z-index: 0;
  padding: 0 2em;
}
.approach-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.approach-item img {
  width: 10rem;
  margin: auto;
}

.approach-item h3 {
  text-align: center;
  margin-top: 0.5em;
  font-weight: 600;
  font-size: 1.1em;
}

.partners-item img {
  height: 120px;
}

.news-img-container {
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.small-news h4{
  font-size: 1.2em;
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
  .news-img-container.small-news {
    height: 40vh;
  }
  .news-img-container.large-news {
    height: 45vh;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .news-img-container.small-news {
    height: 25vh;
  }
  .news-img-container.large-news {
    height: 55vh;
  }
}

footer {
  background-color: #00000011;
  padding: 5em 0 2em;
}

#copyright {
  background-color: #04a3e1;
  color: #eee;
  padding: 1.5em 0;
}

#copyright i {
  color: white;
  font-size: 1.5em;
  margin: 0 0.3em;
}

footer .footer-item {
  padding: 1em;
}
footer .footer-item hr {
  margin-top: 1em;
  margin-bottom: 3em;
}

footer .footer-item h3 {
  font-size: 1.3em;
}

.footer-span {
  color: #04a3e1;
  font-weight: 600;
}

footer .footer-header {
  font-weight: 700;
}
.cta-donate {
  position: relative;
  z-index: 1900;
  background-color: #fefefe;
  min-height: 10em;
  margin-top: -10em;
  border-radius: 0.3em;
  border: 3px #00000011 solid;
  padding: 2em;
}
section {
  padding: 4em 0;
}
footer .fc {
  padding-top: 4em;
}

#contact-section input,
#contact-section textarea {
  border: 1px solid #aaa;
  min-height: 3em;
  padding: 0 0.65em;
  width: 100%;
}

#contact-section .wpcf7-submit {
  background-color: #04a3e1;
  color: #eee;
  font-weight: bold;
  text-transform: uppercase;
}

#getInvolvedAccordion .accordion-button {
  font-size: 0.9em;
  font-weight: 700;
  color: #04a3e1;
}

#getInvolvedAccordion .accordion-button:not(.collapsed) {
  background-color: #04a3e11f;
}

/* NAVIGATION MENU */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.test {
  font-family: monospace;
  font-size: 1.25rem;
}

body {
  padding: 0;
  margin: 0;
}

/* need a solution for the next 2 properties */
li {
  list-style: none;
}

a {
  color: #fff;
  text-decoration: none;
}

.nav-bar {
  min-height: 4.375em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

header img {    
  background: #eeeeee;
  padding: 0.35em;
  max-height: 4.5em;
}

.nav-branding {
  font-size: 2rem;
  font-weight: 600;
  transition: color 500ms ease;
}

.nav-branding:hover,
.nav-branding:focus {
  color: dodgerblue;
}

.nav-menu {
  position: fixed;
  left: -100%;
  top: 3.375em;
  flex-direction: column;
  width: 100%;
  // height: 100%;
  text-align: center;
  transition: 750ms;
}

.nav-menu.active {
  left: 0;
}

.nav-item {
  margin: 1em 0;
}

.nav-link {
  transition: 400ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: dodgerblue;
}

.hamburger {
  cursor: pointer;
}

.bar {
  display: block;
  background-color: #fff;
  width: 24px;
  /* The following 2 properties are essential in creating the "X" when the hamburger is clicked. If you change just 1 of the 2, then you need to find the proper combination for the other one */
  height: 2px;
  margin: 6px auto;

  /*    -webkit-transition: all 300ms ease;  */
  transition: all 300ms ease-in-out;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
section.slide{
  min-height: 70vh;
}

@media (min-width: 1000px) {
  #menu-main-menu {
    padding: 0 2em;
  }

  .dropdown-content {
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    width: auto;
  }

  .hamburger {
    display: none;
  }
  .donate,
  .donate a {
    background-color: #04a3e1;
    color: #fefefe;
  }
  .donate a {
    padding: 1em 2em;
  }
  .donate a:hover {
    color: #fff;
  }
  nav ul {
    display: flex;
    column-gap: 20px;
  }
  nav ul li a {
    display: flex;
    align-items: center;
    padding: 1.2em 0.1em;
  }
  header .logo {
    max-width: 15vw;
  }
}
@media (max-width: 1000px) {
  .overlay h2{
    font-size: 4vw;
  }
  .nav-menu {
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1em;
    width: auto;
  }

  .hamburger {
    display: block;
  }

  header .logo {
    max-width: 30vw;
  }

  header .menu {
    display: flex;
    flex-direction: column-reverse;
  }
  .nav-menu {
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .menu {
    align-items: end;
  }
  header nav ul {
    padding: 0 2rem !important;
  }
}
.footer-span {
  padding-right: 7.5px;
}
.news-img-container h4 {
  color: #eee;
  padding: 0 0.6em;
}

.news-img-container {
  display: flex; /* Enables flexbox */
  flex-direction: column; /* Stack children vertically */
  justify-content: flex-end;
}

.news-bg-div p {
  padding-top: 0.5em;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  background-color: #f1f1f1;
  padding: 0 2em;
  z-index: 1;
  min-width: 160px;
  display: none;
}

.dropdown-mn:hover .dropdown-content {
  display: flex !important;
}


.hover-box{
  background: linear-gradient(0deg, #000000cc, #000000cc, #00000000);  
  display: flex; /* Enables flexbox */
  flex-direction: column; /* Stack children vertically */
  justify-content: flex-end;
}
.bg-hover-box:hover .hover-box{
  background: linear-gradient(0deg, #4b1b17, #04a3e1cc);  
  height: 100%;
}

.hover-box .text, .hover-box h5{
  display: none;
}

.bg-hover-box:hover .text, .bg-hover-box:hover h5{
  display: block;
  transition: all 1s;
  transition-delay: 15ms;
}

.custom-icon {
  position: relative;
  width: 100px; 
  height: 100px;
  background-color: #3498db; 
  border-radius: 50%;
  color: white; 
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: auto;
}