/*! FONTS//////////////////////////////////// */
/* FONTS//////////////////////////////////// */

.jost-regular {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.jost-headline {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 2rem;
  color: hsl(0, 0%, 80.4%);
}

.jost-section-heading {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  line-height: 38px;
  color: hsl(0, 0%, 15%);
}

.jost-mission-titles {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  line-height: 95%;
  color: hsl(0, 0%, 15%);
}

.noto-sans-regular {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.noto-nav-link {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
  color: hsl(0, 0%, 80.4%);
}

.noto-nav-link-active {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
  color: white;
}

.noto-buttons {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
  color: white;
}

.noto-buttons-smaller {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
  color: white;
}

.noto-section-title-small {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 0.9rem;

  color: hsl(160, 1%, 39%);
}

.noto-p-heading {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1.25rem;
  padding-top: 1rem;
  color: hsl();
}

.noto-p {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1.2rem;
}

.noto-p-stay-updated {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
}

.noto-faq-p {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: hsl(0, 0%, 20%);
  font-size: 0.9rem;
}

.noto-p-hero {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 1rem;
}

.noto-p-input {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: hsl(0, 0%, 40%);
  font-size: 0.9rem;
}

.noto-p-footnote {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: hsl(0, 0%, 10%);
  font-size: 0.8rem;
}

.noto-p-footer {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: hsl(0, 0%, 8%);
  font-size: 0.9rem;
}

.email-input::placeholder {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: hsl(0, 0%, 70%);
  font-size: 0.9rem;

}


/* FONTS//////////////////////////////////// */
/* FONTS//////////////////////////////////// */

/*! Buttons////////////////////////////////// */
/* Buttons////////////////////////////////// */

.button-blue {
  padding: 0.5rem 1rem;
  border: none;
  background-color: hsl(209, 84%, 58%);
  border-radius: 0.6rem;
}


.button-green-outline {
  padding: 0.5rem 1rem;
  border: none;
  background-color: hsla(172, 100%, 16%, 15%);
  border-radius: 0.6rem;
  border: 3px solid hsla(172, 100%, 16%, 15%);
  box-sizing: border-box;
}

.button-green-fill {
  padding: 0.5rem 1rem;
  border: none;
  background-color: hsl(172, 100%, 16%);
  border-radius: 0.6rem;
  border: 3px solid hsla(172, 100%, 16%, 15%);
  box-sizing: border-box;
}

.button-link {
  padding: 0.5rem 1rem;
  border: none;
  background-color: transparent;
  border-radius: 0.6rem;
  color: hsl(0, 0%, 20%);
}

button {
  cursor: pointer;
}

/* Buttons////////////////////////////////// */
/* Buttons////////////////////////////////// */

*,
html {
  /* outline: 1px solid red; */
  box-sizing: border-box;
  scroll-behavior: smooth;
}

hr {
  height: 0.5px;
  background-color: hsl(24, 27%, 86%);
  border: none;
  margin: 0;
  box-shadow: none;
}

body {
  width: 100vw;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  width: 100vw;
  height: 100dvh;
  background-image: url(../assets/hero-image-dark.webp);
  background-position: center;
  background-size: cover;
  background-attachment: scroll;

  display: flex;
  flex: 1 auto;
  flex-direction: column;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
}

#navbar-mobile {
  display: none;
  align-items: center;
}

#navbar, #navbar-mobile,
#hero-text-content {
  margin: 0 auto;
  width: 90%;
}

#navbar ul {
  display: flex;
  gap: 1.5rem;
  /* flex: 1 1 auto; */
  background-color: hsla(24, 24%, 49%, 40%);
  padding: 0.3rem 1rem;
  border-radius: 0.6rem;
  backdrop-filter: blur(5px);
}

#navbar li {
  list-style: none;
}

@media (max-width: 768px) {
  #navbar  {
    display: none;
  }

  #navbar-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    /* padding: 1rem; */
    background-color: hsla(24, 24%, 49%, 40%);
    /* backdrop-filter: blur(5px); */
  }
}

#nav-links-container,
#get-involved-container,
#logo-container {
  margin: 0;
}

#logo {
  width: 8rem;
}


/* Nav Mobile Off-canvas */
.navbar-container {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-bg);
  /* position: sticky; */
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 5px -5px rgba(0,0,0,0.1);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.nav-item {
  margin: 0;
}

.nav-link {
  text-decoration: none;
  /* color: var(--color-primary); */
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  background-color: transparent;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--color-secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: hsl(0, 0%, 100%);
  transform: translateY(-1px);
}

.sticky {
  position: sticky;
  top: 1rem;
  z-index: 101;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  /* padding: 0.5rem; */
  z-index: 101;
  max-width: max-content;
  
}

.hamburger span {
  width: 2rem;
  height: 3px;
  background-color: hsl(100, 100%, 100%);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-container {
    width: 100%;
    padding: 1rem 1.2rem;
    position: relative;
  }
  
  .hamburger {
    display: flex;
    /* margin-left: auto; */
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85vw;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 4rem;
    gap: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    background-color: hsla(24, 24%, 49%, 80%);
    backdrop-filter: blur(6px);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    width: 80%;
    text-align: center;
    border-radius: 8px;
  }
  
  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
}



#hero-text-content {
  height: 80%;
  place-content: center;
  color: white;
  h1,
  p {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #hero-text-content > h1,
  #hero-text-content > p {
    text-align: left;
    width: 90%;
  }
}

#hero-text-content h1 {
  font-size: 3rem;
  line-height: 90%;
  margin-bottom: 1.5rem;
  color: white;
}

#hero-text-content p {
  margin-bottom: 1.8rem;
  color: white;
}

section {
  height: max-content;
  padding: 5rem 2rem ;
  width: 100vw;
  justify-content: center;
  display: flex;
  align-items: center;
  /* padding-top: 3rem;
  padding-bottom: 3rem; */
}

@media (min-width: 768px) {
  section {
    /* height: 100vh; */
    overflow: hidden;
  }


}

#footer {
  flex-direction: column;
  gap: 2rem;
}

.section-content {
  /* max-width: 90%; */
  width: 90%;
}



/* ///////////////////// About US///////////////// */

#about-us-section {
  background-color: hsl(0, 0%, 95%);
  /* max-height: 100vh; */
}

#about-us-section img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  object-position: center;
  
  margin-top: 2rem;
}

#about-us-section img , #support-section img {
  border-radius: 0.8rem;
}

@media (min-width: 768px) {
  .about-us-container .section-text {
  width: 100%;
  display: grid;

  grid-template-columns: 30rem auto;
  align-items: start;
}
}

/* ///////////////////// About US///////////////// */

/* ///////////////////// Our Mission ///////////////// */

#our-mission-section {
  background-image: linear-gradient(hsl(0, 0%, 95%), 20%, hsl(172, 100%, 92%));
  /* max-height: 100vh; */
  overflow: hidden;
}

#mission-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
  padding-top: 3rem;
}

@media (min-width: 768px) {
  #mission-cards-container {
    grid-template-columns: 1fr 1fr;
  }
}

.mission-card-header {
  display: flex;
  height: min-content;
  align-items: center;
  gap: 2rem;
  padding: 0;

  & img {
    margin: 0;
    height: 2.6rem;
  }
  & h2 {
    margin: 0;
  }
}
/* ///////////////////// Our Mission ///////////////// */



/* ///////////////////// Our Mission ///////////////// */

#support-section {
  background-image: linear-gradient(hsl(172, 100%, 92%), 20%, hsl(0, 0%, 95%));
}

#support-section > .section-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90%;
  margin: 0;
  align-items: flex-start;
  gap: 1rem;

  h3 {
    margin-top: 0;
  }
}

#support-section .section-text {
  margin-bottom: 2rem;

  & h1 {
    margin-bottom: 0;
  }

  & p {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }
}




#support-section img {
  max-width: 100%;
  max-height: 60vh;
}

.volunteer-button {
  width: 0.4rem;
  place-self: center;
  max-height: 0.5rem;
  display: inline;
  margin-left: 0.8rem;
  margin-bottom: -1px;
}

@media (min-width: 768px) {
  #support-section .section-text {
    width: 50%;
  }

}

/* ///////////////////// Our Mission ///////////////// */



/* ///////////////////// Our Mission ///////////////// */

#faq-section {
  background-image: linear-gradient(hsl(0, 0%, 95%), 20%, hsl(24, 100%, 94%));
  margin: 0;
}

#faq-section > .section-content {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 0;
  gap: 2rem;
  align-items: flex-start;

  & hr {
    padding-top: 0;
  }
}

.faq-header {
  width: 40%;

  h1 {
    margin: 0;
  }
}

.faq-content {
  width: 50%;
}

@media (max-width: 1022px) {
  #faq-section > .section-content {
    flex-direction: column;
    align-items: center;
  }

  .faq-header,
  .faq-content {
    width: 100%;}
}

/* ///////////////////// Our Mission ///////////////// */



/* ///////////////////// STAY UPDATED ///////////////// */
#stay-updated-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  background-image: url(../assets/BanaTrenches-Figma.jpg);
  background-position: center;
  background-size: cover;
  padding-top: 3rem;
  padding-bottom: 3rem;
}


.stay-updated-section-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 100%;
  /* margin: 0 auto; */
  /* margin-bottom: 3rem; */

  h1 {
    margin: 0;
    margin-bottom: 2rem;
    color: hsl(24, 33%, 97%);;
  }
}

.stay-updated-content  {
  width: 90%;
    color: hsl(24, 33%, 97%);;


  p {
    margin-top: 0;
    color: hsl(24, 33%, 97%);

  }
}

@media (min-width: 1172px) {

  .stay-updated-section-content h1 {
    max-width: 50%;
  }
  .stay-updated-content  {
    width: 40%;
  }
}

.email-input-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  /* justify-content: center;
  align-items: center; */
  gap: 1rem;
  margin-bottom: 1rem;

  & button {
    margin-top: 1rem;
    width: max-content;
  }
}

@media screen and (min-width: 768px) {
  .email-input-container {
    width: 50%;
  }
  
}

.form-input {
padding: 0.5rem 1rem;
  box-shadow: 3px solid hsl(24, 100%, 94%);
  background-color: hsl(0, 0%, 100%);
  border-radius: 0.6rem;
  
}

textarea {
  min-height: 6rem;
}

/* ///////////////////// STAY UPDATED ///////////////// */

.footer {
  background-image: linear-gradient(hsl(24, 100%, 94%), 20%, hsl(0, 0%, 100%));
  padding-bottom: 1rem;
}


.footer-content {
  height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  /* padding: 2rem; */
}

.footer-links-container {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  /* align-items: flex-start; */
  align-content: flex-start;
  /* padding: 2rem; */
  margin: 0;
  /* width: 100%; */
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid hsl(24, 27%, 86%);
  border-bottom: 1px solid hsl(24, 27%, 86%);
  gap: 2rem;
}

.footer-links li {
  list-style: none;
  padding-bottom: 0.2rem;
}

.footer-links ul {
  list-style-position: inside;
  padding: 0;
  margin: 0;
}

.footer-rights {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 2rem;
  width: 100%;

  > * {
    margin: 0;
  }

  img {
    height: 3rem;
  }
}
details {
  padding-bottom: 1rem;
}

details > summary {
  cursor: pointer;
}

details::details-content {
  opacity: 0;
  transition:
    opacity 200ms,
    content-visibility 200ms allow-discrete;
}

details[open]::details-content {
  opacity: 1;
}

/* summary::marker { */
/*   list-style-type: none; */
/*   list-style-position: outside; */
/* } */

details > summary::marker,
details > summary::-webkit-details-marker {
  /* display: none; */
  content: "";
}

details > summary {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-right: 1rem;
}

details > summary > * {
  margin: 0;
}

details > summary > img {
  transform: rotate(-180deg);
}

details[open] > summary > img {
  transform: rotate(0);
}
