/* 

PRIMARY
#c92a2a

-SECONDARY COLORS 
#fff5f5 #ffc9c9 #ff6b6b

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128 */

/* ---------- Desktop Header ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5rem;
  position: relative;
  z-index: 100;
}

.main-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.menu-list-item-disabled {
  display: none;
}

.main-nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-around;
  margin: 0;
  padding: 0;
}

ul li:last-child {
  margin-right: 5rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  text-decoration: none;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 400;
  color: #555;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
  transition: 0.3s ease-in-out;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: #fff;
  background-color: #c92a2a;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-group {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown-nav-arrow {
  font-size: 1.6rem;
  color: #c92a2a;
  transition: transform 0.3s;
}

.dropdown:hover > .dropdown-nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 0;
  margin: 0;
  min-width: 250px;
}

.dropdown-menu li a {
  display: block;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #555;
  font-size: 1.5rem;
  transition: 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #c92a2a;
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.donate-nav-link {
  background-color: #ffc9c9;
  color: #c92a2a;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: 0.3s;
}

.donate-nav-link:hover {
  background-color: #c92a2a;
  color: #fff;
}

/* FOR MAIN LINKS  */
.main-nav-link.active {
  color: #fff;
  background-color: #c92a2a;
}

/* FOR SUB LINKS  */
.sub_menu.active {
  color: #fff;
  background-color: #c92a2a;
}

/* ---------- Mobile ---------- */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #c92a2a;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
/* .sticky {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: #f3f3f3;
} */

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-home {
  margin-top: 9.6rem;
}

/* HOME SLIDER BEGINS  */

.section-home {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  bottom: 30%;
  left: 10%;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem 3rem;
  border-radius: 10px;
  max-width: 500px;
}

.caption h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.caption p {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  background-color: #c92a2a;
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #a61e1e;
}

.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 2rem;
}

.navigation ion-icon {
  font-size: 4rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.navigation ion-icon:hover {
  transform: scale(1.1);
  color: #c92a2a;
}

/* HOMSE SLIDER ENDS  */

/* ABOUT US-SECTION */

.section_about_us p {
  font-size: 5rem;
}

.primary-heading {
  font-size: 3rem;
  color: #c92a2a;
}

.secondary-heading {
  font-size: 2.5rem;
  padding-top: 25px;
}

.sub-heading {
  font-size: 1.8rem;
  /* color: #c92a2a; */
}

.purpose {
  padding-left: 8rem;
}

.how-we-work {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.how-we-work ion-icon {
  color: #c92a2a;
  font-size: 3rem;
}

.how-we-work-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  grid-template-rows: auto;
  align-items: center;
}

.our-work {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.sub-section-our-work {
  background-color: #ff6b6b;
  padding: 4rem;
}

.our-work-title {
  text-align: center;
  color: #fff;
  font-size: 3rem;
}

.our-work p {
  color: #fff;
  font-size: 2rem;
}

.our-work-icon {
  height: 15rem;
}

.our-work-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* END OF ABOUT US-SECTION */

/* PROGRAMME-SECTION */

.section-programme {
  background-color: #fff5f5;
}

.program {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem; /* 20px */
  width: 100%;
  padding: 1.25rem;
  box-sizing: border-box;
  align-items: center;
}

.program-list-unordered li {
  text-align: justify;
}

.program-list-unordered li:last-child {
  margin-right: 0rem;
}

.program-white {
  background-color: #fff;
}

.program-image-section-slider {
  flex: 1;
  min-width: 17.5rem; /* 280px */
  max-width: 50%;
  position: relative;
  border-radius: 0.75rem; /* 12px */
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* -------- Images -------- */
.program-image-section-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.program-image-section-slider img.active {
  opacity: 1;
}

/* -------- Navigation Buttons -------- */
.program-image-section-slider .program-prev,
.program-image-section-slider .program-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem; /* 8px 12px */
  font-size: 3rem; /* 20px */
  cursor: pointer;
  border-radius: 50%;
  z-index: 20;
}

.program-image-section-slider .program-prev:hover,
.program-image-section-slider .program-next:hover {
  color: #c92a2a;
  transform: translateY(-50%) scale(1.1); /* slightly bigger */
  transition: background 0.3s ease, transform 0.3s ease;
}

.program-image-section-slider .program-prev {
  left: 0.625rem; /* 10px */
}

.program-image-section-slider .program-next {
  right: 0.625rem; /* 10px */
}

/* -------- Dots -------- */
.program-image-section-slider .dots {
  position: absolute;
  bottom: 0.625rem; /* 10px */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.375rem; /* 6px */
  z-index: 20;
}

.program-image-section-slider .dots button {
  width: 0.625rem; /* 10px */
  height: 0.625rem; /* 10px */
  border-radius: 50%;
  border: none;
  background: #c92a2a;
  cursor: pointer;
}

.program-image-section-slider .dots button.active {
  background: white;
}

/* -------- Text Section -------- */
.program-data-section {
  flex: 1;
  min-width: 18.75rem; /* 300px */
  max-width: 50%;
  padding: 5rem; /* 18px */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-name {
  font-size: 1.3rem;
  margin-bottom: 0.625rem; /* 10px */
  font-size: 3rem;
  color: #1864ab;
}

.program-image-section-slider .slide-wrapper {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.program-image-section-slider .slide-wrapper.active {
  opacity: 1;
}

.program-image-section-slider .slide-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-image-section-slider .slide-wrapper .caption {
  position: absolute;
  bottom: 0.75rem; /* 12px */
  left: 50%;
  transform: translateX(-50%);
  /* background: rgba(0, 0, 0, 0.5); */
  color: #fff;
  padding: 0.25rem 0.5rem; /* 4px 8px */
  font-size: 0.875rem; /* 14px */
  border-radius: 2rem;
  text-align: center;
  max-width: 90%;
  word-wrap: break-word;
}

.optimized-slider-size {
  height: 50rem;
}

/* END OF PROGRAM-SECTION */

/* SECTION GET INVOLVED */

.btn-link:link,
.btn-link:visited {
  display: inline-block;
  text-decoration: none;
  background-color: #c92a2a;
  color: #fff5f5;
  border-radius: 5px;
  padding: 2px 5px;

  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.btn-link:hover,
.btn-link:active {
  background-color: #fff5f5;
  color: #333;
}
/* END OF SECTION GET INVOLVED */

/* PARTNERS-SECTION */

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  row-gap: 5rem;
  justify-content: center;
  margin-bottom: 10rem;
}

/* INCREASE SIZE OF GIZ LOGO  */

/* .partners-grid > :last-child {
  grid-column: 1 / -1;
  justify-self: center;
} */

.partners-grid img {
  height: 6rem; /* uniform logo height */
  width: auto;
  object-fit: contain;
}

/* END OF PARTNES-SECTION */

/* SECTION DONATE  */

.section-donate {
  background-color: #ffc9c9;
}

.donate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.donate-description {
  padding: 1rem;
  background-color: #ff6b6b;
  border-radius: 1rem;
}

.donate-notes h4,
.donate-contact {
  color: #fff;
  font-size: 2.4rem;
}
.donate-notes p {
  color: #333;
  font-weight: 400;
  font-size: 2rem;
}

.contact-icon {
  font-size: 3rem;
  color: #c92a2a;
}

.contact-detail:link,
.contact-detail:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;

  font-weight: 400;
  font-size: 2rem;
  transition: all 0.3s;
}

.contact-detail:hover,
.contact-detail:active {
  background-color: #fff5f5;
  color: #c92a2a;
  padding: 0 10px;
  border-radius: 5px;
}

.donor-contact-detail {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.donate-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-image img {
  height: 30rem;
  width: auto;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
}

/* END OF DONATE SECTION  */

/* CAREER SECTIONS */

.career-data {
  padding: 0 10rem;
}

.career-chances {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 5rem;
}

.vacancy-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 5rem 0;
  background-color: #fff5f5;
  box-shadow: 2px solid #333;
}

.career-icon {
  font-size: 3rem;
  color: #c92a2a;
}

/* END OF CAREER SECTION  */

/* ACTIVITIES */

.post {
  display: none;
}

.post-heading {
  background-color: #1864ab;
}

.event-type {
  margin: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upcoming-group {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 3rem;
}

.event-type h4 {
  font-size: 3rem;
  color: #1864ab;
}

.event-item {
  height: 60rem;
  width: 40rem;
  border-radius: 8px;
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.event-details {
  padding: 0.5rem 2rem;
}

.event-item img {
  height: 30rem;
  width: auto;
}

.joining-btn {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* END OF ACTIVITIES SECTION  */

/* CONTACT US-SECTION */

.section-contact-us {
  background-color: #fff5f5;
}

.get-intouch {
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: auto;
  justify-content: space-between;
  align-items: center;
}

.contact-form-horizontal {
  max-width: 43.75rem; /* 700px */
  margin: 3rem auto;
  /* background: #fff; */
  padding: 5rem 5rem;
  border-radius: 0.75rem;
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.1);
}

.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.form-group label {
  flex: 0 0 7.5rem; /* 120px */
  font-weight: 600;
  color: #333;
  font-size: 1.8rem;
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 0.75rem 0.875rem;
  border: 0.0625rem solid #555;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: "Quicksand", sans-serif !important;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c92a2a;
  box-shadow: 0 0 0.3125rem rgba(0, 119, 204, 0.3);
  outline: none;
}

.form-button {
  text-align: center;
  margin-top: 1.75rem;
}

button[type="submit"] {
  background: #c92a2a;
  color: #fff5f5;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Quicksand", sans-serif !important;
}

button[type="submit"]:hover {
  background: #c92a2a;
}

/* Spinner animation */
.spinner {
  display: none;
  margin: 10px auto;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #c92a2a;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.sending-text {
  display: none;
  margin-top: 10px;
  color: #c92a2a;
  font-weight: bold;
  font-size: 15px;
}

/* END OF SECTION CONTACT US  */

/* FOOTER-SECTION */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  background-color: #c92a2a;
  color: #fff5f5;
  padding: 0 2rem;
}

/*NEW SECTION*/

.news{
    background-color: #ffc9c9;
}
