﻿.hero:hover::before {
    animation-duration: 2s;
    filter: brightness(1.1);
}

/*section, .hero {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}*/

/* Testimonial Arrows */
.test-arrow {
    position: absolute;
    top: 16%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg,#ff6b6b,#ff9f43);
    box-shadow: 0 8px 18px rgba(0,0,0,.2);
    transition: .3s;
    z-index: 5;
}

#founder-message {
    /*background-color:white;*/
    background: url(../Welfare/Photos/pt1.jpg) no-repeat;
    background-size: cover;
}

.test-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.test-arrow.prev {
    left: -70px;
}

.test-arrow.next {
    right: -70px;
}

.founder-box1 p {
    font-family: 'notoserif-medium';
    font-size: 20px;
    color: #003C3C;
    font-weight: 400;
    line-height: 28px;
}
/* ===== Founder Section ===== */




/* Message Card */
.founder-box {
    max-width: 75%;
    /*margin: auto;*/
    background: #fff;
    padding: 60px 40px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    position: relative;
}

    .founder-box h3 {
        font-size: 28px;
        margin-bottom: 20px;
        color: #2c3e50;
    }

    .founder-box p {
        color: #555;
        line-height: 1.8;
        margin-bottom: 15px;
    }

.founder-name {
    margin-top: 20px;
    color: #ff6b6b;
    font-weight: 600;
}

.founder-role {
    color: #777;
    font-size: 14px;
}

/* Floating NGO Images */
.floating-images img {
    position: absolute;
    width: 95px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    animation: floatImages 10s ease-in-out infinite;
    opacity: .9;
}

.img1 {
    top: -25px;
    left: -25px;
}

.img2 {
    bottom: -25px;
    right: -25px;
    animation-delay: 3s;
}

.img3 {
    top: 45%;
    right: -50px;
    animation-delay: 6s;
}

@keyframes floatImages {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

@media (max-width: 992px) {
    .slide img {
        height: 320px !important;
    }
     .welfare-text h3 {
         font-size: 28px !important;
    }
    .hero h1 {
        font-size: 44px !important;
        margin-bottom: 16px !important;
    }
    .founder-box1 {
        padding: 0px 25px 20px 25px!important;
    }
     .section-title {
        margin-bottom:30px!important;
    }

     .slide1 img {
        height: 230px!important;
        border-radius: 15px!important;
    }
      .donation-cta p {
        font-size: 20px!important;
        margin-bottom: 20px!important;
    }
       .donation-cta h2 {
        font-size: 30px !important;
        margin-bottom: 14px !important;
    }  .section-title h2 {
        font-size: 30px !important;
        margin-bottom: 9px !important;
    }
        .social-title,.medical-title{ font-size: 30px !important;}
}
.section-title p {
   font-size: 20px;
}
 /* Container */
 .frame-box .area-frame .container{
    box-shadow: 0 0 50px 0px rgba(0, 0, 0, 0.1);
}
 .frame-box .area-frame .container{
	background: #fff;
}
 .frame-box .area-frame .container {
  bs-gutter-x: 1.5rem; /* Set your desired gutter size here */
  bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}

.frame-box .area-frame .container {
    background: #fff;
    position: relative;
    padding: 23px;
     margin-bottom: 100px;
    z-index: 1;
}
@media (min-width: 1400px){
	.frame-box .area-frame .container {
		max-width: 1400px;
	}
}
.frame-box .top-bar:after {
    content: "";
    background-image: url(../images/border-bg-bottom.png);
    position: absolute;
    bottom: -22px;
    width: 100%;
    height: 22px;
    left: 0;
}
.frame-box .area-frame .container:after {
    content: "";
    background-image: url(../images/border-bg-top.png), 
	url(../images/border-bg-bottom.png),
	url(../images/border-bg-left.png), 
	url(../images/border-bg-right.png);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-position: top, bottom, left, right;
    height: calc(100% + 44px);
    position: absolute;
    width: calc(100% + 44px);
    left: -22px;
    top: -22px;
    z-index: -1;
    display: block;
}

  .founder-section {
            position: relative;
            overflow: hidden;
              padding: 70px 20px;

            /*background: linear-gradient(135deg,#fff7ed,#f0fdf4,#eff6ff);*/
        }

        /* Layout */
        .founder-wrapper {
            display: grid;
            grid-template-columns: 320px 1fr;
            gap: 40px;
            align-items: center;
        }

        @media(max-width:900px) {
            .founder-wrapper {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        /* Founder Image */
        .founder-image {
            position: relative;
            width: 320px;
            margin: auto;
        }

            .founder-image img {
                width: 100%;
                border-radius: 28px;
                position: relative;
                z-index: 2;
                box-shadow: 0 20px 50px #413c3c;
                animation: floatFounder 5s ease-in-out infinite;
            }

        /* Animated Border */
        .image-border {
            position: absolute;
            inset: -10px;
            border-radius: 32px;
            background-size: 400% 400%;
            animation: borderRotate 8s linear infinite;
            z-index: 1;
        }

        @keyframes borderRotate {
            0% {
                background-position: 0% 50%;
            }

            100% {
                background-position: 400% 50%;
            }
        }

        @keyframes floatFounder {
            0%,100% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-12px);
            }
        }

        /* Quote Icon */
        .quote-icon {
            position: absolute;
            right: 4px;
            bottom: 4px;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background: #09cc7f;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 50px;
            z-index: 3;
            box-shadow: 0 10px 25px rgba(255,107,107,.4);
            animation: pulseQuote 2s infinite;
        }

        @keyframes pulseQuote {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.08);
            }

            100% {
                transform: scale(1);
            }
        }

        /* Content */
        .founder-content h3 {
            font-size: 36px;
            margin-bottom: 12px;
            color: #2c3e50;
        }

        .founder-badge {
            display: inline-block;
            padding: 10px 18px;
            border-radius: 40px;
            background: #fff;
            box-shadow: 0 10px 25px rgba(0,0,0,.08);
            margin-bottom: 18px;
            font-weight: 600;
            color: #ff6b6b;
        }

        .founder-content p {
            color: #555;
            line-height: 1.9;
            margin-bottom: 18px;
        }

        .founder-quote {
            font-size: 20px;
            font-style: italic;
            color: #1f2937;
            position: relative;
            padding-left: 20px;
            border-left: 4px solid #ff6b6b;
        }

        /* Highlights */
        .founder-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
            gap: 18px;
            margin-top: 30px;
        }

        .highlight-box {
            background: #fff;
            border-radius: 18px;
            padding: 18px;
            text-align: center;
            box-shadow: 0 10px 25px rgba(0,0,0,.08);
            transition: .4s;
            position: relative;
            overflow: hidden;
        }

            .highlight-box:hover {
                transform: translateY(-10px);
            }

            .highlight-box i {
                font-size: 28px;
                margin-bottom: 12px;
                color: #ff6b6b;
                animation: iconMove 2.5s ease-in-out infinite;
            }

        @keyframes iconMove {
            0%,100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-6px);
            }
        }

        /* Floating Leaves */
        .leaf {
            position: absolute;
            font-size: 34px;
            opacity: .20;
            animation: leafFloat 12s linear infinite;
        }

        .leaf1 {
            top: 10%;
            left: 5%;
        }

        .leaf2 {
            top: 8%;
            right: 30%;
            animation-delay: 4s;
        }

        .leaf3 {
            bottom: 20%;
            left: 10%;
            animation-delay: 7s;
        }


        .leaf4 {
            top: 5%;
            right: 8%;
        }

        .leaf5 {
            top: 84%;
            right: 65%;
            animation-delay: 4s;
        }

        .leaf6 {
            bottom: 60%;
            left: 9%;
            animation-delay: 7s;
        }

        @keyframes leafFloat {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-30px) rotate(20deg);
            }

            100% {
                transform: translateY(0) rotate(0deg);
            }
        }
@media (max-width: 480px) {
    .slide img {
        height: 180px !important;
    }
  .frame-box .area-frame .container {
        padding: 15px!important;
    }
    .welfare-text h3 {
         font-size: 22px !important;
    }
         .hero h1 {
        font-size: 26px !important;
        margin-bottom: 10px !important;
        letter-spacing: 0 !important;
    }
    .founder-box1 {
        padding: 5px 5px!important;
    }
    .section-title {
        margin-bottom:20px!important;
    }
     .slide1 img {
        height: 170px!important;
        border-radius: 10px!important;
    }
      .donation-cta p {
        font-size: 16px!important;
        margin-bottom: 12px!important;
        line-height: 1.5!important;
    }
      .donation-cta h2 {
        font-size: 22px !important;
        margin-bottom: 10px !important;
    }
       .section-title h2 {
        font-size: 22px !important;
        margin-bottom: 6px !important;
    }
         .social-title,.medical-title{ font-size: 22px !important;}
}

@media(max-width:768px) {
    .test-arrow.prev {
        left: 10px;
    }
    .frame-box .area-frame .container {
        border-radius: 10px;
    }
    .social-title,.medical-title{ font-size: 26px !important;}

    .test-arrow.next {
        right: 10px;
    }
      .donation-cta h2 {
        font-size: 26px !important;
        margin-bottom: 12px !important;
    }
        .section-title h2 {
        font-size: 26px !important;
        margin-bottom: 8px !important;
    }
        .welfare-text h3 {
         font-size: 26px !important;
    }
    .hero h1 {
        font-size: 34px !important;
        margin-bottom: 14px !important;
    }
     .section-title {
        margin-bottom:20px!important;
    }
    section {
        padding: 20px 4.5% !important;
    }

    .hero-text {
        font-size: 16px !important;
        line-height: 1.4 !important;
        letter-spacing: 0.3px !important;
    }

      .founder-box1 {
        padding:  0px 20px 15px 20px!important;
    }

       #img2, #img1 {
        width: 70% !important;
    }

       .slide img {
        height: 240px !important;
    }

    .founder-wrapper {
        gap: 30px !important;
    }

     .slide1 img {
        height: 200px!important;
        border-radius: 12px!important;
    }
     .donation-cta p {
        font-size: 18px!important;
        margin-bottom: 16px!important;
        line-height: 1.5!important
    }

}
.founder-box1 {
    margin: auto;
    padding: 0px 40px 30px 40px;
    position: relative;
}
.hero {
    /*margin: 30px 6%;*/
    padding: 110px 40px;
    border-radius: 28px;
    text-align: center;
    color: #fff;
    background: linear-gradient( 270deg, #ff6b6b, #6bcBef, #1dd1a1, #feca57, #ff9ff3 );
    background-size: 600% 600%;
    animation: bannerGradient 14s ease infinite;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

@keyframes bannerGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    max-width: 850px;
    margin: auto;
    animation: fadeUp 1.5s ease both;
}

.hero-text {
    font-size: 20px;
    line-height: 1.7;
    margin: 20px auto;
    letter-spacing: 0.5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Condensed';
}

body {
    background-image: url('../images/bg12.jpg');
    background-attachment: unset !important;
    /*background:linear-gradient(rgba(250,244,241,1), rgba(255,255,255,0.9)),
             url('../Welfare/Photos/soc111.jpg');
  background-size:cover;
  background-attachment:fixed;
  background-position:center;
  color:#333*/
}

/* Section glass effect over background */
section {
    padding: 70px 20px;
    /*background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 18px;
    /*margin: 40px 6%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);*/
}

/* NAVBAR */
nav {
    position: sticky;
    top: 0;
    /* background: rgba(255,255,255,0.15); */
    /* backdrop-filter: blur(10px); */
    -webkit-backdrop-filter: blur(10px);
    /* padding: 15px 8%; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.05); */
    z-index: 1000;
    /*border-bottom: 1px solid rgba(255,255,255,0.25);*/
}

    nav .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

        nav .logo img {
            height: 40px;
            width: auto;
            border-radius: 6px;
        }

        nav .logo span {
            color: #2c3e50;
            font-weight: 600;
            font-size: 20px;
        }
    /* menu removed */
    nav ul li a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: 0.3s;
    }

        nav ul li a:hover {
            color: #ff6b6b;
        }

.donate-btn {
    background: #ff6b6b;
    color: #fff;
    padding: 8px 18px;
    border-radius: 25px;
}

/* HERO */
.hero {
    position: relative;
    height: 70vh;
    /*margin: 30px 6%;*/
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-slides {
    position: absolute;
    inset: 0;
    /*z-index: -2;*/
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

    .hero-slide.active {
        opacity: 1;
    }

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55));
    z-index: -1;
}

.providing_one_shaape_one {
    position: absolute;
    bottom: 28px;
    right: 59px;
}

    .providing_one_shaape_one img {
        animation-name: btnIconMove;
        animation-iteration-count: infinite;
        animation-duration: 5s;
        animation-timing-function: linear;
    }

/* Hero Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: .3s;
}

    .hero-arrow:hover {
        background: #ff6b6b;
        transform: translateY(-50%) scale(1.1);
    }

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero h1 {
    font-size: 58px;
    margin-bottom: 20px;
    animation: titleReveal 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: .5px;
}

.hero p {
    max-width: 680px;
    margin: auto;
    margin-bottom: 25px;
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    background: #ff6b6b;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn:hover {
        background: #ff5252;
        transform: translateY(-2px);
    }

section {
    /*padding: 60px 4.5%;*/
}

.section-title {
    font-family: 'Roboto Condensed';
    text-align: center;
    margin-bottom: 30px;
}

    .section-title h2 {
        font-size: 34px;
        color: #2c3e50;
        margin-bottom: 10px;
    }

    .section-title p {
        color: #1b7f5b;
    }

/* CARDS */
.cards {
    display: grid;
     
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 40px;
    margin-top: 40px;
    text-align: center;
}

.card {
    /*background: #fff;*/
    background: url(../Welfare/Photos/pt1.jpg);
    border-radius: 18px;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
    overflow: hidden;
    transition: 0.35s;
}

    .card img {
        width: 82%;
        height: 350px;
        object-fit: cover;
        padding-top: 2px;
        border-radius: 18px;
    }

.card-content {
    padding: 18px;
}

.card h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 24px;
}

.card p {
    font-size: 18px;
    color: #666;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Welfare Sections */
.welfare-section {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.welfare-text h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 28px;
}

.welfare-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.icon-list { /*display:grid;*/
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 15px;
    margin-top: 15px;
}
.maintitle::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #1b7f5b;
    margin-top: 6px;
    border-radius: 3px;
}
.icon-item {
    padding: 12px; /*background:#fff;border-radius:12px;box-shadow:0 5px 15px rgba(0,0,0,0.08);*/
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    font-size:18px;
}

    .icon-item i {
        color: #ff6b6b;
        font-size: 25px;
    }

    .icon-item:hover {
        transform: translateY(-5px);
    }

/* Masonry Gallery */
.imageg-row {
    column-count: 5;
    column-gap: 22px;
    margin-top: 26px;
}

.image-row {
    column-count: 4;
    column-gap: 22px;
    margin-top: 26px;
}

@media(max-width:992px) {
    .imageg-row {
        column-count: 4;
    }
}

@media(max-width:600px) {
    .imageg-row {
        column-count: 2;
    }
}

@media(max-width:992px) {
    .image-row {
        column-count: 2;
    }
}

@media(max-width:600px) {
    .image-row {
        column-count: 1;
    }
}

.gallery-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 22px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    transition: 0.35s;
}

    .gallery-item img {
        width: 100%;
        display: block;
        padding: 10px;
   
    border-color: #1b7f5b!important;
    border-radius: 14px;
    background: #fff;
    }

    .gallery-item:hover {
        transform: translateY(-6px);
    }

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    font-weight: 600;
    opacity: 0;
    transition: 0.35s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.subimag {width: 240px;
    height: 240px;
    margin: auto;
    border-radius: 240px;
    overflow: hidden;
    padding: 10px;
    border: 2px dashed;
    color: var(--color-primary) !important;
}

/* SLIDER */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slides {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
}

    .slide img {
        width: 100%;
        height: 420px;
        object-fit: cover;
         padding: 10px;
    /*border: 2px dashed;
    border-color: #1b7f5b!important;*/
    border-radius: 14px;
    background: #fff;
    }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

footer {
    color: white;
    text-align: center;
    margin-top: 40px;
}

.animate {
    /*opacity: 0;*/
    transform: translateY(40px);
    transition: all 0.8s ease;
}

    .animate.show {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== Little Animations ===== */
/* Nav underline hover */
nav ul li a {
    position: relative;
}

    nav ul li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: #ff6b6b;
        transition: width .3s ease;
    }

    nav ul li a:hover::after {
        width: 100%;
    }

/* Button subtle pulse */
.btn {
    position: relative;
    overflow: hidden;
}

    .btn:hover {
        box-shadow: 0 10px 22px rgba(255,107,107,.35);
    }

/* Icon gentle pulse */
@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

.icon-item i {
    animation: iconPulse 2.8s ease-in-out infinite;
}

/* Card image zoom on hover */
.card img {
    transition: transform .5s ease;
}

.card:hover img {
    transform: scale(1.06);
}

/* Floating shapes in hero */
.hero {
    position: relative;
    overflow: hidden;
}

    .hero::before, .hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(40px);
        opacity: .35;
        animation: float 10s ease-in-out infinite;
    }
/*.hero::before{width:220px;height:220px;left:10%;top:20%}
.hero-content::after{width:260px;height:260px;background:#6bcBef;right:10%;bottom:10%;animation-delay:2s}*/
@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Gallery overlay slight zoom */
.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item img {
    transition: transform .5s ease;
}

/* Slider hover lift */
.slider {
    transition: transform .35s ease, box-shadow .35s ease;
}

    .slider:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(0,0,0,0.2);
    }


/* Title Animation */
@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
        letter-spacing: 2px;
    }

    60% {
        opacity: 1;
        transform: translateY(-6px);
        letter-spacing: 1px;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0;
    }
}

/* Transparent hero overlay for better text visibility */
.hero {
    background: linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),url('../Welfare/Photos/banner3.jpg');
    background-size: cover;
    background-position: center;
}


/* ===== Attractive Section Subtitles ===== */
.edu-title {
    font-family: 'Roboto Condensed';
    font-size: 30px;
    color: #1b7f5b;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    animation: fadeUp 1s ease both;
}

    .edu-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 60%;
        height: 3px;
        background: #ff6b6b;
        border-radius: 3px;
    }

.social-title {
    font-family: 'Roboto Condensed';
    font-size: 30px;
    color: #1b7f5b;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: slideIn 1s ease both;
}

    .social-title::after {
        content: "";
        display: block;
        width: 50px;
        height: 3px;
        background: #1b7f5b;
        margin-top: 6px;
        border-radius: 3px;
    }

.medical-title {
    font-family: 'Roboto Condensed';
    font-size: 30px;
    color: #1b7f5b;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    animation: zoomIn 1s ease both;
}

   
    .medical-title::after {
        content: "";
        display: block;
        width: 70px;
        height: 3px;
        background: #c0392b;
        margin-top: 6px;
        border-radius: 3px;
    }

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* ===== Gradient Text Animation ===== */
.gradient-text {
    background: linear-gradient(90deg, #8BC34A, #ffec47, #6bcBef, #66f1cc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 100% 100%;
    animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Decorative icons beside titles */
.title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.title-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.icon-edu {
    background: #ec2b2c;
}

.icon-social {
    background: #1b7f5b;
}

.icon-med {
    background: #c0392b;
}
.welfare-text p {  font-size: 20px;
}

/* Typing subtitle */
.typing {
    font-size: 20px;
    color: #1b7f5b;
    margin-top: 6px;
      margin-bottom: 20px;
    min-height: 30px;
    letter-spacing: .5px;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #777;
    margin-left: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%,50%,100% {
        opacity: 1;
    }

    25%,75% {
        opacity: 0;
    }
}


/* ===== PREMIUM NGO ADDITIONS ===== */

/* Impact Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 30px;
    text-align: center;
}

.stat-card {
    background: linear-gradient(135deg,#ff6b6b,#ff9f43);
    color: #fff;
    padding: 40px 20px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: .35s;
}

    .stat-card h3 {
        font-size: 35px;
        margin-bottom: 8px;
    }

    .stat-card:hover {
        transform: translateY(-8px);
    }

/* Donation CTA */
.donation-cta {
    text-align: center;
    /*background-image: url(../Welfare/Photos/back2.jpg);*/
    /*background: linear-gradient(120deg, #09cc7f, #78c9ed);*/
    /*background-color:peru;*/
    color: #fff;
    padding: 80px 30px;
    border-radius: 28px;
}

    .donation-cta h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .donation-cta p {
        margin: auto;
        margin-bottom: 25px;
        font-size: 22px;
        color: #003C3C;
    }

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.testimonial {
    background: #fff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
}

    .testimonial::before {
        content: 10d;
        font-family: 'Roboto Condensed';
        font-weight: 900;
        position: absolute;
        top: -12px;
        left: 18px;
        color: #ff6b6b;
        font-size: 26px;
    }

    .testimonial h4 {
        margin-top: 15px;
        color: #2c3e50;
    }

/* Floating Donate Button */
@keyframes pulseDonate {
    0% {
        box-shadow: 0 0 0 0 rgba(255,107,107,.5);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(255,107,107,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,107,107,0);
    }
}

.impact-section {
    padding: 70px 20px;
    /*background: linear-gradient(135deg,#fff7ed,#e0f2fe,#ecfdf5);*/
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

.stat-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .4s ease;
}

    .stat-card i {
        font-size: 38px;
        margin-bottom: 15px;
        color: #ffc107;
    }

    .stat-card:nth-child(2) i {
        color: #dc3545;
    }

    .stat-card:nth-child(3) i {
        color: #198754;
    }

    .stat-card:hover {
        transform: translateY(-12px) scale(1.05);
        box-shadow: 0 25px 50px rgba(0,0,0,.15);
    }

.counter {
    font-size: 46px;
    font-weight: 700;
    margin: 10px 0;
    color: #111827;
}

/* ===== Voices of Change Premium Slider ===== */
.testimonials-section {
    /*background: url(../Welfare/Photos/home2.png)no-repeat;*/
    background-size: cover;
    text-align: center;border-radius: 28px;
}

.voices-title {
    font-size: 40px;
    background: linear-gradient(90deg,#ff6b6b,#6bcBef,#1dd1a1);
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientMove 6s ease infinite;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-track {
    position: relative;
    width: 100%;
    min-height:160px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    /*background: #fff;
    padding: 40px 35px;*/
    /*border-radius: 22px;
            box-shadow: 0 18px 45px rgba(0,0,0,0.12);*/
    opacity: 0;
    transform: translateX(60px) scale(.95);
    transition: all .7s ease;
    font-family: 'Roboto Condensed';
}

    .testimonial-card.active {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    .testimonial-card p {
        font-size: 20px;
        line-height: 1.7;
        color: #374151;
        margin-bottom: 18px;
    }

    .testimonial-card h4 {
        font-family: 'Roboto Condensed';
        color: #ff6b6b;
        font-weight: 600;
    }

.title-effect {
    width: 50px;
    height: 50px;
    top: 0;
    position: absolute;
    left: 0;
    opacity: 0.2;
    animation: rotation 12.8s steps(1) 0s infinite;
}

.test-arrow {
    background: #09cc7f;
    border: none;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
    transition: .3s;
}

    .test-arrow:hover {
        background: #ff6b6b;
        color: #fff;
        transform: scale(1.1);
    }

    .test-arrow.prev {
        margin-right: 15px;
    }

    .test-arrow.next {
        margin-left: 15px;
    }

/* ===== Voices of Change Premium Animation ===== */
.voices-section {
    background: linear-gradient(135deg,#fff1f2,#ecfeff,#f0fdf4);
    position: relative;
    overflow: hidden;
}

.voices-title {
    font-family: 'Roboto Condensed';
    font-size: 40px;
    animation: fadeUp 1.2s ease both;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 35px;
}

.voice-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .4s ease;
    position: relative;
    overflow: hidden;
}

    .voice-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg,#ff6b6b22,#6bcBef22,#1dd1a122);
        opacity: 0;
        transition: .4s;
    }

    .voice-card:hover::before {
        opacity: 1;
    }

    .voice-card:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 30px 60px rgba(0,0,0,.15);
    }

.voice-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
    background: linear-gradient(135deg,#ff6b6b,#6bcBef);
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.voice-card p {
    color: #555;
    line-height: 1.7;
    font-size: 18px;
}

.voice-card h4 {
    margin-top: 18px;
    color: #2c3e50;
    font-weight: 600;
}
