
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #93c5fd;
    --secondary: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
    --success: #10b981;
    --indigo: #4f46e5;
    --orange: #f97316;
    --teal: #0d9488;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.hindi {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    background-color: white !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.donate-btn {
    background: linear-gradient(135deg, var(--orange), #ea580c);
    border: none;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 0 6rem;
    color: white;
    position: relative;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns .btn {
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    margin: 0.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-btns .btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.hero-btns .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.hero-btns .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Section Styling */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* About Section */
.about-section {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about-section:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), white);
    z-index: 0;
    border-radius: 50% 0 0 50%;
    transform: scale(1.5);
}

.about-img {
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.about-img:hover {
    transform: scale(1.02);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

/* Features Section */
.features-section {
    background-color: white;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), white);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Programs Section */
.programs-section {
    background-color: #f8fafc;
}

.program-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.program-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: all 0.5s ease;
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

.program-body {
    padding: 2rem;
}

.program-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.program-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.program-meta i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.program-meta span {
    margin-right: 1.5rem;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--indigo), var(--primary));
    color: white;
    position: relative;
    overflow: hidden;
}

.impact-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/diagonal-striped-brick.png');
    opacity: 0.05;
    z-index: 1;
}

.impact-content {
    position: relative;
    z-index: 2;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.impact-label {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.impact-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Donation Section */
.donation-section {
    background-color: white;
}

.donation-card {
    background: linear-gradient(135deg, #f0f9ff, white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.donation-option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.donation-option:hover {
    border-color: var(--primary);
    background-color: #f8fafc;
}

.donation-option.active {
    border-color: var(--primary);
    background-color: #f0f9ff;
}

.donation-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 1.5rem;
    min-width: 80px;
}

.donation-benefits {
    font-size: 0.9rem;
    color: #64748b;
}

.donation-btn {
    background: linear-gradient(135deg, var(--orange), #ea580c);
    border: none;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.donation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f8fafc;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    margin: 1rem;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--primary-light);
    font-family: serif;
    line-height: 1;
    z-index: 1;
    opacity: 0.3;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #475569;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--primary-light);
}

.author-info h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-section {
    background-color: white;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.gallery-item img {
    transition: all 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Partners Section */
.partners-section {
    background-color: #f8fafc;
}

.partner-logo {
    height: 80px;
    margin: 0 auto;
    display: block;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/diagonal-striped-brick.png');
    opacity: 0.1;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-btns .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    margin: 0.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btns .btn-light {
    background-color: white;
    color: var(--primary);
}

.cta-btns .btn-light:hover {
    background-color: rgba(255,255,255,0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

.cta-btns .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Footer */

.footer {
    background-color: var(--dark);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer:before {
  
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary), var(--orange));
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-about {
    margin-bottom: 2rem;
}

.footer-about p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #334155;
    color: white;
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.footer-links h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 0.5rem;
    color: var(--primary-light);
    font-size: 0.8rem;
}

.footer-newsletter input {
    background-color: #334155;
    border: none;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-newsletter input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.footer-newsletter input::placeholder {
    color: #94a3b8;
}

.footer-newsletter button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .about-section:before {
        width: 60%;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 6rem 0 4rem;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-section:before {
        display: none;
    }
    
    .donation-card {
        padding: 2rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-btns .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .impact-number {
        font-size: 2.5rem;
    }
    
    .impact-label {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}
