:root {
    --primary: #e40044;
    --secondary: #eb5a0e;
    --success: #009035;
    --warning: #ffec00;
    --dark: #211819;
}

.btn-primary {
    --bs-btn-bg: #e40044;
    --bs-btn-border-color: var(--bs-btn-bg);
    --bs-btn-hover-bg: var(--bs-btn-bg);
    --bs-btn-hover-border-color: var(--bs-btn-bg);
    --bs-btn-active-bg: var(--bs-btn-bg);
    --bs-btn-active-border-color: var(--bs-btn-bg);
    --bs-btn-disabled-bg: var(--bs-btn-bg);
    --bs-btn-disabled-border-color: var(--bs-btn-bg);
}


.btn-outline-primary {
    --bs-btn-color: #e40044;
    --bs-btn-border-color: #e40044;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e40044;
    --bs-btn-hover-border-color: #e40044;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e40044;
    --bs-btn-active-border-color: #e40044;
    --bs-btn-disabled-color: #e40044;
    --bs-btn-disabled-border-color: #e40044;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-title .title-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s both;
}

.animate-down {
    animation: fadeInDown 1s both;
}

.animate-left {
    animation: fadeInLeft 1s both;
}

.animate-right {
    animation: fadeInRight 1s both;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1s;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


@media (min-width:542px) {
    .scroll-text {
        color: var(--primary);
        background-color: var(--warning);
        font-family: initial;
        width: 100%;
        font-size: 30px;
        position: fixed;
        z-index: 3;
        height: 45px;
        overflow: hidden;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .scroll-text p {
        display: block;
        text-align: center;
        margin: 0;
    }

    .word {
        animation-name: text-right-to-left;
        animation-duration: 5s;
        position: relative;
        left: 100%;
        animation-fill-mode: forwards;
    }

    #word1 {
        animation-delay: 1s;
    }

    #word2 {
        animation-delay: 2s;
    }

    #word3 {
        animation-delay: 3s;
    }

    #word4 {
        animation-delay: 4s;
    }

    #word5 {
        animation-delay: 5s;
    }

    @keyframes text-right-to-left {
        from {
            left: 100%;
        }

        to {
            left: 0;
        }
    }

}

@media (max-width:542px) {
    .scroll-text {
        color: var(--primary);
        background-color: var(--warning);
        font-family: initial;
        width: 100%;
        font-size: 30px;
        position: fixed;
        z-index: 3;
        height: 45px;
        overflow: hidden;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .scroll-text p {
        display: inline-block;
        padding-left: 100%;
        animation: scroll-left-to-right 10s linear infinite;
        margin: 0;
    }

    @keyframes scroll-left-to-right {
        0% {
            transform: translateX(-00%);
        }

        100% {
            transform: translateX(-100%);
        }
    }
}



/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    padding: 45px 0px 0px;
}

/* Carousel container takes full width but height adjusts based on content */
.hero-carousel #heroCarousel {
    height: auto;
    min-height: 300px;
}

/* Carousel items - make them stack on mobile */
.hero-carousel .carousel-inner {
    height: auto;
}

/* Images should maintain aspect ratio and be clearly visible */
.hero-carousel .carousel-item img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    object-position: top;
}

/* Overlay - make it less opaque on mobile */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Reduce overlay darkness on mobile */
@media (max-width: 767.98px) {
    .carousel-overlay {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* Caption positioning */
.carousel-caption {
    position: relative;
    padding: 20px;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Text styles */
.carousel-caption h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.carousel-caption p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Button styles */
.btn-hero {
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.btn-hero-primary {
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: white;
}

.btn-hero-primary:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.btn-hero-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-outline:hover {
    background-color: white;
    color: var(--dark);
}

/* Mobile Content Section */
.mobile-carousel-content {
    background-color: #f8f9fa;
}

.mobile-slide {
    padding: 20px 0;
}

.mobile-slide h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.mobile-slide p {
    margin-bottom: 20px;
    color: #333;
}

.mobile-slide .btn {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {

    /* Desktop styles */
    .hero-carousel #heroCarousel {
        height: calc(100vh - 137.5px);
        min-height: 600px;
    }

    .hero-carousel .carousel-item {
        height: calc(100vh - 137.5px);
    }

    .hero-carousel .carousel-item img {
        height: 100%;
    }

    .carousel-caption {
        position: absolute;
        bottom: 20%;
        padding: 0 10%;
        background: transparent;
    }

    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
        max-width: 700px;
    }

    .btn-hero {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .carousel-caption h1 {
        font-size: 3.5rem;
    }
}




/* About Section Styles */
.about-section {
    background-color: white;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s;
}

.about-img:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
}

.about-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}



/* Missions Section Styles */
.mission-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mission-img {
    overflow: hidden;
}

.mission-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mission-card:hover .mission-img img {
    transform: scale(1.1);
}

.mission-content {
    padding: 25px;
}

.mission-content h3 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.mission-content h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.mission-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .mission-content {
        padding: 20px;
    }
}



/* Projects Section Styles */
.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s;
    background-color: white;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 250px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.project-content .badge {
    padding: 5px 10px;
    font-weight: 500;
    margin-bottom: 15px;
    display: inline-block;
}




/* Impact Stories Styles */
.impact-stories {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 0;
}

.impact-stories .section-title h2 {
    color: white;
}

.story-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s;
    border-left: 4px solid var(--primary);
}

.story-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.story-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.story-card .quote-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}






/* Get Involved Styles */
.get-involved {
    background-color: white;
}

.involved-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding-left: 20px;
    margin-bottom: 20px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

textarea.form-control {
    height: auto;
    padding-top: 15px;
}

.btn-submit {
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background-color: transparent;
    transform: translateY(-3px);
    border: 2px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .involved-form {
        padding: 30px;
    }
}


/* Wall of Fame Styles */
.fame-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.fame-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.fame-img {
    height: 200px;
    overflow: hidden;
}

.fame-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.fame-card:hover .fame-img img {
    transform: scale(1.1);
}

.fame-content {
    padding: 20px;
    text-align: center;
}

.fame-content h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.fame-content .role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.fame-content .quote {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.donation-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.donation-amount {
    flex: 1 0 calc(25% - 10px);
    min-width: 100px;
}

.donation-amount input[type="radio"] {
    display: none;
}

.donation-amount label {
    display: block;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.donation-amount input[type="radio"]:checked+label {
    background-color: var(--primary);
    color: white;
}

.donation-amount label:hover {
    background-color: #e9e9e9;
}

.custom-amount {
    margin-top: 20px;
}

.input-group-text {
    height: 50px;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .donation-form {
        padding: 30px;
    }

    .donation-amount {
        flex: 1 0 calc(50% - 10px);
    }
}

@media (max-width: 575.98px) {
    .donation-amount {
        flex: 1 0 100%;
    }
}




/* Get Help Section Styles */
.help-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.help-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(228, 0, 68, 0.3);
}

.help-badge i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.help-content h3 {
    font-weight: 600;
    color: var(--dark);
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.help-list li {
    padding: 8px 0;
    font-size: 1.1rem;
}

.help-actions {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .help-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .help-actions .btn.me-3 {
        margin-right: 0 !important;
    }

    .help-badge {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .help-badge i {
        font-size: 1.2rem;
    }
}


/* Contact Section Styles */
.contact-section {
    position: relative;
}

.contact-card {
    background: linear-gradient(135deg, rgba(228, 0, 68, 0.03) 0%, rgba(235, 90, 14, 0.03) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    padding: 2rem;
    height: 100%;
}

.contact-card h3 {
    color: var(--dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.address-icon {
    background: rgba(228, 0, 68, 0.1);
}

.address-icon i {
    color: var(--primary);
}

.phone-icon {
    background: rgba(235, 90, 14, 0.1);
}

.phone-icon i {
    color: var(--secondary);
}

.email-icon {
    background: rgba(0, 144, 53, 0.1);
}

.email-icon i {
    color: var(--success);
}

.clock-icon {
    background: rgba(255, 236, 0, 0.1);
}

.clock-icon i {
    color: var(--warning);
}

.contact-text h5 {
    color: var(--dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-text p {
    color: #555;
    margin-bottom: 0;
    line-height: 1.6;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .contact-item {
        margin-bottom: 1.2rem;
    }

    .icon-box {
        width: 45px;
        height: 45px;
        margin-right: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .contact-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .map-container {
        min-height: 350px;
    }
}


.height-50px {
    height: 50px;
}

.hindi {
    font-family: 'Poppins', sans-serif;
}

.free-section {
    z-index: 3;
    width: 100px;
    height: 100px;
    position: fixed;
    right: 30px;
    bottom: 120px;
}

.bg-jgo-yellow {
    background-color: #FCF259;
}

.call-buttons {
    max-height: 500px;
    overflow: auto;

}

.free-image {
    animation: blink 1s infinite;
    width: 100%;
}

.call-buttons::-webkit-scrollbar-track {
    background: var(--warning);
    /* scrollbar background */
}

.call-buttons::-webkit-scrollbar-thumb {
    background: var(--primary);
    /* draggable part */
}

/* For Firefox */
.call-buttons {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--warning);
    /* thumb color then track color */
}

.call-buttons {
    max-height: 500px;
    overflow: auto;
    background-color: #FCF259;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dropdown-call-buttons {
    width: 300px;
    text-wrap: wrap;
    box-sizing: border-box;
    display: block;
    word-break: break-word;
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: #fffbea;
    border-left: 5px solid #f6b93b;
    border-radius: 8px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.dropdown-call-buttons:hover {
    background-color: #fff1b5;
    color: #000;
    text-decoration: none;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-divider {
    border-top: 1px dashed #dc3545;
}


.video-box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    height: 170px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1050;
}

.video-box iframe {
    width: 100%;
    height: 100%;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    z-index: 1100;
}

.dropdown-toggle::after {
    display: none !important;
}