:root {
  --hero-title-color: #fafafa;
  --linear-blend: linear-gradient(to right, #2b663c, #dbc42d);
  --hero-label-color: #fafafa;
  --body-text-heading-color: #131313;
  --body-text-color: #131313;
  --sea-green: #2b663c;
  --light-green: #effff4;
  --yellow-variant: #dbc42d;
  --light-yellow: #fff5b5;
}

/* CUSTOM LOADER STYLES */
/* HTML: <div class="loader"></div> */
/* HTML: <div class="loader"></div> */
#overlay {
  position: fixed;       /* fix to viewport */                      
  top: 0; left: 0;        /* cover from top‑left */  
  right: 0; bottom: 0;    /* to bottom‑right */  
  background-color: rgba(0, 0, 0, 0.3); /* darken page */
  display: none;          /* hide by default */
  align-items: center;    /* center spinner vertically */
  justify-content: center;/* center spinner horizontally */
  z-index: 9999;          /* sit on top of everything */ 
}

/* HTML: <div class="loader"></div> */
/* HTML: <div class="loader"></div> */
.spinner {
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  color:#0000;
  background:linear-gradient(90deg,var(--sea-green) calc(50% - 0.5ch),#fff 0 calc(50% + 0.5ch),rgba(43, 102, 60, .4) 0) right/calc(200% + 1ch) 100%;
  -webkit-background-clip:text;
          background-clip:text;
  animation: l8 2.5s infinite steps(11);
}
.spinner:before {
  content:"Symbodied..."
}
@keyframes l8 {to{background-position: left}}
body.loading #overlay {
  display: flex;        /* make it visible and flex‐centered */
}
/* .loader {
  width: 40px;
  aspect-ratio: 1;
  border: 10px solid #ddd;
  border-radius: 50%;
  position: relative;
  transform: rotate(45deg);
}

/* While loading, disable clicks or dim button */
button.loading {
  pointer-events: none;
  opacity: 0.7;
}

/* .loader::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 10px solid var(--sea-green);
  animation: l18 2s infinite linear;
}
@keyframes l18 {
    0%   {clip-path:polygon(50% 50%,0 0,0    0,0    0   ,0    0   ,0    0   )}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0   ,100% 0   ,100% 0   )}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0    100%,0    100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0    100%,0    0   )}
}  */

/* HTML: <div class="btnLoader"></div> */
.btnLoader {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
}

/* When the button has .loading, show the loader */
button.loading .btnLoader {
  display: inline-block;
}
/* When the button has.loading, hide the button text */
button.loading::after{
  content: "";

}

@keyframes l5 {
    0%  {box-shadow: 20px 0 #fff, -20px 0 #72b384;background: #fff }
    33% {box-shadow: 20px 0 #fff, -20px 0 #72b384;background: #72b384}
    66% {box-shadow: 20px 0 #72b384,-20px 0 #fff; background: #72b384}
    100%{box-shadow: 20px 0 #72b384,-20px 0 #fff; background: #fff }
}
    
/* END OF CUSTOM LOADER STYLES */

  
/* PROJECTS STYLING */
.projects_holder {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}




/* END OF STYLING FOR PROJECTS */

/* LOGIN STYLES */



/* END OF LOGIN STYLES */

/* faqs */
.hero {
  width: 90%;
  margin: auto;
}

.accord_body ul {
  list-style-type: circle;
  margin-left: 20px;
}
.accord_body ol {
  margin-left: 20px;
  list-style-type: decimal;
  ul {
    margin-bottom: 10px;
  }
}
.accord_title_holders button {
  border-bottom: 1px solid gray;
}

/* end of faqs */

/* footer */
.footer_texts ul li {
  margin: 1rem 0.5rem;
}

.involved ul li {
  margin: 2rem;
  font-size: 1.2rem;
}

/* map */
#map {
  height: 450px;
  width: 90vw;
  margin: 20px auto;
}

/* end of map */

/* infinite scroll style */
.partner_ngo {
  overflow: hidden;
  padding: 20px 0;
  width: 70vw;
  margin: auto;
}

.marquee__wrapper {
  overflow: hidden;
  width: 100%;
}

.marquee {
  display: flex;
  width: max-content;
  animation: scroll 10s linear infinite;
}

.marquee__item {
  width: 300px;
  height: 200px;
  margin-right: 30px;
  flex-shrink: 0;
}

/* DONATION GRID HOLDER */
.grid_holder {
  width: 50%;
  margin: auto;
  /* background-color: orange; */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 2;
  gap: 5px;
  justify-items: center;
}

.lg {
  grid-row: span 2;
}
/* DONATION GRID HOLDER ENDS HERE*/

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* end of infinite scroll */

.footer_texts ul li a {
  color: white;
}
/* end of footer */

.linear-blend {
  background-image: linear-gradient(to right, #2b663c, #dbc42d);
}

* {
  font-family: "Roboto", sans-serif;
}

.drop_down {
  background-color: var(--light-green);
  width: 10rem;
  max-width: 90vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  height: 0;
  position: absolute;
  top: 100%;
  overflow: hidden;
  transition: height 0.5s ease;
  text-align: center;
  margin: 0;
}

.navlinks span {
  margin: 0 10px;
}

.drop_down li {
  margin: 10px 0;
  padding: 5px;
  width: 100%;
}

.drop li:hover a {
  background-color: var(--sea-green);
  color: var(--light-green);
}

.drop {
  height: 210px;
}

#about,
#programs,
#testimonials {
  scroll-behavior: smooth;
  padding-top: 60px;
  margin-top: -60px;
}

.program_overlay {
  /* background-color: #2b663c;
  opacity: 0.6; */
  backdrop-filter: blur(3px);
}

h1 {
  font-size: 4rem;
  font-family: "Roboto";
}

nav {
  z-index: 10;
}

.navlinks li {
  display: inline-block;
  position: relative;
}
.navlinks li a {
  text-decoration: none;
  margin: 0.6rem;
  border-bottom: 2px solid transparent;
  background: linear-gradient(to right, lightgreen, lightgreen);
  background-size: 0% 4px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.5s ease-in;
}

.navlinks li a:hover {
  background-size: 100% 2px;
}
.hero {
  width: 100%;
}
.inner_holder {
  width: 95%;
  margin: auto;
}

/* DONATION CUSTOM CSS */
.donation_hero {
  width: 100%;
  background-image: url(../img/sliders/donations.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* DONATION ENDS HERE */

.hero_holder {
  width: 100%;
  margin-top: 2rem;
  background-image: url(../img/sliders/odu_hero.jpg);
  background-size: cover;
  border: 1px solid gray;
  display: flex;
  justify-content: center;
  padding-bottom: 4rem;
}

.program_section {
  background-image: url(../img/program_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 20px;
}
.hero_text {
  margin-top: 200px;
  backdrop-filter: blur(30px);
  height: fit-content;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.contact_button {
  margin-top: 2rem;
  background-color: var(--sea-green);
  padding: 0.5rem;
  color: var(--hero-title-color);
  border-radius: 0.3rem;
  font-weight: 400;
}
.contact_buton {
  margin-top: 2rem;
  background-color: var(--sea-green);
  padding: 0.5rem;
  color: var(--hero-title-color);
  border-radius: 0.3rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.on_comm {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.about {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about_header h1 {
  text-transform: capitalize;
  font-size: 3.5rem;
}

.slide {
  display: none;
}

.testimonials_text {
  padding: 2rem;
}

.slide.active {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  text-align: center;

  animation: fadeIn 5s ease-in-out;
}
.testimonial_img_holder {
  width: 100rem;
}

.hero_description {
  color: var(--hero-label-color);
  text-align: center;
  margin-top: 2rem;
}

.about_description p {
  text-align: justify;
}

.mission_section {
  margin: 2.5rem 0;
}

.image_switcher {
  margin: 0 1.2rem;
}

.community_title {
  margin: 1.5rem;
}

.community_title h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: bolder;
}

.hero_text h1 {
  /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
  color: #fff;
  font-size: 4rem;
  text-align: center;
}
.community {
  background-color: var(--light-green);
  padding: 2rem 0;
}
.community_content {
  display: flex;
  justify-content: space-around;
  padding: 2rem 0;
}
.community_content ul li {
  font-size: 1.5rem;
}
.community_content ul ul li {
  font-size: 1rem;
  margin: 0.2rem;
}

.btn_li {
  margin: 2.5rem 0;
}

.community_content ul ul {
  list-style-type: disc;
  margin-left: 5rem;
}

.cards {
  padding: 1.5rem;
  background-color: #fff;
}

/* activelinks */
.activelink{
  background-color: var(--sea-green);
  color: #fafafa;
  padding: 5px 2px;
  border-radius: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}

.btn_li::before {
  content: "\2713";
  border-radius: 50%;
  background-color: var(--sea-green);
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.4rem;
  color: white;
  font-size: 2rem;
  vertical-align: middle;
}

@media screen and (max-width: 768px) {
  /* DROP DOWN MENU */

  .drop_down {
    background-color: var(--light-green);
    width: 90vw;
    max-width: 90vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    height: 0;
    position: absolute;
    top: 100%;
    overflow: hidden;
    transition: height 0.5s ease;
    text-align: center;
    margin: 0;
  }

 

  .program_section {
    background-image: url(../img/program_bg.jpg);
    height: auto;
    background-repeat: repeat-y;
    background-size: cover;
    margin-bottom: 20px;
  }

  .drop {
    height: 270px;
  }

  /* END OF DROP DOWN MENU */

  .slide.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
    text-align: center;
  }

  .grid_holder {
    width: 95%;
  }

  .donation_hero {
    background-position: center;
  }

  main {
    min-width: 100vw !important;
  }
  .testimonial_img_holder {
    width: auto;
  }

  .testimonials_text {
    font-size: smaller;
  }

  .hamburger {
    display: block;
  }
  .community_title h2 {
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
  }

  .hero_holder {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    background-size: stretch;
    background-position-y: center;
    background-position-x: center;
  }
  .contact_buton {
    padding: 0.5rem;
    color: var(--hero-title-color);
    border-radius: 0.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
  }
  .on_comm {
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: -20px;
  }

  .community_content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2rem 0;
  }
  .right {
    margin: -1rem 0;
  }
  .btn_li {
    margin: 1.5rem 0;
  }
  .mission_viewer {
    display: flex;
    flex-direction: column;
  }

  .image_switcher {
    margin: 0.5rem 0;
  }

  .hero_text h1 {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
  }
  .navlinks {
    display: none;
  }

  .show_nav {
    height: 100vh;
    background-color: #effff4;
    width: 100%;
    position: absolute;
    top: 5rem;
    left: 0;
    transition: height 0.5s ease-in;
  }

  .show_nav > ul {
    display: block;
  }
  .show_nav > ul li {
    display: block;
    text-align: center;
    margin: 1rem 0;
  }
  .show_nav > ul li a {
    font-size: 1.6rem;
    color: #131313;
  }
  .hamburger span {
    width: 1.5rem;
    height: 0.1rem;
    background-color: black;
    /* margin: 0.4rem; */
    display: block;
  }
  .contact_button {
    display: none;
  }
}

@media screen and (max-width: 834px) {
  .hamburger {
    display: block;
  }

   .btn_li::before {
  content: "\2713";
  border-radius: 50%;
  background-color: var(--sea-green);
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.4rem;
  color: white;
  font-size: 1rem;
  vertical-align: middle;
}
  .about_header h1, .text_mods {
  text-transform: capitalize;
  text-align: center;
  font-size: 1.5rem;
}
  .community_title h2 {
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
  }
  .hero_holder {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    background-size: stretch;
    background-position-y: center;
    background-position-x: center;
  }
  .contact_buton {
    background-color: var(--sea-green);
    padding: 0.5rem;
    color: var(--hero-title-color);
    border-radius: 0.3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
  }
  .on_comm {
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .community_content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2rem 0;
  }
  .right {
    margin: -1rem 0;
  }
  .btn_li {
    margin: 1.5rem 0;
    font-size: 1rem !important;
  }
  .mission_viewer {
    display: flex;
    flex-direction: column;
  }

  .image_switcher {
    margin: 0.5rem 0;
  }

  .hero_text h1 {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
  }
  .navlinks {
    display: none;
  }
  .show_nav {
    height: 100vh;
    background-color: #effff4;
    width: 100%;
    position: absolute;
    top: 5rem;
    left: 0;
    transition: height 0.5s ease-in;
  }

  .show_nav > ul {
    display: block;
  }
  .show_nav > ul li {
    display: block;
    text-align: center;
    margin: 1rem 0;
  }
  .show_nav > ul li a {
    font-size: 1.6rem;
    color: #131313;
  }
  .hamburger span {
    width: 1.5rem;
    height: 0.1rem;
    background-color: black;
    margin: 0.4rem;
    display: block;
  }
  .contact_button {
    display: none;
  }
}

@media screen and (max-width: 932px) {
  .program_section {
    background-image: url(../img/program_bg.jpg);
    background-repeat: repeat-y;
    background-size: cover;
    background-position-y: -400px;
    margin-bottom: 20px;
  }

  .projects_holder {
  width: 96%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

}
