/* Program Card Wrapper - BASE STYLES for all devices */
.keyareas{
    margin-top: 50px;
    margin-bottom: 10px;
}
.key-program-card {
    background-color: #0ea2b0;
    color: #000000;
    border: 2px solid #1f0c0c;
    border-radius: 10px;
    padding: 25px 20px;
    height: 100%;
    min-height: 350px;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

/* Headings */
.key-program-card h4 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

/* Description */
.key-program-card p {
    font-size: 15px;
    color: #000000;
    line-height: 1.5;
    margin-top: auto;
}

/* Icon Circle - BASE STYLES */
.round-icon {
    width: 75px;
    height: 75px;
    background-color: #ffffff;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin: 15px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Inside Icon - BASE STYLES */
.round-icon img {
    width: 55px;
    height: 55px;
    
    object-fit: contain;
}

/* Remove margin issues */
.key-program-card br {
    line-height: 0;
}
.key-program-card:hover  {
    background-color: white;
    border-color: black;
    color:black
}

/* Hover Effect - DESKTOP ONLY 
    .key-program-card:hover {
        background-color: #0ea2b0;
        border-color: #0ea2b0;
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }
    
    .key-program-card:hover h4,
    .key-program-card:hover p {
        color: #ffffff;
    }
    
    .key-program-card:hover .round-icon {
        background-color: #ffffff;
    }*/

/* ========== DESKTOP VIEW (992px and above) ========== */
@media (min-width: 992px) {
    .key-program-card {
        min-height: 320px;
        padding: 30px 25px;
    }
    
    .key-program-card h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .key-program-card p {
        font-size: 16px;
    }
    
    .round-icon {
        width: 85px;
        height: 85px;
        margin: 20px auto;
    }
    
    .round-icon img {
        width: 60px;
        height: 60px;
    }
}

/* ========== TABLET VIEW (768px to 991px) ========== */
@media (min-width: 768px) and (max-width: 991px) {
    .key-program-card {
        min-height: 320px;
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .key-program-card h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .key-program-card p {
        font-size: 15px;
    }
    
    .round-icon {
        width: 80px;
        height: 80px;
        margin: 15px auto;
    }
    
    .round-icon img {
        width: 55px;
        height: 55px;
    }
}

/* ========== MOBILE VIEW (767px and below) ========== */
@media (max-width: 767px) {
    .keyareas{
        margin-top: 150px;
        margin-bottom: 10px;
    }
    .key-program-card {
        min-height: 280px;
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .key-program-card h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .key-program-card p {
        font-size: 14px;
    }
    
    .round-icon {
        width: 70px;
        height: 70px;
        margin: 10px auto;
    }
    
    .round-icon img {
        width: 50px;
        height: 50px;
    }
}

/* ========== SMALL MOBILE (576px and below) ========== */
@media (max-width: 576px) {
    .key-program-card {
        min-height: 250px;
        padding: 15px 10px;
    }
    
    .key-program-card h4 {
        font-size: 15px;
    }
    
    .key-program-card p {
        font-size: 13px;
    }
    
    .round-icon {
        width: 65px;
        height: 65px;
    }
    
    .round-icon img {
        width: 45px;
        height: 45px;
    }
}
/*---- Our Promise to Society Section ----*/
/*.happy{
    margin-left:25%;
    background-color:black;
    color:white;
    height:180px;
    width:200px;
    border-radius:10px;
    padding:4%;
}
.happytext{
    padding-top:1%;
}
.happyicon{
    margin-top:5%;
}
.happyimage{
    margin-left:25%;
    width:200px;
    border-radius:10px;
}
.thriv{
    background-color:#0ea2b0;
    color:white;
    height:180px;
    width:200px;
    border-radius:10px;
    padding:4%;
}
.thrivicon{
    margin-top:5%;
}*/
/* Shared Styling for Info Cards */
/*.welcome{
    padding-top: 20px;
    padding-bottom: 10px;
    background-color:#f5f5f5;
}
.happy,
.thriv {
    width: 100%;
    max-width: 200px;
    height: auto;
    min-height: 170px;
    color: white;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 15%; 
}


.happy {
    background-color: black;
}
.thriv {
    background-color: #0ea2b0;
}


.happyicon,
.thrivicon {
    width: 45px;
    height: auto;
    margin-bottom: 6px;
}


.happytext {
    font-size: 22px;
    font-weight: bold;
}

.happyimage {
    width: 100%;
    max-width: 200px;
    border-radius: 12px;
    margin: 5px auto;
    display: block;
}


@media (max-width: 992px) {
    .happy, .thriv {
        max-width: 180px;
        min-height: 160px;
    }
    .happyimage {
        max-width: 180px;
    }
}


@media (max-width: 576px) {
    .happy, .thriv {
        max-width: 180px;
        min-height: 160px;
        padding: 6px;
        margin-top:10px;
    }
    .happytext {
        font-size: 18px;
    }
    
}*/
/* Container global spacing */
#welcome {
    padding: 50px 0;
}



.stats-card1 {
    width: 100%;
    max-width: 200px;
    min-height: 160px;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.stats-card1, 
.stats-image {
    width: 100%;
    height: auto;
    max-width: none !important;
}
.stats-card1 img.stats-icon {
    width: 45px;
    margin-bottom: 8px;
}

.stats-number1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}


.happy {
    background-color: #000;
    color: #ffffff;
}

.thriv {
    background-color: #0ea2b0;
    color: #ffffff;
}


.stats-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin: 10px auto;
}





.section-text {
    font-size: 15px;
    margin-bottom: 15px;
}


/* Bullet list items */
.info-icon {
    width: 30px;
    height: auto;
    margin-right: 12px;
}
 .info-text {
    text-align: left;
    }
.info-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 700;
}

.info-text p {
    margin: 0;
    font-size: 14px;
}


/* ------------------- Responsive Breakpoints ------------------- */

/* Tablet */
@media (max-width: 992px) {

    

    .stats-card1,
    .stats-image {
        max-width: 180px;
    }

    .section-desc {
        font-size: 24px;
    }

    .info-text h4 {
        font-size: 15px;
    }
}


/* Large Mobile */
@media (max-width: 768px) {

    .stats-card1,
    .stats-image {
        max-width: 160px;
    }

    .row.align-items-center {
        text-align: center;
    }

    .info-text h4 {
        font-size: 14px;
    }
}


/* Small Mobile */
@media (max-width: 576px) {

    .stats-card1,
    .stats-image {
        margin-bottom: 15px;
    }
    .stats-number {
    font-size: 20px;
    }
    .section-desc {
        text-align: center;
        font-size: 20px;
    }

    .info-icon {
        margin: auto;
        margin-bottom: 5px;
    }
     .info-text {
    text-align: center;
    }
    .col-12.d-flex {
        flex-direction: column;
        text-align: center;
    }
}
/*-- Founder Section Styles --*/
.founder2 {
    background: #ffffff;
    padding: 50px 0;
}

.founder-img2 {
    max-width: 400px;
    border-radius: 12px;
}

.text-primary {
    color: #0ea2b0 !important;
}

.donate-btn2 {
    background-color: #0ea2b0;
    border-radius: 40px;
    color: white;
    padding: 10px 25px;
    font-weight: 600;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .founder-img2 {
        max-width: 300px;
        margin-top: 20px;
    }
    #founder2 h1 {
        font-size: 1.8rem;
    }
}
@media (max-width: 350px) {
    .founder-img2 {
        max-width: 300px;
    }
}
/* CSS Grid Layout for Events */
.community-events-section {
    background-color: #f8fafc;
    padding: 5rem 1rem;
}


/* Section Header - Using Flexbox */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}



.section-subtitle {
    font-size: 1rem;
    color: #1f252e;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* Events Grid - CSS Grid Layout */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Event Card - Using Flexbox */
.event-card {
    
    background: white;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid #ded7d7;
}

.event-card:hover{
    
    background: #0ea2b0;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    
}


/* Event Image - Fixed Aspect Ratio */
.event-image {
    width: 100%;
    height: 260px;
    padding:10px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    border:1px solid #c4c8cb;
    border-radius:10px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.02);
}

/* Event Content - Flex Grow for Equal Heights */
.event-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: black;
}


.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    min-height: 3.5rem;
}

.event-description {
    color: #475569;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    font-size: 0.95rem;
}
.event-card:hover .event-title,
.event-card:hover .event-description {
    color: white;
}
/* Section Footer - Using Flexbox */
.section-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-more-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.view-more-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.view-more-btn:active {
    transform: translateY(0);
}

.view-more-btn svg {
    transition: transform 0.3s ease;
}

.view-more-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .community-events-section {
        padding: 1rem ;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .event-image {
        height: 240px;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .event-title {
        font-size: 1.125rem;
        min-height: auto;
    }
}

@media (max-width: 500px) {
     .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .event-image {
        height: 200px;
    }
}

/* Alternative Layout: Masonry Grid */
.events-grid.masonry-layout {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: auto;
    grid-gap: 1.5rem;
}

.events-grid.masonry-layout .event-card {
    height: auto;
}

/* Alternative Layout: Centered Flexbox */
.events-grid.flex-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.events-grid.flex-layout .event-card {
    flex: 0 1 calc(33.333% - 2rem);
    min-width: 300px;
}

@media (max-width: 1024px) {
    .events-grid.flex-layout .event-card {
        flex: 0 1 calc(50% - 2rem);
    }
}

@media (max-width: 640px) {
    .events-grid.flex-layout .event-card {
        flex: 0 1 100%;
    }
}
/*----- Get Involved Section------- */
.get-involved-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/new.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
    display: flex;
    align-items: center;
}


/* Actions Grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/*
.action-card {
    background: white;
    border: 2px solid rgba(14, 162, 176, 0.3);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0ea2b0, #4fd1c7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card.highlight {
    border-color: rgba(14, 162, 176, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(14, 162, 176, 0.2);
}

.action-card.highlight::before {
    opacity: 1;
}

.action-card:hover {
    border-color: rgba(14, 162, 176, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.action-card:hover::before {
    opacity: 1;
}


.action-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.2);
}


.action-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: black;
}
.action-card:hover .action-title {
    color: white;   
}


.action-description {
    color: black;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 0.95rem;
}
.action-card:hover .action-description {
    color: white;   
}

.action-btn {
    display: inline-block;
    background: #0ea2b0;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}


*/


/* Action Cards */
.action-card {
    background: white;
    border: 2px solid rgba(14, 162, 176, 0.3);
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #0ea2b0, #4fd1c7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card.highlight {
    border-color: rgba(14, 162, 176, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(14, 162, 176, 0.2);
}

.action-card.highlight::before {
    opacity: 1;
}

.action-card:hover {
    border-color: rgba(14, 162, 176, 0.8);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.action-card:hover::before {
    opacity: 1;
}

/* Action Icon */
.action-icon {
    font-size: 3.5rem;
   
    display: inline-block;
    transition: transform 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.2);
}

/* Action Title */
.action-title {
    font-size: 1.2rem;
    font-weight: 700;
   
    color: black;
}
.action-card:hover .action-title {
    color: white;  
}

/* Action Description */
.action-description {
    color: black;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 0.85rem;
}
.action-card:hover .action-description {
    color: white;  
}
/* Action Button */
.action-btn {
    display: inline-block;
    background: #0ea2b0;
    color: white;
    padding: 7px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}




.action-btn:hover {
    background: transparent;
    border-color: #0ea2b0;
    color: #0ea2b0;
    transform: translateY(-2px);
}



/* Responsive Design */
@media (max-width: 1024px) {
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .get-involved-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-card {
        padding: 30px 20px;
    }
    
    .action-card.highlight {
        transform: none;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .action-title {
        font-size: 1.3rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.action-card {
    animation: fadeInUp 0.6s ease forwards;
}

.action-card:nth-child(1) { animation-delay: 0.1s; }
.action-card:nth-child(2) { animation-delay: 0.2s; }
.action-card:nth-child(3) { animation-delay: 0.3s; }
.action-card:nth-child(4) { animation-delay: 0.4s; }

.gi-wrap {
    position: relative;
}
.get-involved-section {
 
    padding-bottom: 120px; /* makes space for overlap */
     z-index: 1;
}

.counter-section {
    position: absolute;
    bottom: -180px; /* adjusts vertical overlap */
    left: 50%;
    transform: translateX(-50%);
    
    width: 90%;
    background: #0ea2b0; /* or your gradient */
    padding: 30px 20px;
    border-radius: 15px;
    color: #fff;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.counter-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}
.counter-icon img {
    width: 55px !important;
    height: 55px !important;
    object-fit: contain;
}

/* Counter item style */
.counter-item {
    text-align: center;
}

.counter-item h3 {
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.counter-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}



/* Mobile & Tablet Fix */
@media (max-width: 991px) {
    .counter-section {
        position: static;
        transform: none;
        width: 100%;
        border-radius: 0;
        margin-top: -20px;
        padding: 25px 15px;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .get-involved-section {
        padding-bottom: 60px;
    }

    .counter-item {
        width: 100%;
    }

    .counter-item h3 {
        font-size: 1.4rem;
    }

    .counter-item p {
        font-size: 0.85rem;
    }

    .counter-icon {
        width: 60px;
        height: 60px;
    }

    .counter-icon img {
        width: 45px !important;
        height: 45px !important;
    }
}

/* Small Mobile: Narrow devices */
@media (max-width: 480px) {
    .counter-section {
        gap: 20px;
        padding: 20px 10px;
    }

    .counter-item h3 {
        font-size: 1.2rem;
    }

    .counter-icon {
        width: 55px;
        height: 55px;
    }

    .counter-icon img {
        width: 40px !important;
        height: 40px !important;
    }
}

/*------ Testimonials Section ------*/
/* === Testimonial Slider (independent, no Bootstrap carousel) === */

.testimonial-section {
    background: #f8f9fa;
    padding-top: 200px;
    padding-bottom: 60px;
}

/* Slider wrapper */
.ts-slider {
    position: relative;
    overflow: hidden;
}

/* Track that moves left/right */
.ts-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* Each slide = 100% width, containing 2 cards */
.ts-slide {
    flex: 0 0 100%;
    display: flex;
    gap: 20px;
}

/* Testimonial cards */
.ts-card {
    flex: 1;
    background: #ffffff;
    border-radius: 15px;
    padding: 24px;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.08);
}

/* Header: image + text */
.ts-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.ts-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.ts-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.ts-role {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.ts-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* Navigation arrows */
.ts-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    color: #0ea2b0;
}

.ts-prev { left: 15px; }
.ts-next { right: 15px; }

/* Dots */
.ts-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.ts-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
}

.ts-dots button.active {
    background: #0ea2b0;
}

/* === Mobile Responsive === */
@media (max-width: 767px) {
    .testimonial-section {
    padding-top:20px;
    padding-bottom: 40px;
}

    .ts-slide {
        flex-direction: column;    /* stack two cards */
    }

    .ts-card {
        padding: 18px;
    }

    .ts-nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* Footer */
.footer-logo {
    max-width: 80px;
    
}

.footer-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #00d4e6;
    text-align:left;
}

.footer-links {
    list-style: disc inside;
    padding-left: 0;
    text-align:left;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00d4e6;
    padding-left: 5px;
}

/* Social Icons */
.footer-social a {
    width: 34px;
    height: 34px;
    background: #222;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: #00d4e6;
    font-size: 15px;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #00d4e6;
    color: #fff;
}

/* Office box */
.footer-office {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-office img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-office {
        flex-direction: row;
        align-items: flex-start;
    }

    .footer-section {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 576px) {
    .footer-office img {
        
        width: 45px;
        height: 45px;
    }

    footer p, footer a {
        font-size: 12px;
    }

    .footer-title {
        font-size: 15px;
    }
}




/*------About Speech Page------*/
/* Apply only to your image + text section */
.content-section .row {
    align-items: stretch;
}

.content-section .col-md-7 {
    flex: 2;
}

.content-section .col-md-5 {
    flex: 1;
    display: flex;
    align-items: center;
}

.content-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* Tablet + Mobile */
@media (max-width: 991px) {
   

    .content-section .col-md-5 {
        margin-top: 15px;
    }
}

.content-section img {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    object-fit: cover; /* Ensures image doesn’t distort */
    border-radius: 8px;
    display: block;
}
@media (max-width: 768px) {
    .content-section img {
        height: auto; /* natural height */
        margin-bottom: 15px;
    }
}
@media (max-width: 1024px) {
    .history img {
        height: auto; /* natural height */
    }
    .history{
        line-height:1.2;
        padding:5px;
        margin-bottom:10px;
    }
    .nanayam-content img {
        height: 500px; /* natural height */
    }
    .nanayam-content{
        line-height:1.2;
        padding:5px;
        margin-bottom:10px;
    }
}
.history{
   
    margin-bottom:20px;
    padding:20px;
    background-color:#f5f5f5;
    border-radius:10px;
}
.nanayam-content{
    margin-bottom:20px;
    padding:20px;
    background-color:#f5f5f5;
    border-radius:10px;
}
/* Image responsiveness */
.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Keeps good visual crop */
    border-radius: 8px;
}

/* Make image height match text height on large screens */
@media (min-width: 992px) {
    .col-md-5 .responsive-img {
        margin-top: 5px;
        height: 95%;
        max-height: 650px; /* optional limit */
    }
     

   
}

/* Mobile adjustments */
@media (max-width: 768px) {
   

        .col-md-5 {
            margin-top: 50px;
        }

    .responsive-img {
        
         height: 95%; /* Ensures no crop */
    }
}


/*------Board Members Page------*/
      .board-section {
            padding: 40px 0;
        }
        .member-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
            margin-bottom: 25px;
        }
        .member-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.15);
        }
        .member-img-container {
            position: relative;
            overflow: hidden;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }
        .member-card img {
              width: 100%;
            /*height: 250px;
            object-fit: cover;*/
            height: auto;
            max-height: 250px; /* adjust based on design */
            object-fit: contain;
            object-position: top; /* show head fully */
            border-radius: 10px;
            background-color: #fff;
            transition: transform 0.5s;
        }
        .member-card:hover img {
            transform: scale(1.05);
        }
        .member-card .card-body {
            text-align: left;
            padding: 1.5rem;
        }
        .member-card .card-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #004080;
            margin-bottom: 1rem;
        }
        .member-card p {
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }
        .contact-link {
            color: #004080;
            text-decoration: none;
            transition: color 0.3s;
        }
        .contact-link:hover {
            color: #00264d;
            text-decoration: underline;
        }
        /*------Our team Page------*/
        .profile-card1 {
        display: flex;
        align-items: center;
        background: white;
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 30px;
        margin: 40px 0;
    }
    .profile-image1 {
        flex: 0 0 300px;
        margin-right: 30px;
    }
    .profile-image1 img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
    }
    .profile-info1 {
        flex: 1;
    }
    .profile-title1 {
        color: #004080;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 10px;
    }
    .profile-name1 {
        color: #004080;
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 5px;
    }
    .profile-position1 {
        color: #666;
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 5px;
    }
    .profile-organization1 {
        color: #888;
        font-size: 1.1rem;
    }

    .staff-section {
        padding: 40px 0;
    }
    .staff-header {
        text-align: center;
        margin-bottom: 40px;
    }
    .staff-header h2 {
        color: #004080;
        font-weight: 700;
        margin-bottom: 10px;
    }
    .staff-header h5 {
        color: #666;
        font-weight: 600;
    }
    .staff-card {
        border: none;
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        height: 100%;
        margin-bottom: 25px;
    }
    .staff-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    }
    .staff-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    .staff-card .card-body {
        padding: 1.5rem;
    }
    .staff-card h5 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #004080;
        margin-bottom: 1rem;
    }
    .staff-card p {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    @media (max-width: 768px) {
        .profile-card1 {
            flex-direction: column;
            text-align: center;
        }
        .profile-image1 {
            flex: none;
            margin-right: 0;
            margin-bottom: 20px;
        }
        .profile-image1 img {
            height: 220px;
        }
    }
    /*--------Our Founders Page-------*/
    .founder-section {
      padding: 60px 0;
      background-color: #f9f9f9;
    }
    .founder-img {
      width: 100%;
      border-radius: 15px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .btn-donate {
      background-color: #00b3b3;
      color: white;
      border: none;
      padding: 10px 25px;
      border-radius: 25px;
      transition: 0.3s;
      text-align:center;
    }
    .btn-donate:hover {
      background-color: #009999;
    }

/*------Themes Page------*/
 .section-title1 {
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: #2a4d69;
      position: relative;
      display: block;
      text-align: center;
    }
    
    .section-title1::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 35%;
      width: 30%;
      height: 4px;
      background: #1b6ca8;
      border-radius: 2px;
    }
    .theme-card {
    background: #ffffff;
    border: 2px solid #e6f4f5;
    transition: 0.3s ease;
}
.theme-card:hover {
    transform: translateY(-8px);
    background: #0ea2b0;
    color: white;
    border-color: #0ea2b0;
}
.theme-card .theme-icon {
    font-size: 38px;
    color: #0ea2b0;
}
.theme-card:hover .theme-icon {
    color: #ffffff;
}
    
 
    
    .stats-card {
      background: white;
      border-radius: 15px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      padding: 30px 20px;
      transition: all 0.3s ease;
      border: none;
      text-align: center;
      height: 100%;
    }
    
    .stats-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }
    
    .impact-number {
      font-size: 2.5rem;
      font-weight: bold;
      color: #1b6ca8;
      margin: 15px 0;
      display: block;
    }
    
    .model-card {
      border: none;
      border-radius: 15px;
      overflow: hidden;
      transition: all 0.3s ease;
      height: 100%;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }
    
    .model-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
    
    .model-icon {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #1b6ca8;
    }
    
    .timeline-RR {
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .timeline-RR::after {
      content: '';
      position: absolute;
      width: 6px;
      background-color: #1b6ca8;
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -3px;
    }
    
    .timeline-item {
      padding: 10px 40px;
      position: relative;
      width: 50%;
      box-sizing: border-box;
    }
    
    .timeline-item::after {
      content: '';
      position: absolute;
      width: 25px;
      height: 25px;
      right: -13px;
      background-color: white;
      border: 4px solid #1b6ca8;
      top: 15px;
      border-radius: 50%;
      z-index: 1;
    }
    
    .left {
      left: 0;
    }
    
    .right {
      left: 50%;
    }
    
    .right::after {
      left: -13px;
    }
    
    .timeline-content {
      padding: 20px 30px;
      background-color: white;
      position: relative;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .timeline-content h3 {
      color: #1b6ca8;
      margin-top: 0;
    }
    
    .impact-section {
      background: linear-gradient(135deg, #1b6ca8 0%, #2a4d69 100%);
      color: white;
      padding: 80px 0;
    }
    
    
    .impact-badge {
      display: inline-block;
      background: rgba(255,255,255,0.2);
      padding: 8px 20px;
      border-radius: 30px;
      margin: 5px;
      font-size: 0.9rem;
    }
    
    /*footer {
      background: #2a4d69;
      color: white;
      padding: 40px 0;
      text-align: center;
    }*/
    
    .nav-pills .nav-link.active {
      background-color: #1b6ca8;
    }
    
    .phase-content {
      display: none;
    }
    
    .phase-content.active {
      display: block;
      animation: fadeIn 0.5s ease;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .counter {
      font-size: 2.5rem;
      font-weight: bold;
      color: #1b6ca8;
    }
    
    @media screen and (max-width: 768px) {
      .theme-hero h1 {
        font-size: 2.2rem;
      }
      
      .timeline-RR::after {
        left: 31px;
      }
      
      .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
      }
      
      .timeline-item::after {
        left: 18px;
      }
      
      .right {
        left: 0;
      }
    }
    @media screen and (max-width: 1025px) {
    /* Stats and models stack nicely */
  .stats-card,
  .model-card {
    height: auto;
    margin-bottom: 20px;
  }
  .impact-number {
    font-size: 2rem;
  }
}

    /* 📲 Very small phones (≤576px) */
@media screen and (max-width: 576px) {
  .theme-hero {
    padding: 80px 10px 60px;
  }

  .theme-hero h1 {
    font-size: 1.6rem;
  }

  .impact-number {
    font-size: 1.8rem;
  }

  .section-title::after {
    width: 50%;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}
/*--------Current Partners Page-------*/

        .section-title2 {
            font-weight: 700;
            color: #1e4b78;
            margin-bottom: 25px;
            text-transform: uppercase;
            letter-spacing: .5px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .section-title2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            
            width: 60px;
            height: 3px;
            background: #4CAF50;
        }
        .center-title:after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .focus-card {
            border-left: 4px solid #2c5aa0;
            transition: transform 0.3s ease;
            height: 100%;
        }
        
        .focus-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        .partner-card {
            background: white;
            border-radius: 8px;
            padding: 25px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            border: 1px solid #eaeaea;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .partner-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-color: #2c5aa0;
        }
        
        .partner-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background-color: rgba(44, 90, 160, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: #2c5aa0;
            font-size: 1.8rem;
        }
        
        .impact-stat {
            text-align: center;
            padding: 10px;
            border-radius: 8px;
            background-color: #f8f9fa;
            margin-bottom: 20px;
        }
        
        .impact-stat i {
            font-size: 2.5rem;
            color: #2c5aa0;
            margin-bottom: 15px;
        }
        
        .impact-stat .number {
            font-size: 2rem;
            font-weight: bold;
            color: #e63946;
        }
        
        .block-badge {
            background-color: #2c5aa0;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            margin: 5px;
            display: inline-block;
        }
        
        .timeline-cp {
            position: relative;
            padding-left: 30px;
            margin-top: 30px;
        }
        
        .timeline-cp:before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background-color: #2c5aa0;
        }
        
        .timeline-cp-item {
            position: relative;
            margin-bottom: 30px;
        }
        
        .timeline-cp-item:before {
            content: '';
            position: absolute;
            left: -36px;
            top: 5px;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-color: #d4af37;
            border: 3px solid #2c5aa0;
        }
        
        
        
        .partner-category {
            font-size: 0.85rem;
            color: #2c5aa0;
            font-weight: 600;
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        @media (min-width: 992px) {
    .col-lg-3 {
        padding-right: 2px;
    }
}

/*------ Past Prorams Page------*/
        .section-header {
            
            padding-left: 20px;
            margin-bottom: 40px;
        }
        
        .timeline-pp {
            position: relative;
            padding: 40px 0;
        }
        
        .timeline-pp::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, #007bff, #28a745);
            transform: translateX(-50%);
        }
        
        .timeline-pp-item {
            margin-bottom: 50px;
            position: relative;
        }
        
        .timeline-pp-content {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .impact-card {
            transition: transform 0.3s ease;
            height: 100%;
        }
        
        .impact-card:hover {
            transform: translateY(-5px);
        }
        
        .program-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: none;
            border-top: 4px solid #007bff;
            height: 100%;
        }
        
        .icon-container {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }

 /*-------- Where We Work Page-------*/
 .where-hero-section {
            background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
            color: black;
            padding: 30px 0;
            position: relative;
            overflow: hidden;
            margin-bottom:30px;
        }
        
        .where-hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #ffffff;
            opacity: 0.1;
        }
        .card-hover {
            transition: all 0.3s ease;
            border: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            height: 100%;
        }
        
        .card-hover:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .stat-card {
            background: white;
            border-radius: 10px;
            padding: 10px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        }
        
        .stat-number {
            font-size: 1.7rem;
            font-weight: 700;
            color: #3498db;
            margin-bottom: 0.5rem;
        }
        .stat-label{
            font-size: 1rem;
            color: #7f8c8d;
        }
        
        .program-badge {
            font-size: 0.8rem;
            margin: 2px;
        }
        
        .block-card {
            border-left: 4px solid #3498db;
            transition: all 0.3s ease;
        }
        
        .block-card:hover {
            border-left-color: var(--accent);
        }
        
        .timeline-where {
            position: relative;
            padding-left: 1.2rem;
        }
        
        .timeline-where::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background-color: #3498db;
            border-radius: 2px;
        }
        
        .timeline-where-item {
            position: relative;
            margin-bottom: 2rem;
            padding-left: 2rem;
        }
        
        .timeline-where-item::before {
            content: '';
            position: absolute;
            left: -1.5rem;
            top: 0.5rem;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #3498db;
            border: 3px solid white;
            box-shadow: 0 0 0 3px #3498db;
        }
        
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        .highlight-text {
            background: linear-gradient(120deg, #3498db 0%, #e74c3c 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 700;
        }
       /*-------- Who We Are Page-------*/
.who-hero-section {
            background: linear-gradient(135deg, #1e4b78 0%, #2c7fb8 100%);
            color: white;
            padding: 80px 0;
        }
        
        
        
        .section-title.text-center:after {
            left: 50%;
            transform: translateX(-50%);
        }
        
        .icon-circle {
            width: 70px;
            height: 70px;
            background: #eef6ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: #1e4b78;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }
        
        .section-box {
            background: #fff;
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            margin-bottom: 30px;
            transition: all 0.3s ease;
            height: 100%;
            border-top: 4px solid transparent;
        }
        
        .section-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
            border-top: 4px solid #4CAF50;
        }
        
        .section-box:hover .icon-circle {
            background: #1e4b78;
            color: white;
            transform: scale(1.1);
        }
        
        .partner-logo {
            height: 60px;
            margin: 10px 20px;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        
        .partner-logo:hover {
            opacity: 1;
        }
        
        .impact-number-who {
            font-size: 1.6rem;
            font-weight: bold;
            color: #1e4b78;
            line-height: 1;
        }
        
        .badge-custom {
            background: #1e4b78;
            color: white;
            margin: 3px;
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: 500;
        }
        
        .badge-light {
            background: #eef6ff;
            color: #333;
            margin: 3px;
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: 500;
        }
        
        .stats-box {
            text-align: center;
            padding: 15px;
            border-radius: 10px;
            background: white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        
        .stats-box:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.12);
        }
        
        .list-icon {
            color: #4CAF50;
            margin-right: 8px;
        }
        
        
        
        .partner-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
        }
        
        .partner-item {
            padding: 12px 15px;
            background: #eef6ff;
            white-space: normal;
             width: 100%; 
            border-radius: 8px;
            transition: all 0.2s ease;
        }
        
        .partner-item:hover {
            background: #1e4b78;
            color: white;
        }
        @media (max-width: 1024px) {
    .partner-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
        gap: 10px;
    }

    .partner-item {
        padding: 10px 12px;
        font-size: 0.7rem;
        white-space: normal; 
        width: 100%;         
        box-sizing: border-box;
    }
}
        /* For mobile screens */
@media (max-width: 768px) {

    .who-hero-section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .icon-circle {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin: 0 auto 15px auto;
    }

    .section-box {
        padding: 10px;
        
    }

    .partner-logo {
        height: 45px;
        margin: 10px;
    }

    .impact-number-who {
        font-size: 1.8rem;
    }

    .stats-box {
        padding: 10px;
    }

    .badge-custom,
    .badge-light {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }
}
@media (max-width: 575px) {

    .who-hero-section {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 1.35rem;
        padding-bottom: 8px;
    }

    .section-title:after {
        width: 45px;
    }

    .icon-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .section-box {
        padding: 15px;
        margin-bottom: 20px;
    }

    .impact-number-who {
        font-size: 1.5rem;
    }

    .partner-logo {
        height: 40px;
    }

    .partner-grid {
        grid-template-columns: 1fr; /* Single column for small mobiles */
    }

    .partner-item {
        text-align: center;
        padding: 12px;
    }

    .stats-box {
        padding: 12px;
    }
}
/* ============================
   Our Milestone Section Styles
   ============================ */
.milestone {
    padding: 60px 0;
}

.milestone-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.img-mile {
    padding-top: 40px;
    max-width: 100%;
    height: 600px;         
    object-fit: contain;  
}


/* ============================
   Tablet Responsive (max 1024)
   ============================ */
@media (max-width: 1024px) {

    .milestone {
        padding: 40px 0;
    }

    .milestone-text {
        font-size: 1rem;
    }

    .img-mile {
        height: 500px;     
        padding-top: 20px;
    }
}


/* ============================
   Mobile Responsive (max 768)
   ============================ */
@media (max-width: 768px) {

    .milestone {
        padding: 30px 0;
    }

    .milestone-text {
        font-size: 0.95rem;
        text-align: center;
    }

    .img-mile {
        height: auto;     
        padding-top: 20px;
    }
}


/* ============================
   Small Mobile (max 575)
   ============================ */
@media (max-width: 575px) {

    .milestone {
        padding: 20px 0;
    }

    .milestone-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .img-mile {
        width: 100%;
        height: auto;
        padding-top: 15px;
    }
}
/*-------- Impact Stories Page-------*/
.impact-stories {
            background-color: #bdd9f4;
        }
        
        
        
        .story-card {
            background: #fff;
            border-radius: 10px;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
            position: relative;
            overflow: hidden;
        }
        
        .story-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
            border-left: 4px solid #4CAF50;
        }
        
        .story-card::before {
            content: "";
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 60px;
            color: #eef6ff;
            font-family: Georgia, serif;
            line-height: 1;
            z-index: 0;
        }
        
        .story-name {
            color: #1e4b78;
            font-weight: 600;
            margin-bottom: 5px;
            position: relative;
            z-index: 1;
        }
        
        .story-role {
            font-size: 0.9rem;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .story-text {
            color: #333;
            line-height: 1.6;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .story-quote {
            font-style: italic;
            color: #2c7fb8;
            border-left: 3px solid #4CAF50;
            padding-left: 15px;
            margin-top: 15px;
            position: relative;
            z-index: 1;
        }
        
        .story-icon {
            width: 50px;
            height: 50px;
            background: #eef6ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #1e4b78;
            margin-bottom: 15px;
        }
        
        .story-stats {
            background: #1e4b78;
            color: white;
            padding: 60px 0;
            margin-top: 50px;
        }
        
        .stat-number-impact {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .stat-label-impact {
            font-size: 1rem;
            opacity: 0.9;
        }
        .story-highlight {
            background: linear-gradient(135deg, #1e4b78 0%, #2c7fb8 100%);
            color: white;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
        }

   /*---------Significant Achievement page ---------- */
        #significant-achievement {
            background: linear-gradient(135deg, #1e4b78 0%, #2c7fb8 100%);
            color: white;
            border-radius: 0 0 30px 30px;
            margin-bottom: 40px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        
        
        
        .achievement-text {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 25px;
            text-align: left;
            padding: 0 15px;
            position: relative;
        }
        
        .achievement-text::before {
            content: "✓";
            color: #4CAF50;
            font-weight: bold;
            margin-right: 10px;
            font-size: 1.3rem;
        }
        
        /* Timeline Section Styling */
        
        
        .timeline-sig-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .timeline-sig-container::after {
            content: '';
            position: absolute;
            width: 6px;
            background: linear-gradient(to bottom, #1e4b78, #2c7fb8);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
            border-radius: 10px;
        }
        
        .timeline-item-sig {
            padding: 10px 40px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
            margin-bottom: 30px;
        }
        
        .timeline-item-sig::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            right: -13px;
            background-color: white;
            border: 4px solid #1e4b78;
            top: 20px;
            border-radius: 50%;
            z-index: 1;
            transition: all 0.3s ease;
        }
        
        .timeline-item-sig:hover::after {
            background-color: #4CAF50;
            transform: scale(1.2);
            box-shadow: 0 0 0 5px rgba(76, 175, 80, 0.2);
        }
        
        .left1 {
            left: 0;
        }
        
        .right1 {
            left: 50%;
        }
        
        .left1::before {
            content: " ";
            height: 0;
            position: absolute;
            top: 25px;
            width: 0;
            z-index: 1;
            right: 30px;
            border: medium solid white;
            border-width: 10px 0 10px 10px;
            border-color: transparent transparent transparent white;
        }
        
        .right1::before {
            content: " ";
            height: 0;
            position: absolute;
            top: 25px;
            width: 0;
            z-index: 1;
            left: 30px;
            border: medium solid white;
            border-width: 10px 10px 10px 0;
            border-color: transparent white transparent transparent;
        }
        
        .right1::after {
            left: -13px;
        }
        
        .timeline-content-sig {
            padding: 25px 30px;
            background-color: white;
            position: relative;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border-left: 4px solid #1e4b78;
        }
        
        .timeline-content-sig:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.15);
        }
        
        .timeline-period-sig {
            font-weight: bold;
            color: #1e4b78;
            margin-bottom: 10px;
            font-size: 1rem;
            display: inline-block;
            padding: 5px 15px;
            background-color: #eef6ff;
            border-radius: 20px;
        }
        
        .timeline-title-sig {
            font-size: 1.35rem;
            color: #333;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .timeline-desc-sig {
            color: #555;
            line-height: 1.7;
            margin-bottom: 0;
        }
        
        
        
        /* Responsive Adjustments */
        @media screen and (max-width: 768px) {
            .timeline-sig-container::after {
                left: 31px;
            }
            
            .timeline-item-sig {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item-sig::before {
                left: 60px;
                border: medium solid white;
                border-width: 10px 10px 10px 0;
                border-color: transparent white transparent transparent;
            }
            
            .left1::after, .right1::after {
                left: 18px;
            }
            
            .right1 {
                left: 0%;
            }
            
            .achievement-text {
                text-align: left;
                padding-left: 30px;
            }
            
            .achievement-text::before {
                position: absolute;
                left: 0;
            }
        }
        
        /* Animation for timeline items */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .timeline-item-sig {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .timeline-item-sig:nth-child(1) { animation-delay: 0.1s; }
        .timeline-item-sig:nth-child(2) { animation-delay: 0.3s; }
        .timeline-item-sig:nth-child(3) { animation-delay: 0.5s; }
        .timeline-item-sig:nth-child(4) { animation-delay: 0.7s; }     

        
        .publication-header-section {
            background: linear-gradient(135deg, #2c5aa0, #1a3a6e);
            color: white;
            padding: 3rem 0;
            margin-bottom: 2rem;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .publication-card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 6px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s, box-shadow 0.3s;
            
            margin-top:30px;
            
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
        }
        
        .publication-card.animate {
            animation: fadeInUp 0.8s ease forwards;
        }
        
        .publication-card.fade-left {
            transform: translateX(-50px);
        }
        
        .publication-card.fade-left.animate {
            animation: fadeInLeft 0.8s ease forwards;
        }
        
        .publication-card.fade-right {
            transform: translateX(50px);
        }
        
        .publication-card.fade-right.animate {
            animation: fadeInRight 0.8s ease forwards;
        }
        
        .publication-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.15);
        }
        
        .card-publication-header {
            background-color: #2c5aa0;
            color: white;
            padding: 1.2rem 1.5rem;
            border-bottom: none;
            border-radius: 12px 12px 0 0 !important;
        }
        
        .card-publication-body {
            padding: 1.8rem;
        }
        
        .section-publication-number {
            display: inline-block;
            background-color: #ffc107;
            color: #333;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            text-align: center;
            line-height: 36px;
            font-weight: bold;
            margin-right: 10px;
        }
        
        .publication-highlight-box {
            background-color: #fff9e6;
            border-left: 4px solid #ffc107;
            padding: 1.2rem;
            border-radius: 0 8px 8px 0;
            margin: 1.5rem 0;
        }
        
        /* Animation Keyframes */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Stagger animation delays */
        .publication-card:nth-child(1) { animation-delay: 0.1s; }
        .publication-card:nth-child(2) { animation-delay: 0.2s; }
        .publication-card:nth-child(3) { animation-delay: 0.3s; }
        .publication-card:nth-child(4) { animation-delay: 0.4s; }
        .publication-card:nth-child(5) { animation-delay: 0.5s; }
        
        @media (max-width: 768px) {
            .publication-header-section {
                padding: 2rem 0;
            }
            
            .card-publication-body {
                padding: 1.2rem;
            }
            
            /* On mobile, use only fadeInUp for all cards */
            .publication-card.fade-left,
            .publication-card.fade-right {
                transform: translateY(30px);
            }
            
            .publication-card.fade-left.animate,
            .publication-card.fade-right.animate {
                animation: fadeInUp 0.8s ease forwards;
            }
        }
         /*---------------Donate Page---------- */
        .donate-hero1 {
            background: linear-gradient(135deg, rgba(30,79,161,0.85), rgba(40,167,69,0.8)),
                url('../images/donate.jpg') center/cover;
            padding: 140px 0;
            text-align: center;
            color: #fff;
            position: relative;
            overflow: hidden;
        }
        .donate-hero1::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.3);
        }
        @keyframes wave {
            0% { transform: translateX(0) translateY(0); }
            50% { transform: translateX(-20px) translateY(5px); }
            100% { transform: translateX(0) translateY(0); }
        }
        .donate-hero1 h1 { 
            font-weight: 800; 
            text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
        }

        /* Floating elements */
        .floatingdon {
            animation: floatingdon 3s ease-in-out infinite;
        }
        @keyframes floatingdon {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
            100% { transform: translateY(0px); }
        }

        /* Donation Cards */
        .donation-card1 {
            background: #fff;
            border-radius: 16px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: 0.4s;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        .donation-card1::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: 0.5s;
        }
        .donation-card1:hover::before {
            left: 100%;
        }
        .donation-card1:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }

        .card-icon-don { 
            font-size: 3rem; 
            margin-bottom: 1rem; 
            display: inline-block;
        }
        .donation-card1 h4 { color: #1e4fa1; }

        /* Info Boxes */
        .bank-box, .upi-box {
            background: #fff;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: 0.3s;
            position: relative;
            overflow: hidden;
        }
        .bank-box::before, .upi-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: #28a745;
            transform: scaleY(0);
            transition: transform 0.3s;
        }
        .bank-box:hover::before, .upi-box:hover::before {
            transform: scaleY(1);
        }
        .bank-box:hover, .upi-box:hover {
            transform: translateY(-5px);
        }

        /* Center the bank details */
        .bank-box p {
            font-size: 1.1rem;
            transition: transform 0.3s;
        }
        .bank-box:hover p {
            transform: translateX(5px);
        }

        .qr-img {
            width: 180px;
            border-radius: 10px;
            transition: 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .qr-img:hover { 
            transform: scale(1.05) rotate(2deg);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .btn-primary-custom1 {
            background: #1e4fa1;
            color: white;
            border-radius: 8px;
            padding: 10px 25px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
            border: none;
        }
        .btn-primary-custom1::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: 0.5s;
        }
        .btn-primary-custom1:hover::before {
            left: 100%;
        }
        .btn-primary-custom1:hover { 
            background: #153a80; 
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }


        /* Pulse animation for important elements */
        .pulseupi {
            animation: pulseupi 2s infinite;
        }
        @keyframes pulseupi {
            0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
            100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
        }

        /* Confetti animation */
        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: #f00;
            opacity: 0.7;
            animation: confetti-fall 5s linear infinite;
        }
        @keyframes confetti-fall {
            0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
            100% { transform: translateY(1000px) rotate(360deg); opacity: 0; }
        }

        @media (max-width: 768px) {
            .donate-hero1 { padding: 100px 0; }
        }
    



