* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #029b53;
  --secondary-color: #f2f2f2;
  --text-color: #333;
  --footer-bg-color: #141c1d;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
}
header {
  background-color: var(--primary-color);
  background-image: linear-gradient(184deg, #068c4d 0%, #09351d 100%);
  color: white;
  text-align: center;
  margin: 0 auto;
}
header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .container {
  padding-block: 0;
}
.logo {
  width: 103px;
}
.main-nav ul {
  display: flex;
  /* gap: 20px; */
  align-items: center;
  list-style: none;
  text-decoration: none;
}
.main-nav ul li a {
  color: white;
  text-decoration: none;
  padding: 5px 20px;
  border-radius: 5px;
  &:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
  }
}
.nav-links li {
  position: relative;
}
.nav-links .dropdown {
  width: 200px;
  display: none;
  position: absolute;
  background-color: var(--primary-color);
  /* margin-top: 10px; */
  border-radius: 5px;
  padding: 10px;
  list-style: none;
  z-index: 1000;
}
.nav-links .dropdown li {
  margin: 5px 0;
  text-align: left;
}
.nav-links .dropdown li a {
  padding: 5px 0;
  display: block;
}
.nav-links li:hover .dropdown {
  display: block;
}
.mobile-toggle {
  display: none;
  cursor: pointer;
}
.hero {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.custom-shape-divider-bottom-1760879187 {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1000;
}

.custom-shape-divider-bottom-1760879187 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 63px;
}

.custom-shape-divider-bottom-1760879187 .shape-fill {
  fill: var(--secondary-color);
}
.hero-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  display: flex;
  justify-content: center;
  align-items: start;
  padding: 20px;
  flex-direction: column;
  color: var(--secondary-color);
  background-image: linear-gradient(rgba(5, 26, 5, 0.589));
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  max-width: 800px;
}
.hero-description {
  font-size: clamp(1rem, 5vw, 1.3rem);
  max-width: 600px;
  margin-bottom: 20px;
}
.mySwiper {
  width: 100%;
  height: 90dvh;
  background-image: linear-gradient(rgb(22, 37, 22));
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 5s ease;
}
.swiper-slide-active img {
  transform: scale(1.1);
}
.partners-section {
  padding-block: 50px;
}
.partners-section h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 800;
}
.partners-section > p {
  text-align: center;
  color: grey;
}
.partners-list {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin-top: 60px;
}
.partner-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}
.partner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.partner-pagination {
  text-align: center;
  margin-top: 20px;
}
.overview-section {
  padding-block: 50px;
}
.overview-section h2 {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
}
.overview {
  text-align: center;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
}
.overview-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.overview-grid-item {
  background-color: var(--primary-color);
  border-radius: 5px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 200px; */
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}
.overview-item-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.events-section {
  padding-block: 50px;
}
.events-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 800;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}
.event-item {
  color: #1f2937;
  display: flex;
  justify-content: start;
  align-items: start;
  /* height: 200px; */
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}
.event-img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.event-author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.event-author {
  display: flex;
  align-items: center;
  margin-top: 15px;
}
.accomplishment-section {
  padding-block: 50px;
}
.accomplishment-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 800;
}
.accomplishment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}
.accomplishment-item {
  color: #1f2937;
  display: flex;
  justify-content: start;
  align-items: start;
  /* height: 200px; */
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  /* overflow: hidden; */
  position: relative;
}
.accomplishment {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background-color: white;
  padding: 10px 40px;
  border-radius: 10px;
}
.accomplishment-heading {
  font-size: 45px;
  font-weight: 700;
  line-height: 1em;
  margin-bottom: 15px;
}
.accomplishment span {
  font-size: 60px;
  font-weight: 600;
  color: #ff5454;
}
.featured-project {
  margin-bottom: 20px;
  color: #029b53;
  font-size: 18px;
  font-weight: 700;
}
.project-title {
  font-size: 45px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1em;
}
.counter-section {
  padding-block: 50px;
  background-color: var(--primary-color);
}
.counter-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  padding-block: 30px;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  width: 100%;
  color: white;
}
.counter-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* &:nth-child(1){
    border-right: 1px solid white;
    border-bottom: 1px solid white;
  }
  &:nth-child(4){
    border-left: 1px solid white;
    border-top: 1px solid white;
  } */
  background-color: white;
  color: var(--primary-color);
  padding-block: 20px;
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
}
.counter-content {
  color: white;
}
.news-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  /* width: 100%; */
  max-width: 1200px;
}
.news-grid-item {
  background-color: #ffffff;
  color: #1f2937;
  display: flex;
  justify-content: start;
  align-items: center;
  /* height: 200px; */
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}
.news-grid-item img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.gallery-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  /* width: 100%; */
  max-width: 1200px;
}
.gallery-grid-item {
  background-color: #ffffff;
  color: #1f2937;
  display: flex;
  justify-content: start;
  align-items: center;
  /* height: 200px; */
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}
.gallery-grid-item img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  /* width: 100%; */
  max-width: 1200px;
}
.team-grid-item {
  background-color: #ffffff;
  color: #1f2937;
  display: flex;
  justify-content: start;
  align-items: center;
  height: 400px;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}
.team-img-container{
  /* width: 100%; */
  height: 300px;
}
.team-img-container img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.latest-news {
  padding-top: 50px;
  padding-bottom: 100px;
}
.latest-news h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 800;
}
.gallery {
  padding-top: 10px;
  padding-bottom: 10px;
}
.gallery h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 800;
}
.filter-btn {
  border: none;
  margin-bottom: 30px;
  &:hover {
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  color: grey;
}
.filter-active {
  color: var(--primary-color);
}
.news-link {
  color: var(--primary-color);
  text-decoration: none;
}
.news-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.grid-item-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
  /* background-color: var(--secondary-color); */
  display: flex;
  min-height: 700px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--secondary-color);
  gap: 30px;
  background-image: url("assets/abstract.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.contact-overlay {
  background-image: linear-gradient(283deg, #029b53 0%, #014f2b 100%);
  inset: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.97;
  background-color: transparent;
}
.contact-content {
  position: inherit;
  z-index: 1;
}
.btn {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 30px 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.2rem;
  border-style: none;
  &:hover {
    background-color: #4cc369;
    transition: background-color 0.3s ease;
  }
}
.contact-btn {
  border: 1px solid white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
footer {
  min-height: 400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 70px 20px;
  background: var(--footer-bg-color);
  color: var(--secondary-color);
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: start;
  gap: 50px;
}
.footer-logo img {
  width: 100px;
  margin-bottom: 10px;
}
.footer-icons {
  margin-top: 20px;
}
.footer-heading {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.2rem;
}
.footer-heading + div {
  margin-bottom: 20px;
}
.footer-info > ul {
  list-style: none;
}
.footer-info > ul > li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .overview-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    width: 100%;
  }
  footer {
    min-height: 400px;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    gap: 40px;
    padding: 70px 20px;
    background: var(--footer-bg-color);
    color: var(--secondary-color);
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 50px;
    margin: 0 !important;
  }
}

/*=================== about page=================== */
.about-hero {
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(rgba(7, 36, 7, 0.767)),
    url("assets/header.jpg");
  color: var(--secondary-color);
  text-align: center;
  background-size: cover;
  background-position: 0 -200px;
}
.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.about-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}
.about-content {
  padding-block: 30px;
}
.about-heading {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.1em;
  margin-bottom: 10px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}
.grid-item {
  /* background-color: #ffffff; */
  border-radius: 1rem;
  padding: 2rem;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  /* text-align: center; */
  /* font-weight: 600; */
  color: #1f2937;
  display: flex;
  justify-content: start;
  /* align-items: center; */
  /* height: 200px; */
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
}

.grid-item:hover {
  transform: translateY(-5px);
}
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}

/* ============contact page============ */
.contact-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}
.contact-grid-item {
  background-color: #ffffff;
  border-radius: 1rem;
  /* padding: 2rem; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  justify-content: start;
  align-items: center;
  /* height: 200px; */
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
}
.contact-grid-item > h2 {
  font-size: 2.5rem;
}
.contact-grid-item {
  padding: 20px;
}
.contact-grid-item:hover {
  transform: translateY(-5px);
}
@media (max-width: 768px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
  }
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
textarea {
  resize: vertical;
  min-height: 200px;
}
.mobile-nav {
  display: none;
}
.mobile-nav ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  width: 100%;
}
.mobile-nav ul li {
  margin: 10px 0;
}
.mobile-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  padding: 10px;
  border-radius: 5px;
  border: solid white 1px;
}

/* =============================== tablet below ================ */

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 1.5rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
  .who-we-are-wrapper,
  .what-we-are-wrapper,
  .get-involved-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .what-we-are-wrapper {
    flex-direction: column-reverse;
  }
  .who-we-are-wrapper img,
  .what-we-are-wrapper img {
    width: 100%;
  }
  .mobile-toggle {
    display: block;
    cursor: pointer;
  }
  .main-nav {
    display: none;
  }
  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 5px;
    display: none;
    flex-direction: column;
    gap: 10px;
    align-items: start;
    text-align: left;
    z-index: 1000;
    width: 100%;
  }
}
.contact-info-item {
  flex: 1;
  min-width: 250px;
  margin-right: 20px;
  margin-bottom: 20px;
  border: #014f2b 1px solid;
  border-radius: 5px;
  padding: 20px;
}
/* -------------nav--------------- */
.nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  color: white;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.3s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  background: rgba(255, 255, 255, 0.1);
}

summary::after {
  content: "▼";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
}

.accordion-content {
  background: rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-link {
  display: block;
  padding: 0.875rem 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.accordion-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
