::-webkit-scrollbar{
  width: 0;
  height: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}
:root {
      --main-color: #ff9f0d;
      --text-color: #eee;
      --other-color: #212121;
      --second-color: #9e9e9e;
      --bg-color: #111111;

      --big-font: 2.2rem;
      --h2-font: 2rem;
      --p-font: 0.9rem;
}
html::after{
  content: "";
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  pointer-events: none;
  /* background-color: var(--shade3-color); */
  background-image: url(/imgs/page_img/canvas.png);
  background-position: center;
  background-size: 100vw;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/*------------ Preloader section -------------------*/
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  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); }
}

/* Header */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
}

header .logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--main-color);
}

header nav {
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--main-color);
}

header .contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .contact span {
    font-size: 0.9rem;
    color: var(--second-color);
}

header .contact .btn {
    background: var(--main-color);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}
header .contact .btn i {
    color: red;
    animation: pulse 2s infinite alternate;
}
@keyframes pulse {
    0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
header .contact .btn:hover {
    background: var(--second-color);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #333;
}
.hero-content h2 {
  font-size: 2.3rem;
  color: #333;
}
.hero-content h2 i {
  color: var(--main-color);
  animation: shake 1s infinite;
}
@keyframes shake {
  50%{transform : translateY(10px);}
}
.hero-content img {
  width: 150px;
}
.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-content .btn {
    background: #333;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.hero-content .btn:hover {
    background: var(--main-color);
}

.hero-image {
    position: relative;
    width: 500px;
    height: 400px;
    margin-left: auto;
    overflow: hidden;
    z-index: 2;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    -webkit-mask-image: url('../imgs/page_img/moja8.png');
    mask-image: url('../imgs/page_img/moja8.png');
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../imgs/page_img/moja.svg'); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

/* Programs Section */
.programs {
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.programs h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.program-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.program-card {
    background: #ffffffcb;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.program-card-content {
    padding: 1.5rem;
}


.program-card-content p {
    font-size: 0.9rem;
    color: var(--bg-color);
    margin-bottom: 1rem;
}

.program-card-content a {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.program-card-content a:hover {
    color: #d3840e;
    transform: translateX(10px);
}

/* Welcome Section */
.welcome {
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.welcome h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}
.welcome .momo {
  color: var(--main-color);
}
.welcome p {
    font-size: 1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.welcome .btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.welcome .btn {
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
}

.welcome .btn.primary {
    background: var(--main-color);
    color: #fff;
}

.welcome .btn.primary:hover {
    background: #d3840e;
    color: var(--bg-color);
}

.welcome .btn.secondary {
    background: #333;
    color: #fff;
}
.welcome .btn.secondary i {
    color: red;
    animation: pulsz 2s infinite alternate;
}
@keyframes pulsz {
    0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
.welcome .btn.secondary:hover {
    background: #d3840e;
    color: var(--bg-color);
}

/* Fundraiser Section */
.fundraiser {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    background: #f5f5f5;
    position: relative;
}

.fundraiser-images {
    flex: 1;
    display: flex;
    gap: 1rem;
    position: relative;
    max-width: 500px;
}

.fundraiser-images img {
    border-radius: 50%;
    object-fit: cover;
}

.fundraiser-images img:nth-child(1) {
    width: 300px;
    height: 400px;
    border-radius: 40%;
}

.fundraiser-images img:nth-child(2) {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 0;
    left: 65%;
}

.fundraiser-content {
    flex: 1;
    max-width: 500px;
}

.fundraiser-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}
.fundraiser-content h2 span {
  color: var(--main-color);
}
.fundraiser-content p span {
  color: var(--bg-color);
  font-weight: bold;
}
.fundraiser-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.fundraiser-content a {
    color: var(--main-color);
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.fundraiser-content a:hover {
    color: #d3840e; 
    transform: translateX(10px);
}

/* Footer-like Section */
.future {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.future-content {
    flex: 1;
    max-width: 500px;
}

.future-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.future-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.future-content .icons {
    display: flex;
    gap: 1rem;
}

.future-content .icons i {
    font-size: 2rem;
    color: #d3840e;
}

.future-image {
  position: relative;
  margin-left: auto;
  overflow: hidden;
  z-index: 2;
  flex: 1;
  max-width: 500px;
  height: 300px;
}
.future-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  -webkit-mask-image: url('../imgs/page_img/moja9.png');
  mask-image: url('../imgs/page_img/moja9.png');
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Scroll Button */
.scroll-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 800;
    transition: background 0.3s ease;
    cursor: pointer;
}

.scroll-btn:hover {
    background: #d3840e;
}

.scroll-btn i {
    font-size: 1.5rem;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
font-size: 3rem;
    }

    .hero-image {
width: 400px;
height: 320px;
    }

    .program-card {
width: 280px;
    }

    .fundraiser-images img:nth-child(1) {
width: 180px;
height: 250px;
    }

    .fundraiser-images img:nth-child(2) {
width: 120px;
height: 120px;
    }

    .future-image {
height: 250px;
    }
}

@media (max-width: 768px) {
    header {
padding: 1rem;
    }

    header nav {
display: none;
    }

    header .contact {
gap: 0.5rem;
    }

    .hero {
min-height: 500px;
padding: 2rem 1rem;
flex-direction: column;
text-align: center;
    }

    .hero-content h1 {
font-size: 2.5rem;
    }

    .hero-content p {
font-size: 1rem;
    }

    .hero-content .btn {
padding: 0.6rem 1.5rem;
    }

    .hero-image {
position: relative;
top: auto;
right: auto;
transform: none;
width: 100%;
max-width: 400px;
height: 300px;
margin-top: 2rem;
    }

    .program-cards {
flex-direction: column;
align-items: center;
    }

    .program-card {
width: 90%;
max-width: 350px;
    }

    .welcome h2 {
font-size: 2rem;
    }

    .welcome .btn-group {
flex-direction: column;
    }

    .welcome .btn {
width: 100%;
max-width: 250px;
margin-bottom: 1rem;
    }

    .fundraiser {
flex-direction: column;
padding: 2rem 1rem;
    }

    .fundraiser-images {
max-width: 100%;
justify-content: center;
    }

    .fundraiser-images img:nth-child(1) {
width: 150px;
height: 200px;
    }

    .fundraiser-images img:nth-child(2) {
width: 100px;
height: 100px;
    }

    .fundraiser-content h2 {
font-size: 2rem;
    }

    /* .future {
flex-direction: column;
padding: 2rem 1rem;
    } */

    .future-content h2 {
font-size: 2rem;
    }

    .future-image {
max-width: 100%;
height: 200px;
    } 

    .scroll-btn {
bottom: 1rem;
right: 1rem;
width: 40px;
height: 40px;
    }

    .scroll-btn i {
font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    header .logo {
font-size: 1.2rem;
    }

    header .contact span {
font-size: 0.8rem;
    }

    header .contact .btn {
padding: 0.4rem 0.8rem;
font-size: 0.8rem;
    }

    .hero-content h1 {
font-size: 2rem;
    }

    .hero-content p {
font-size: 0.9rem;
    }

    .hero-image {
max-width: 300px;
height: 250px;
    }

    .programs h2,
    .welcome h2,
    .fundraiser-content h2,
    .future-content h2 {
font-size: 1.8rem;
    }

    .program-card-content h3 {
font-size: 1.3rem;
    }

    .program-card-content p {
font-size: 0.85rem;
    }

    .welcome p {
font-size: 0.9rem;
    }

    .fundraiser-content p {
font-size: 0.9rem;
    }

    .future-content p {
font-size: 0.9rem;
    }

    .future-content .icons i {
font-size: 1.5rem;
    }

    .scroll-btn {
width: 35px;
height: 35px;
    }

    .scroll-btn i {
font-size: 1rem;
    }
}
