
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: "Inter", sans-serif;
     text-decoration: none;
     list-style: none;
     scroll-behavior: smooth;
 }

 :root {
     --main-color: #095757;
     --bg-color: #e7e7e7d0;
     --second-color: #1A2526;
     --text-color: #141414f5;
     --btn-color: #b93c68;
     --hover-color: #752a44;
     --hover1-color: #033333d8;
 
     --big-font: 4.1rem;
     --h2-font: 2.8rem;
     --p-font: 1.1rem;
     --icon-font: 1.2rem;
 }
 html {
     width: 100vw;
     height: 100vh;
     overflow: hidden;
     overflow-y: scroll;
 }
 html::after {
     content: "";
     width: 100%;
     height: 100vh;
     position: fixed;
     top: 0;
     left: 0;
     z-index: 200;
     pointer-events: none;
     background-image: url(https://res.cloudinary.com/dam6cl8k0/image/upload/v1757047200/canva_pknsme.png);
     background-position: center;
     background-size: 100vw;
 }
 html, body {
   scrollbar-width: none; /* Firefox */
   -ms-overflow-style: none; /* IE 10+ */
 }
 html::-webkit-scrollbar,
 body::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Edge */
 }
 body {
     font-family: "Poppins", sans-serif;
     width: 100vw;
     overflow: hidden;
     overflow-y: scroll;
     background-position: center;
     background-size: cover;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     background: var(--bg-color);
     padding-top: 150px;
 }
/* ------------ Preloader section ------------------- */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.Logo {
  width: 120px;
  height: 80px;
  border-radius: 50%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid var(--second-color);
  border-top: 5px solid var(--main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

 /* ======== The header ================= */
 header {
     position: fixed;
     background: var(--bg-color);
     z-index: 2;
     top: 0;
     width: 100%;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
 }
 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 15px;
 }
 .row-item {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 15px 0;
     flex-wrap: wrap;
 }
 .logo img {
     height: auto;
     width: 160px;
 }
 .slogan img {
     height: 30px;
     width: auto;
     margin-left: 20px;
 }
 .col-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     margin: 5px;
     gap: 20px;
 }
 .item1 .donate {
     background: var(--btn-color);
     color: var(--text-color);
     padding: 10px 20px;
     text-decoration: none;
     font-weight: bold;
     border-radius: 5px;
     transition: background 0.3s;
 }
 .item1 .donate:hover {
     background: var(--hover-color); color: var(--bg-color);
 }
 .item1 .donate i {
     margin-left: 5px;
     color: var(--main-color);
 }
 .item1 .donate:hover i {
     color: var(--bg-color);
     transform: translateX(5px);
 }
 .col-item2 .social-icons {
     list-style: none;
     display: flex;
     gap: 5px;
     margin: 10px;
 }
 .social-icons li a {
     padding:5px 8px 5px 8px;
     background-color: var(--main-color);
     color: var(--text-color);
     font-size: 18px;
     transition: color 0.3s;
 }
 .social-icons li a:hover {
     color: var(--hover-color);
 }
 .social-icons li a i {
   color: var(--second-color);
 }
 .social-icons li a:hover i {
     transform: translateY(-3px);
 }
 nav {
     background: #1A2526;
     width: 100%;
 }
 .nav-menu {
     padding: 10px 0;
     display: flex;
     justify-content: center;
 }
 .menu-header ul {
     list-style: none;
     display: flex;
     gap: 20px;
     justify-content: center;
     flex-wrap: wrap;
 }
 .menu-header ul li a {
     color: var(--bg-color);
     text-decoration: none;
     font-weight: 500;
     font-size: 16px;
     transition: color 0.3s;
 }
 .menu-header ul li a:hover {
     color: var(--btn-color);
     transform: translateY(-3px);
 }
 .menu-toggle {
     display: none;
     background: none;
     border: none;
     color: var(--main-color);
     font-size: 24px;
     cursor: pointer;
     padding: 10px;
 }

 /* =============== Home section =========================== */
 .home { position: relative; margin-top: 5rem;}
 .slider-container {
     position: relative;
     width: 100%;
     height: 90vh;
     overflow: hidden;
   }
      
   .slide {
     position: absolute;
     width: 100%;
     height: 100%;
     opacity: 0;
     transition: opacity 1s ease-in-out;
     display: flex;
     justify-content: center;
     align-items: center;
   }
      
   .slide.active {
     opacity: 1;
     z-index: 1;
   }
      
   .slide img, .slide img[src$=".gif"] {
     width: 100%;
     height: 100%;
     object-fit: cover;
     opacity: 0.7;
     animation: hoverEffect 10s infinite ease-in-out;
   }
      
   @keyframes hoverEffect {
     0% { transform: scale(1); }
     100% { transform: scale(1.05); }
   }
      
   .text-left, .text-right {
     position: absolute;
     color: var(--text-color);
     font-weight: bold;
   }
      
   .text-left {
     font-family: "Caveat", sans-serif;
     font-size: 2.5rem;
     font-weight: 600;
     bottom: 36%;
     left: 75%;
   }
      
   .text-right {
     width: 22%;
     font-size: 1.2rem;
     bottom: 120px;
     right: 3%;
   }
   .text-right strong {
     color: var(--btn-color);
     font-family: "Caveat", sans-serif; font-size: 1.8rem;
   }
      
   .shape-1 {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 75%;
     height: 30%;
     border-left: 40px solid var(--hover1-color);
     border-bottom: 40px solid var(--hover1-color);
   }
      
   .shape-right {
     position: absolute;
     top: 0;
     right: 0;
     width: 60px;
     height: 45%;
     border-right: 45px solid var(--btn-color);
   }
      
   .loader-btn {
    position: absolute;
    bottom: 15px;
    right: 2%;
    width: 40px;
    height: 40px;
    border: 4px solid var(--hover-color);
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 5.8s linear infinite;
    z-index: 2;
}
.slider a {
    background-color: var(--btn-color);
    border-radius: 10px;
    padding: 10px 15px;
    position: absolute;
    bottom: 25px;
    right: 10%;
    color: var(--text-color);
    z-index: 2;
    text-decoration: none;
}
      
@keyframes spin {
   to
   { transform: rotate(360deg); }
}
      

      /* ========== Word fro YACA section ========== */
    /* Base Layout */
    section.word {
      color: var(--text-color);
      padding: 60px 0;
      position: relative;
      overflow: hidden;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .row-align {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 2rem;
      padding: 0 20px;
    }

    .text-side {
      flex: 1;
      min-width: 300px;
    }

    .text-side h2 {
      font-family: "Caveat", sans-serif;
      font-size: 2.5rem;
      color: var(--btn-color);
      margin-bottom: 20px;
      opacity: 0;
      animation: fadeSlideUp 1s ease-out 0.5s forwards; /* Delayed to sync with typing */
    }

    .text-side p {
      font-size: 1rem;
      line-height: 1.3;
      margin-bottom: 30px;
      opacity: 0;
      animation: fadeIn 1s ease-out forwards;
    }
    .text-side p strong {
      font-family: "Caveat", sans-serif;
      color: var(--hover1-color);
    }

    /* Staggered animation for paragraph sections */
    .text-side p:nth-child(1) { animation-delay: 1s; }
    .text-side p:nth-child(2) { animation-delay: 1.2s; }
    .text-side p strong { 
      display: block; 
      opacity: 0; 
      animation: fadeIn 1s ease-out 1.4s forwards; 
    }
    .text-side .logo-1 {
      position: absolute;
      bottom: 14%;
      right: 30%;
    }
    .text-side .logo-1 img {
      width: 150px;
    }

    .text-side .btn {
      background-color: var(--hover-color);
      padding: 12px 24px;
      color: var(--text-color);
      font-weight: bold;
      text-decoration: none;
      border-radius: 4px;
      transition: transform 0.3s ease;
      display: inline-block;
      opacity: 0;
      animation: fadeIn 1s ease-out 1.6s forwards, pulse 2s infinite 1.6s;
    }

    .text-side .btn:hover {
      background-color: var(--btn-color); color: var(--bg-color);
      transform: scale(1.05);
    }

    .image-side {
      flex: 1;
      display: flex;
      justify-content: center;
      min-width: 250px;
    }

    .image-side img {
      border-radius: 50%;
      max-width: 300px;
      width: 100%;
      animation: floatIn 1.5s ease-in;
    }

    /* Animations */
 @keyframes fadeIn {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); } 
    }
 @keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); } 
   }
 @keyframes floatIn {0% { opacity: 0; transform: scale(0.8); }100% { opacity: 1; transform: scale(1); } }
 @keyframes pulse {   0% { transform: scale(1); }
      50% { transform: scale(1.03); }
      100% { transform: scale(1); }
    }

    /* ========== Watch YACA videos =================== */
    .video {
      position: relative;
      width: 100%;
      height: 450px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--bg-color);
    }
    
    .bg-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    
      animation: fadeInVideo 3s ease-in-out forwards;
      opacity: 0;
    }
    
    /* Dark overlay for readability */
    .video::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1;
      animation: fadeInOverlay 2s ease-in-out forwards;
      opacity: 0;
    }
    
    /* Content style */
    .video .content {
      position: relative;
      z-index: 1;
      max-width: 800px;
      padding: 2rem;
      text-align: center;
      animation: fadeInContent 2s ease-in-out 1s forwards;
      opacity: 0;
      transform: translateY(30px);
    }
    
    /* Individual element fade */
    .video .content h2,
    .video .content p,
    .video .content a {
      animation: fadeUp 1s ease-in-out forwards;
      opacity: 0;
    }
    
    .video .content h2 {
      animation-delay: 1.2s;
      color: var(--btn-color);
      font-family: "Caveat", sans-serif;
      font-weight: 700;
      font-size: 2.6rem;
      margin-bottom: 20px;
      margin-top: 10px;

    }

    .video .content p {
      margin-bottom: 15px;
      text-align: left;
    }
    .video .content a {
      margin-top: 10px;
    }
    .video .content p:nth-of-type(1) {
      animation-delay: 1.5s;
    }
    .video .content a:nth-of-type(1) {
      animation-delay: 1.8s;
    }
    .video .content p:nth-of-type(2) {
      animation-delay: 2.1s;
    }
    .video .content a:nth-of-type(2) {
      animation-delay: 2.4s;
    }
    
    /* Animation Keyframes */
    @keyframes fadeInVideo {
      to {
        opacity: 1;
      }
    }
    
    @keyframes fadeInOverlay {
      to {
        opacity: 1;
      }
    }
    
    @keyframes fadeInContent {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    /* Button styles */
    .video .content a {
      display: inline-block;
      background: var(--btn-color);
      color: var(--text-color);
      padding: 0.75rem 1.5rem;
      border-radius: 5px;
      text-decoration: none;
      margin: 0.5rem;
      transition: background 0.3s ease;
    }
    
    .video .content a:hover {
      background: var(--hover-color);
    }

    /* ================== YACA activites ====================== */
    .service {
      position: relative;
      width: 100vw;
      height: 450px;
      overflow: hidden;
    }
    .service .content {
      
      color: var(--text-color);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }
    .service .content h1 {
      font-family: 'Caveat', sans-serif;
      font-weight: 800;
      text-align: center;
      font-size: 2.5rem;
      color: var(--btn-color);
      margin-bottom: 3rem;
    }

    .service .content h1 span {
      font-family: 'Caveat', sans-serif;
      color: var(--main-color);
      font-weight: 600;
    }

    .button-box {
      width: 100%;
      max-width: 800px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .button {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.2rem 2rem;
      font-size: 1.2rem;
      font-weight: bold;
      color: var(--text-color);
      border: none;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
    }

    .button:hover {
      transform: translateX(5px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      background: var(--main-color);
    }

    .arrow {
      font-size: 1.8rem;
      transition: transform 0.3s ease;
    }

    .button:hover .arrow {
      transform: translateX(5px);
    }
    .btn1 a, .btn2 a, .btn3 a {
      text-decoration: none;
      color: var(--text-color);
    }
    .btn1 {
      background: linear-gradient(to right, #d89e0cec, #095757);
    }

    .btn2 {
      background: linear-gradient(to right, #ceb169, #d89e0cec);
    }

    .btn3 {
      background: linear-gradient(to right, #033333d8, #ceb169);
    }

 /* ================= Footer section ====== */
  /*Contact Yaca*/
.Contact{
  display: flex;
  align-items: center; 
  gap: 40px;
  justify-content: center;
  margin: 10px auto;
}

footer .my-line {
  left: 5%;
  position: relative;
  align-items: center;
  justify-content: center;
  content: "";
  width: 90%;
  height: 5px;
  background: var(--second-color);
  border-radius: 2px;
}
.moja{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}
.moja img{
  max-width: 280px;
  object-fit: cover;
}
.moja h2 {
  font-family: 700;
  font-family: 'Caveat', sans-serif;
  font-size: 2.3rem; 
  color: var(--btn-color); 
  text-align: center;
}

.mbili{
  padding: 30px;
}
.mbili h2{
  font-weight: 700;
  font-family: 'Caveat', sans-serif;
  color: var(--btn-color);
  text-align: center; 
  margin-bottom: 20px; 
  font-size: 2.3rem;
  position: relative;
}
.mbili h2::before{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 40%; 
  height: 3px;
  background-color: var(--second-color);
}
.lojo {
  margin: 20px 0; 
  display: flex;
  justify-content: center; 
  align-items: flex-start; 
}
.lojo .list {
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex; 
  flex-direction: column;
  gap: 20px; 
}
.zoko {
  display: flex;
  align-items: center; 
  gap: 10px;
}
.zoko .icon {
  text-decoration: none;
  font-size: 1rem; 
  font-weight: bold; 
  color: var(--text-color); 
  display: flex;
  align-items: center; 
}
.icon i {
  color: var(--main-color); 
  font-size: 1.2rem; 
  margin-right: 8px; 
}
.lojo2 {
  text-align: center; 
  margin: 20px 0; 
}
.list2 {
  display: flex; 
  justify-content: center; 
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 15px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.social {
  display: inline-block;
  padding-right: 10px;
  gap: 40px;
}
.social a {
  text-decoration: none;
  color: var(--second-color);
  font-size: 1.8rem;
  transition: color 0.3s;
}
.social a:hover {
  color: var(--hover1-color);
}
.tatu{
  padding: 30px;
}
.tatu h2{
  font-family: 'Caveat', sans-serif;
  font-weight: 700;
  color: var(--btn-color);
  text-align: center; 
  margin-bottom: 20px; 
  font-size: 2.3rem;
  position: relative;
}
.tatu h2::before{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 30%; 
  height: 3px;
  background-color: var(--second-color);
}
.icon a{
  text-decoration: none;
  color: var(--text-color);
}
.icon a:hover{
  color: var(--hover-color);
}
.ft{
  font-family: 'Caveat', sans-serif;
  font-weight: 600;
  padding: 10px 0 10px 0;
  align-items: center;
  text-align: center;
  background: var(--main-color);
  color: var(--text-color);
  gap: 20px;
}
.dvlp{
  font-family: 'Caveat', sans-serif;
  font-size: var(--p-font);
}
.dvlp a{
  color: var(--btn-color);
}
.cpry{
  font-family: 'Caveat', sans-serif;
  font-size: var(--p-font);
}
.cpry i{
  color: var(--btn-color);
  font-size: 15px;
}
#abt {
  overflow-x: hidden;
}

        
 /* =============== Responsiveness queries ================ */
/* Responsive Design */
@media (max-width: 1270px) {
  .text-side .logo-1 {
    bottom: 14%;
    right: 20%;
  }
  .text-side .logo-1 img {
    width: 130px;
  }
}

@media (max-width: 790px) {
  .row-item {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 10px;
  }
  .slogan {
      display: none; /* Hide slogan on small screens */
  }
  .col-item {
      width: 100%;
      justify-content: space-between;
  }
  .item1 {
      margin-bottom: 50px;
  }
  .item1 .donate {
      padding: 10px 70px 10px 70px ;
  }
  .col-item2 {
      position: absolute;
      right: 10px;
      top: 48.4%;
      left: 0;
  }
  .col-item2 .social-icons {
      gap: 20px;
      margin: 30px;
  }
  .social-icons li a {
      padding: 0;
      background-color: transparent;
      color: var(--main-color);
      font-size: 18px;
      transition: color 0.3s;
  }
  .menu-toggle {
      display: block;
      position: absolute;
      right: 12px;
      top: 16.3%;
  }
  .menu-header ul {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      width: 100%;
  }
  .menu-header ul.active {
      display: flex;
      z-index: 5;
  }
  .slider {
      height: 400px;
    }
    .text-left, .text-right {
      font-size: 18px;
    }
    .shape-l, .shape-right {
      width: 70px;
      height: 45%;
    }
    .loader-btn {
      width: 40px;
      height: 40px;
    }
    
    .row-align {
      flex-direction: column;
      text-align: center;
    }
    .text-side .logo-1 {
      bottom: 10%;
      right: 20%;
    }
    .text-side .logo-1 img {
      width: 120px;
    }
    .image-side {
      order: -1;
    }
    .service {
      height: auto;
    }
    /* Contact section */
  .Contact {
    flex-direction: column;
    gap: 20px;
  }

  .moja img {
    max-width: 100%;
  }

  .moja h2 {
    font-size: 1.2rem;
  }

  .mbili h2 {
    font-size: 1.3rem;
  }

  .lojo .list {
    gap: 15px;
  }

  /* Footer adjustments */
  .ft {
    text-align: center;
  }
        }
        
@media (max-width: 591px) {
  .col-item2 {
    position: absolute;
    right: 10px;
    top: 68%;
    left: 0;
    }
  }
 @media (max-width: 480px) {
  .home { margin-top: 9.5rem;}
  .slider {
    height: 300px;
  }
  .shape-l, .shape-right {
    width: 50px;
    height: 30%;
  }
  .loader-btn {
    width: 30px;
    height: 30px;
    bottom: 5%;
  }
  .slider a{
    bottom: 45px;
    right: 28%;
  }
  .text-left {
    bottom: 40%;
    left: 15%;
    font-size: 2.2rem;
  }
  .text-right {
    bottom: 90px;
    right: 20px;
    width: 250px;
    font-size: 1rem;
  }
  .row-align { padding: 0;}
  .text-side .logo-1 {
    bottom: 7%;
    right: 37%;
  }
  .text-side .logo-1 img {
    width: 70px;
  }
  .video, .service {
    height: auto;
  }
}
       