* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
}
/* Variables */
:root {
  --DmSans: "DM Sans", sans-serif;
  --anton-family: "Archivo Black", sans-serif;
  --primary-color: #29742e;
  --secondary-color: #e3f5d3;
}

body {
  background-color: #f5f5f5;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: calc(100vh + 80px);
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.5);
  background-size: cover;
  background-position: center;
}

.slide-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.719) 0%,
    rgba(0, 0, 0, 0.621) 100%
  );

  background-image: url("/Assets/Images/ng-overlay.png");
  background-size: cover;
  background-repeat: no-repeat;
  backdrop-filter: brightness(0.8);
  background-position: center;
}

.carousel-slide.active .slide-background {
  animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  font-family: var(--DmSans);
  color: white;
  text-align: center;
  /* background-color: aqua; */
}

.slide-accent {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin-bottom: 30px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .slide-accent {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.slide-title {
  font-family: var(--anton-family);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 25px;
  max-width: 900px;
  text-transform: capitalize;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.slide-description {
  font-size: 0.9rem;
  /* line-height: 1.8; */
  max-width: 650px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .slide-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.slide-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: white;
  /* padding: 18px 45px; */
  width: 200px;
  height: 50px;
  border: none;
  border-radius: 24px;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  font-family: var(--DmSans);
}

.carousel-slide.active .slide-cta {
  opacity: 1;
  transform: translateY(0);
}

.slide-cta:hover {
  background-color: #fff;
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  transform: translateY(-3px);
}

/* Navigation Controls */
.carousel-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
  align-items: center;
}

.carousel-dots {
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot.active {
  background: var(--primary-color);
  width: 40px;
  border-radius: 6px;
}

.nav-arrows {
  display: flex;
  gap: 10px;
  margin-left: 20px;
  display: none;
}

.arrow-btn {
  width: 45px;
  height: 45px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .slide-content {
    padding: 0 30px;
  }

  .slide-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .slide-description {
    font-size: 1rem;
  }

  .carousel-controls {
    bottom: 30px;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 0 20px;
  }

  .donate-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .slide-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .carousel-controls {
    flex-direction: column;
    gap: 20px;
  }

  .nav-arrows {
    margin-left: 0;
  }
}

/* About Us Container */
.about-us-container {
  /* background-color: violet; */
  padding: 100px 50px;
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.about-first-us-wrapper {
  /* background-color: yellow; */
  width: 50%;
}

.about-us-heading {
  /* background-color: brown; */
  font-family: var(--DmSans);
}

.about-us-heading span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--DmSans);
  font-weight: 400;
  font-size: 1rem;
  color: var(--primary-color);
}

.about-us-heading h2 {
  font-family: var(--anton-family);
  font-family: var(--DmSans);
  font-size: 2rem;
  font-weight: 600;
  margin: 10px 0;
}

.about-us-heading p {
  font-size: 0.9rem;
}

.about-us-img-wrapper {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  margin-top: 50px;
}

.about-us-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

/* Second About Us */

.about-second-abt-btn-wrapper {
  display: flex;
  gap: 50px;
  /* background-color: purple; */
}

.about-second-abt-btn-wrapper a {
  font-family: var(--DmSans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-color);
  /* border: 2px solid var(--primary-color); */
  width: 180px;
  height: 50px;
  color: #fff;
  border-radius: 24px;
}

.about-second-us-wrapper {
  width: 50%;
}

/* About List */
.about-secon-list-wrapper {
  margin-top: 30px;
  line-height: 2.5;
  font-size: 0.9rem;
  font-family: var(--DmSans);
}

.about-secon-list-wrapper p {
  margin-bottom: 20px;
  display: none;
}
.about-secon-list-wrapper li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Support Program */

/* One Community */
.one-community-container {
  width: 100%;
  height: 400px;
  background-image: url(/Assets/Images/nathan-dumlao-xwu-Q1Y0POA-unsplash.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.one-community-overlay {
  height: 100%;
  padding: 50px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(11, 13, 32, 0.699);
}

.one-community-overlay h2 {
  font-size: 3rem;
  color: #fff;
  font-family: var(--DmSans);
}

.one-community-overlay p {
  color: #fff;
  font-weight: 400;
  font-family: var(--DmSans);
}

/* Support Program */
.Support-program-wrapper {
  width: 100%;
  background-image: url("/Assets/Images/sovannkiry-sim-41fytYZ_-mM-unsplash.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-attachment: fixed; */
  height: 450px;
}

.support-content-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px;
  width: 100%;
  background-color: #000000af;
  /* background-color: #ff000073; */
  height: 100%;
  color: #fff;
}

.support-content-overlay span {
  font-family: var(--DmSans);
  font-weight: 500;
  font-size: 0.9rem;
  /* color: var(--primary-color); */
  /* text-transform: uppercase; */
}

.support-content-overlay h2 {
  font-family: var(--anton-family);
  /* font-size: clamp(2rem, 6vw, 1rem); */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  /* line-height: 1.3; */
  font-weight: 400;
  color: #fff;
  margin-top: 10px;
}

.support-content-overlay p {
  font-family: var(--DmSans);
  font-size: 0.9rem;
  margin-top: 20px;
  width: 80%;
}

/* Initiative Wrapper */

.our-initiative-flex-container {
  padding: 150px 50px;
  position: relative;
  /* display: none; */
}

.our-initiative-title {
  /* background-color: #ff0000; */
  /* padding: 20px; */
  font-family: var(--anton-family);
  position: absolute;
  top: 50px;
}

.our-initiative-title h2 {
  color: #fff;
  font-size: 4rem;
  color: #b0b0b0;
  /* color: #ffc6c6; */
  font-weight: 400;
}

.initiatives-container {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.our-initiative-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: #262424;
  width: 35%;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
}

.our-initiative-wrapper::before {
  content: attr(data-number);
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: -1;
  font-size: 4rem;
  font-family: var(--anton-family);
  color: var(--primary-color);
  opacity: 0.2;
  transition: 0.3s all linear;
}

.our-initiative-wrapper:hover {
  transform: rotate(-5deg);
  transition: 0.3s all linear;
  cursor: pointer;
}

.initiatives-content-wrapper {
  width: 70%;
  padding: 20px;
  font-family: var(--DmSans);
  color: #fff;
}

.initiatives-content-wrapper h3 {
  font-family: var(--anton-family);
  font-weight: 400;
}

.initiatives-content-wrapper p {
  font-size: 0.9rem;
  margin-top: 10px;
}

.initiative-btn {
  width: 150px;
  height: 50px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  color: #fff;
  margin-top: 20px;
  font-size: 0.9rem;
  background-color: var(--primary-color);
}

.initiatives-card-img-wrapper {
  width: 30%;
  height: 100%;
}

.initiatives-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Our Mission */
.our-mission-container {
  /* background-color: chartreuse; */
  display: flex;
  padding: 50px;
}

.our-mission-img-wrapper {
  width: 50%;
  height: 500px;
}

.our-mission-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.our-mission-content-wrapper {
  width: 50%;
  padding: 50px 20px;
  /* background-color: violet; */
  /* background-color: #ededed; */
}

.our-mision-title-wrapper {
  /* background-color: turquoise; */
}

.our-mision-title-wrapper span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--DmSans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.our-mision-title-wrapper h2 {
  font-family: var(--DmSans);
  font-size: 2rem;
  font-weight: 600;
  margin: 10px 0;
}

.our-mission-content-wrapper p {
  font-family: var(--DmSans);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.our-mission-list-wrapper {
  /* background-color: yellow; */
  margin-top: 20px;
  font-family: var(--DmSans);
  font-size: 0.9rem;
}

.our-mission-list-wrapper li {
  display: flex;
  align-items: center;
  line-height: 2;
  gap: 10px;
}

.our-mission-btn-wrapper {
  /* background-color: yellow; */
  margin-top: 50px;
  font-family: var(--DmSans);
}

.our-mission-btn-wrapper a {
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  border-radius: 24px;
  width: 150px;
  height: 50px;
  color: #fff;
  font-size: 0.9rem;
}

/* Volunteer */

.volunteer-container {
  /* display: none; */
  background-image: url(/Assets/Images/nathan-dumlao-xwu-Q1Y0POA-unsplash.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.volunteer-content-wrapper {
  padding: 100px 50px;
  width: 100%;
  height: 100%;
  font-family: var(--DmSans);
  background-color: #000000c4;
  backdrop-filter: blur(4px);
  color: #fff;
}

.volunteer-content-wrapper h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 10px;
  font-family: var(--anton-family);
}

.volunteer-content-wrapper p {
  font-size: 0.9rem;
}

.volunteer-image-wrapper {
  display: none;
  width: 500px;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
}

.volunteer-btn-wrapper {
  /* background-color: yellow; */
  margin-top: 20px;
}

.volunteer-btn-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 150px;
  height: 50px;
  border-radius: 24px;
  font-size: 0.9rem;
  color: var(--primary-color);
  background-color: #fff;
}
.volumteer-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 968px) {
  /* About Us Container */
  .about-us-container {
    display: block;
    padding: 50px 20px;
  }

  .about-first-us-wrapper {
    width: 100%;
  }

  .about-us-heading h2 {
    font-size: 1.5rem;
  }

  .about-us-img-wrapper {
    /* display: none; */
    height: fit-content;
    /* background-color: yellow; */
  }

  .about-second-us-wrapper {
    /* background-color: yellow; */
    display: flex;
    gap: 50px;
    flex-direction: column-reverse;
    width: 100%;
    /* margin-top: 50px; */
  }

  .abt-second-img {
    display: none;
  }

  /* ONE COMMUNITY */
  .one-community-overlay {
    padding: 50px 20px;
  }
  .one-community-overlay h2 {
    font-size: 2.5rem;
  }

  /* Support Program */

  .Support-program-wrapper {
    background-attachment: scroll;
  }
  .support-content-overlay {
    padding: 50px;
  }

  .support-content-overlay h2 {
    /* font-size: 3rem; */
  }

  .support-content-overlay p {
    width: 100%;
  }
  /* Initiative Wrapper */

  .our-initiative-flex-container {
    padding: 50px 20px;
  }

  .initiatives-container {
    /* background-color: yellowgreen; */
    flex-direction: column;
    align-items: center;
    /* padding: 50px 20px; */
    /* justify-content: center; */
  }

  .our-initiative-title h2 {
    font-size: 4rem;
  }

  .our-initiative-wrapper {
    width: 100%;
  }

  /* Our Mission */
  .our-mission-container {
    /* display: block; */
    padding: 50px 20px;
    flex-direction: column-reverse;
  }

  .our-mision-title-wrapper h2 {
    font-size: 1.5rem;
  }

  .our-mission-img-wrapper {
    width: 100%;
    height: 300px;
  }

  .our-mission-content-wrapper {
    padding: 0px;
    width: 100%;
    margin-bottom: 50px;
    /* background-color: aqua; */
  }

  .volunteer-content-wrapper {
    padding: 50px 20px;
    backdrop-filter: none;
    margin-top: 50px;
  }
}
