/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/

/* ===========================
        NAVBAR
=========================== */

.custom-navbar{
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(14,79,146,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

.custom-navbar .container{
    display:flex;
    align-items:center;
}

.navbar{
    width:100%;
    padding:12px 0;
}

.navbar-brand{
    display:flex;
    align-items:center;
}

.logo{
    width:65px;
    height:65px;
    object-fit:contain;
}

.brand-name{
    color:#fff;
    font-size:24px;
    font-weight:700;
    margin:0;
}

.brand-tagline{
    color:#ffd54f;
    font-size:13px;
}

/* Menu */

.navbar-nav{
    gap:10px;
}

.navbar-nav .nav-link{
    color:#fff !important;
    font-weight:600;
    padding:12px 18px !important;
    border-radius:10px;
    transition:.3s;
}

.navbar-nav .nav-link:hover{
    background:#ffc107;
    color:#0e4f92 !important;
}

.navbar-nav .nav-link.active{
    background:#ffc107;
    color:#0e4f92 !important;
}

/* ===========================
      TOGGLER BUTTON
=========================== */

.navbar-toggler{
    margin-left:auto;
    border:2px solid #fff !important;
    border-radius:10px;
    padding:8px 10px;
    box-shadow:none !important;
}

.navbar-toggler:focus{
    box-shadow:none !important;
}

.navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===========================
        MOBILE
=========================== */

@media (max-width:991px){

.logo{
    width:55px;
    height:55px;
}

.brand-name{
    font-size:20px;
}

.brand-tagline{
    font-size:11px;
}

.navbar-collapse{
    margin-top:15px;
    background:#0e4f92;
    border-radius:15px;
    padding:15px;
    animation:menuAnimation .35s ease;
}

.navbar-nav{
    gap:8px;
}

.navbar-nav .nav-link{
    width:100%;
    text-align:left;
    border-radius:8px;
}

}

@keyframes menuAnimation{

from{
    opacity:0;
    transform:translateY(-10px);
}

to{
    opacity:1;
    transform:translateY(0);
}

}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/


/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}

/*** Services End ***/


/*** Project Start ***/

.project-img {
    position: relative;
    padding: 15px;
}

.project-img::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    top: 0;
    left: 0;
    background: var(--bs-secondary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-img::after {
    content: "";
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: var(--bs-primary);
    border-radius: 10px;
    opacity: 1;
    z-index: -1;
    transition: .5s;
}

.project-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.project-content a {
    display: inline-block;
    padding: 20px 25px;
    background: var(--bs-primary);
    border-radius: 10px;
}

.project-item:hover .project-content {
    opacity: 1;
    transition: .5s;
}

.project-item:hover .project-img::before,
.project-item:hover .project-img::after {
    opacity: 0;
}

/*** Project End ***/


/*** Blog Start ***/
.blog-item .blog-btn {
    z-index: 2;
}

.blog-btn .blog-btn-icon {
    height: 50px;
    position: relative;
    overflow: hidden;
}

.blog-btn-icon .blog-icon-2 {
    display: flex;
    position: absolute;
    top: 6px;
    left: -140px;
    
}

.blog-btn-icon:hover .blog-icon-2 {
    transition: 1s;
    left: 5px;
    top: 6px;
    padding-bottom: 5px;
}
.blog-icon-1 {
    position: relative;
    top: -4px;
}
.blog-btn-icon:hover .blog-icon-1 {
    top: 0;
    right: -140px;
    transition: 1s;
}

/*** Blog End ***/


/*** Team Start ***/

.team-item {
    border-top: 30px solid var(--bs-secondary) !important;
    background: rgba(239, 239, 241, 0.8);
}

.team-content::before {
    height: 200px;
    display: block;
    content: "";
    position: relative;
    top: -101px;
    background: var(--bs-secondary);
    clip-path: polygon(50% 50%, 100% 50%, 50% 100%, 0% 50%);
    padding: 60px;
    opacity: 1;
}

.team-img-icon {
    position: relative;
    margin-top: -200px;
    padding: 30px;
    padding-bottom: 0;
}

.team-img {
    border: 15px solid var(--bs-white);
}

.team-img img {
    border: 10px solid var(--bs-secondary);
    transition: .5s;
}

.team-item:hover h4 {
    color: var(--bs-primary);
    transition: .5s;
}

.team-item:hover .team-img img {
    transform: scale(1.05);
    border: 10px solid var(--bs-secondary);
}

.team-carousel .owl-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 50px;
    display: flex;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    width: 56px;
    height: 56px;
    border-radius: 56px;
    margin-left: 15px;
    background: var(--bs-secondary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .team-carousel {
        margin-top: 3rem;
    }

    .team-carousel .owl-nav {
        top: -85px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-left: -15px;
    }
}

/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-item {
    background: #e3f0eb;

}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #c1dad0;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

/*** Testimonial End ***/


/*** Contact Start ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #26d48c;
}

.contact-form {
    background: #26d48c;
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
    transition: .5s;
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
    letter-spacing: 1px;
}

.footer .hightech-link a:hover {
    background: var(--bs-secondary);
    border: 0;
}

/*** Footer End ***/
.custom-navbar{

    position:sticky;
    top:0;

    width:100%;

    z-index:999;

    backdrop-filter:blur(15px);

    background:rgba(14,79,146,.93);

    box-shadow:0 5px 25px rgba(0,0,0,.15);

    transition:.4s;
}

.logo{

    width:70px;
    height:70px;

    object-fit:contain;

    animation:float 3s ease-in-out infinite;

    transition:.5s;
}

.logo:hover{

    transform:rotate(8deg) scale(1.1);
}

@keyframes float{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-6px);

}

100%{

transform:translateY(0px);

}

}

.brand-name{

    color:#fff;

    margin:0;

    font-size:24px;

    font-weight:700;
}

.brand-tagline{

    color:#fffb00;
    font-weight:200;
    letter-spacing:1px;
}

.navbar-nav{

    gap:18px;
}

.navbar-nav .nav-link {

    position: relative;

    margin: 0 6px;

    padding: 12px 20px !important;

    border-radius: 12px;

    font-size: 16px;

    font-weight: 600;

    letter-spacing: .5px;

    color: #ffffff !important;

    transition: all .4s ease;

    overflow: hidden;

    z-index: 1;

    font-family: "Poppins", sans-serif;
}

/* Background Animation */

.navbar-nav .nav-link::before {

    content: "";

    position: absolute;

    left: 50%;

    top: 50%;

    width: 0;

    height: 0;

    background: linear-gradient(135deg,#d0ff00);

    border-radius: 12px;

    transform: translate(-50%,-50%);

    transition: .45s;

    z-index: -1;
}

/* Hover Effect */

.navbar-nav .nav-link:hover::before {

    width: 100%;

    height: 100%;
}

.navbar-nav .nav-link:hover {

    color: white !important;

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(255,152,0,.35);
}

/* Active Page */

.navbar-nav .nav-link.active {

    background: linear-gradient(135deg,#d9ff00);

    color: white !important;

    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(255,152,0,.35);
}
.nav-link::after{

content:"";

position:absolute;

left:50%;

bottom:0;

width:0;

height:2px;

background:#e6ff02;

transition:.4s;

transform:translateX(-50%);
}

.nav-link:hover{

color:#ffc107 !important;
}

.nav-link:hover::after{

width:100%;
}

.nav-link.active{

color:#ffc107 !important;
}

.dropdown-menu{

border:none;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.15);

animation:dropdown .35s;
}

@keyframes dropdown{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:translateY(0);

}

}

.dropdown-item{

padding:10px 18px;

transition:.3s;
}

.dropdown-item:hover{

background:#0d6efd;

color:#fff;
}

.donate-btn{

padding:12px 28px;

border:none;

border-radius:40px;

background:linear-gradient(45deg,#ff9800,#ff5722);

color:#fff;

font-weight:600;

transition:.4s;

box-shadow:0 10px 25px rgba(255,87,34,.4);

position:relative;

overflow:hidden;
}

.donate-btn::before{

content:"";

position:absolute;

top:0;

left:-120%;

width:100%;

height:100%;

background:rgba(255,255,255,.3);

transform:skewX(-30deg);

transition:.6s;
}

.donate-btn:hover::before{

left:120%;
}

.donate-btn:hover{

transform:translateY(-3px);

box-shadow:0 15px 35px rgba(255,87,34,.5);
}

@media(max-width:992px){

.navbar-nav{

margin-top:20px;

text-align:center;

}

.donate-btn{

margin:20px auto;
display:block;

}

.logo{

width:60px;
height:60px;

}

.brand-name{

font-size:20px;

}

}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

*{
margin:0;
padding:0;
box-sizing:border-box;
}

.loader{

height:100vh;
width:100%;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

background:linear-gradient(135deg,#0d3b66,#05203d);

overflow:hidden;

font-family:Poppins;
}

.logo-wrapper{

position:relative;

width:220px;
height:220px;

display:flex;
justify-content:center;
align-items:center;
}

.loader-logo{

width:170px;

animation:

rotateLogo 8s linear infinite,
bounceLogo 2.5s ease-in-out infinite,
appear 1.2s ease;
}

.glow{

position:absolute;

width:180px;
height:180px;

border-radius:50%;

background:radial-gradient(circle,#ff9800,#ff572200);

animation:pulse 2s infinite;
}

.loader h1{

margin-top:25px;

font-size:38px;

color:white;

font-weight:700;

letter-spacing:1px;

animation:fadeIn 1.5s;
}

.loader p{

margin-top:12px;

font-size:18px;

color:#ffc107;

height:25px;

animation:fadeText .5s;
}

.progress{

margin-top:40px;

width:280px;

height:8px;

border-radius:20px;

overflow:hidden;

background:#ffffff22;
}

.progress-fill{

height:100%;

width:100%;

background:linear-gradient(90deg,#ff9800,#ff5722,#ffc107);

transform-origin:left;

animation:loading 3s linear forwards;
}

@keyframes rotateLogo{

0%{

transform:rotate(0deg);

}

100%{

transform:rotate(360deg);

}

}

@keyframes bounceLogo{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

}

@keyframes pulse{

0%{

transform:scale(.9);

opacity:1;

}

100%{

transform:scale(1.4);

opacity:0;

}

}

@keyframes loading{

0%{

transform:scaleX(0);

}

100%{

transform:scaleX(1);

}

}

@keyframes appear{

from{

opacity:0;

transform:scale(.3);

}

to{

opacity:1;

transform:scale(1);

}

}

@keyframes fadeIn{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:translateY(0);

}

}

@keyframes fadeText{

from{

opacity:0;

}

to{

opacity:1;

}
}
/* Hero Carousel */
#carouselId {
    position: relative;
}

#carouselId .carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* Navigation Arrows */
#carouselId .carousel-control-prev,
#carouselId .carousel-control-next {
    width: 65px;
    height: 65px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    opacity: 1;
}

#carouselId .carousel-control-prev {
    left: 40px;
}

#carouselId .carousel-control-next {
    right: 40px;
}

#carouselId .carousel-control-prev:hover,
#carouselId .carousel-control-next:hover {
    background: #ff9800;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(255,152,0,.5);
}

#carouselId .carousel-control-prev-icon,
#carouselId .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}
.about-section {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  overflow: hidden;
}

/* Bottom to Top Animation */
.fade-up {
  opacity: 0;
  transform: translateY(80px);
  animation: fadeUp 1s ease-out forwards;
}

/* Left to Right */
.fade-left {
  opacity: 0;
  transform: translateX(-80px);
  animation: fadeLeft 1s ease-out forwards;
}

/* Right to Left */
.fade-right {
  opacity: 0;
  transform: translateX(80px);
  animation: fadeRight 1s ease-out forwards;
}

/* Zoom */
.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 1s ease-out forwards;
}

/* Delays */
.delay-1 {
  animation-delay: .2s;
}

.delay-2 {
  animation-delay: .5s;
}

.delay-3 {
  animation-delay: .8s;
}

.delay-4 {
  animation-delay: 1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hover Effects */
.about-img img {
  transition: .5s;
}

.about-img:hover img {
  transform: scale(1.05);
}

.highlight-box {
  background: linear-gradient(135deg,#ffffff,#eef7ff);
  border-left:5px solid #0d6efd;
  transition:.4s;
}

.highlight-box:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(13,110,253,.15);
}

.gradient-btn{
  background:linear-gradient(45deg,#0d6efd,#00c6ff);
  color:#fff;
  border:none;
}

.gradient-btn:hover{
  transform:translateY(-3px);
}
.team-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s ease;
    text-align:center;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:30px 20px;
}

.team-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 50px rgba(0,0,0,.18);
}

.team-image-wrapper{
    width:220px;
    height:220px;
    margin:0 auto 25px;
    padding:8px;
    border-radius:50%;
    background:linear-gradient(135deg,#0d6efd,#20c997,#ffc107);
    animation:rotateBorder 6s linear infinite;

    display:flex;
    justify-content:center;
    align-items:center;
}

.team-image{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #fff;
    transition:.5s;
}

.team-card:hover .team-image{
    transform:scale(1.08);
}

.team-card h4{
    margin-top:10px;
    margin-bottom:12px;
    font-weight:700;
    color:#222;
}

.designation{
    display:inline-block;
    padding:10px 22px;
    background:#0d6efd;
    color:#fff;
    border-radius:30px;
    font-size:15px;
    font-weight:600;
    transition:.4s;
}

.team-card:hover .designation{
    background:#198754;
}

@keyframes rotateBorder{
    from{
        filter:hue-rotate(0deg);
    }
    to{
        filter:hue-rotate(360deg);
    }
}

/* ==========================================
   DONATION CATEGORIES CARD
========================================== */

.donation-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    cursor:pointer;
    transition:.4s ease;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.donation-img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:.5s ease;
}

.donation-overlay{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    text-align:center;

    padding:25px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.80),
        rgba(0,0,0,.30),
        rgba(0,0,0,.10)
    );

    color:#ffffff !important;

    opacity:1;

    transition:.4s ease;
}

.donation-overlay h2,
.donation-overlay h3,
.donation-overlay h4,
.donation-overlay h5,
.donation-overlay h6{
    color:#ffffff !important;
    font-weight:700;
    margin-bottom:10px;
    text-shadow:0 3px 12px rgba(0,0,0,.7);
}

.donation-overlay p,
.donation-overlay span{
    color:#ffffff !important;
    text-shadow:0 2px 8px rgba(0,0,0,.6);
    margin-bottom:0;
}

.donation-card:hover .donation-img{
    transform:scale(1.12);
}

.donation-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.25);
}
.campaign-card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
    cursor:pointer;
    transition:.6s;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.campaign-card img{
    width:100%;
    height:420px;
    object-fit:cover;
    transition:1s;
}

.campaign-card:hover img{
    transform:scale(1.15) rotate(2deg);
}

.campaign-overlay{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;

    padding:30px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.92),
        rgba(0,0,0,.15)
    );

    color:#fff;
}

.campaign-card::before{

    content:"";

    position:absolute;

    width:250px;
    height:600px;

    left:-220px;
    top:-100px;

    background:rgba(255,255,255,.25);

    transform:rotate(30deg);

    transition:1s;

}

.campaign-card:hover::before{

    left:160%;

}

.campaign-badge{

    display:inline-block;

    background:linear-gradient(90deg,#00c853,#ff9800);

    padding:8px 20px;

    border-radius:40px;

    font-weight:700;

    margin-bottom:15px;

    width:max-content;

}

.campaign-btn{

    border:none;

    background:linear-gradient(90deg,#00c853,#00bcd4);

    color:#fff;

    padding:14px 30px;

    border-radius:40px;

    margin-top:20px;

    font-weight:bold;

    transition:.5s;

}

.campaign-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(0,200,83,.45);

}
.campaign-card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
    height:420px;
    cursor:pointer;
    transition:.5s;
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.campaign-image{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:1s;
}

.campaign-card:hover .campaign-image{
    transform:scale(1.15) rotate(2deg);
}

.campaign-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.92),
        rgba(0,0,0,.20)
    );
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:30px;
    color:#fff;
}

.campaign-badge{
    width:max-content;
    background:linear-gradient(90deg,#00c853,#ff9800);
    padding:8px 20px;
    border-radius:30px;
    font-weight:600;
    margin-bottom:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.campaign-overlay h3{
    font-size:28px;
    font-weight:700;
    margin-bottom:12px;
}

.campaign-overlay p{
    font-size:15px;
    color:#f2f2f2;
    line-height:1.6;
}

.campaign-btn{
    width:max-content;
    margin-top:20px;
    border:none;
    padding:13px 28px;
    border-radius:50px;
    background:linear-gradient(90deg,#0d6efd,#20c997);
    color:#fff;
    font-weight:700;
    transition:.4s;
}

.campaign-btn:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 30px rgba(13,110,253,.35);
}

.campaign-card::before{
    content:"";
    position:absolute;
    top:-120px;
    left:-180px;
    width:160px;
    height:700px;
    background:rgba(255,255,255,.25);
    transform:rotate(30deg);
    transition:1s;
    z-index:2;
}

.campaign-card:hover::before{
    left:150%;
}

.campaign-card:hover{
    transform:translateY(-12px);
}
.gallery-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.gallery-heading {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-heading span {
  color: #ff6b00;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.gallery-heading h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 15px 0;
  color: #222;
}

.gallery-heading p {
  max-width: 700px;
  margin: auto;
  color: #666;
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: 0.4s;
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.gallery-card:hover img {
  transform: scale(1.12);
}

/* Mobile */
@media(max-width:768px){
    .gallery-heading h2{
        font-size:32px;
    }

    .gallery-card img{
        height:260px;
    }
}
/* ===========================
   NGO 404 ERROR PAGE
=========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.error-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;

  background: linear-gradient(-45deg,
      #dff8e3,
      #ffffff,
      #edfced,
      #d0f4d7);

  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}

/* ===========================
      FLOATING LEAVES
=========================== */

.leaf {
  position: absolute;
  font-size: 35px;
  user-select: none;
  animation: leafMove linear infinite;
}

.leaf1 {
  left: 8%;
  top: -50px;
  animation-duration: 12s;
}

.leaf2 {
  left: 45%;
  top: -80px;
  animation-duration: 15s;
  animation-delay: 3s;
}

.leaf3 {
  left: 80%;
  top: -60px;
  animation-duration: 13s;
  animation-delay: 6s;
}

/* ===========================
         CLOUDS
=========================== */

.cloud {
  position: absolute;
  width: 170px;
  height: 55px;
  background: white;
  border-radius: 100px;
  opacity: .5;
}

.cloud::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  top: -30px;
  left: 25px;
}

.cloud::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  top: -45px;
  right: 20px;
}

.cloud1 {
  top: 12%;
  animation: cloudMove 30s linear infinite;
}

.cloud2 {
  top: 30%;
  animation: cloudMove 40s linear infinite;
  animation-delay: -10s;
}

/* ===========================
       ERROR CARD
=========================== */

.error-card {
  width: 90%;
  max-width: 700px;

  background: rgba(255,255,255,.95);

  backdrop-filter: blur(8px);

  padding: 50px;

  border-radius: 25px;

  text-align: center;

  box-shadow: 0 20px 45px rgba(0,0,0,.12);

  animation:
      fadeUp 1s ease,
      floating 5s ease-in-out infinite;

  z-index: 100;
}

/* ===========================
        HEART
=========================== */

.heart {
  font-size: 70px;
  margin-bottom: 15px;
  animation: heartbeat 1.4s infinite;
}

/* ===========================
        TEXT
=========================== */

.error-card h1 {
  font-size: 100px;
  color: #198754;
  margin-bottom: 10px;
  font-weight: 700;
}

.error-card h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #222;
}

.error-card p {
  color: #666;
  line-height: 1.8;
  font-size: 17px;
}

/* ===========================
        BUTTONS
=========================== */

.btn-group {
  margin-top: 35px;

  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;
}

.home-btn,
.contact-btn {

  text-decoration: none;

  padding: 14px 30px;

  border-radius: 50px;

  font-weight: 600;

  transition: .35s;
}

.home-btn {

  background: #198754;

  color: white;
}

.contact-btn {

  border: 2px solid #198754;

  color: #198754;
}

.home-btn:hover {

  transform: translateY(-6px);

  box-shadow: 0 12px 25px rgba(0,0,0,.2);
}

.contact-btn:hover {

  background: #198754;

  color: white;

  transform: translateY(-6px);

  box-shadow: 0 12px 25px rgba(0,0,0,.15);
}

/* ===========================
       ANIMATIONS
=========================== */

@keyframes heartbeat {

  0%,100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

@keyframes floating {

  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes gradientBG {

  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes leafMove {

  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  50% {
    transform: translateX(40px) translateY(50vh) rotate(180deg);
  }

  100% {
    transform: translateX(-30px) translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes cloudMove {

  from {
    left: -250px;
  }

  to {
    left: 110%;
  }
}

@keyframes fadeUp {

  from {

    opacity: 0;

    transform: translateY(60px);
  }

  to {

    opacity: 1;

    transform: translateY(0);
  }
}

/* ===========================
        RESPONSIVE
=========================== */

@media(max-width:768px){

.error-card{

padding:35px 25px;

}

.error-card h1{

font-size:70px;

}

.error-card h2{

font-size:28px;

}

.error-card p{

font-size:15px;

}

.heart{

font-size:60px;

}

}