/* Improved version of your CSS with enhancements */
        :root {
            --primary: #2c3e50;
            --secondary: #e74c3c;
            --light: #ecf0f1;
            --dark: #1a252f;
            --accent: #3498db;
            --transition: all 0.3s ease;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
            --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            line-height: 1.6;
            color: #333;
            background: #f9f9f9;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        h1, h2, h3, h4 {
            color: var(--primary);
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        p {
            margin-bottom: 1.25rem;
            color: #555;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* Accessibility Improvements */
        :focus {
            outline: 3px solid var(--accent);
            outline-offset: 3px;
        }

        .skip-link {
            position: absolute;
            left: -10000px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
            background: var(--primary);
            color: white;
            padding: 10px;
            z-index: 9999;
        }

        .skip-link:focus {
            position: static;
            width: auto;
            height: auto;
        }

        /* Layout Components */
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .section {
            padding: 5rem 0;
            position: relative;
        }

        .section-title {
            text-align: center;
            margin-bottom: 2.5rem;
            position: relative;
            font-size: 2.25rem;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            margin: 1rem auto 0;
            transition: var(--transition);
        }

        .section-title:hover::after {
            width: 100px;
        }

        /* Buttons - Enhanced with better hierarchy */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--secondary);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 5px;
            text-decoration: none;
            transition: var(--transition);
            border: 2px solid DodgerBlue;
            cursor: pointer;
            font-weight: 600;
            text-align: center;
            box-shadow: var(--shadow-sm);
            position: relative;
            overflow: hidden;
        }

        .btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: 0.5s;
        }

        .btn:hover {
            background: white;
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            
            color:DodgerBlue;
        }

        .btn:hover::after {
            left: 100%;
        }

        .btn-login {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            margin-left: 1rem;
            padding: 0.6rem 1.25rem;
        }

        .btn-login:hover {
            background: white;
            color: solid DodgerBlue;
            border-color: var(--primary);
        }

        .btn-outline {
            background: DodgerBlue;
            color: white;
            border: 2px solid var(--secondary);
        }

        .btn-outline:hover {
            background: white;
            color: DodgerBlue;
        }

        .btn-read {
            color: var(--secondary);
            text-decoration: none;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-top: 1rem;
            transition: var(--transition);
            
        }

        .btn-read:hover {
            color: #c0392b;
            gap: 8px;
        }

        .btn-read i {
            transition: var(--transition);
        }

        /* Header - Enhanced with better mobile experience */
        .header {
            background: white;
            box-shadow: var(--shadow-sm);
            position: fixed;
            width: 100%;
            z-index: 1000;
            transition: var(--transition);
            backdrop-filter: blur(5px);
            background-color: rgba(255, 255, 255, 0.95);
        }

        .header.scrolled {
            box-shadow: var(--shadow-md);
            padding: 0.5rem 0;
        }

        .header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: var(--transition);
        }

        .logo:hover {
            color: var(--secondary);
        }

        .logo img {
            height: 2.5rem;
            transition: var(--transition);
        }

        .logo:hover img {
            transform: rotate(-5deg);
        }

        .navbar {
            display: flex;
            align-items: center;
        }

        .navbar a {
            margin-left: 1.5rem;
            text-decoration: none;
            color: var(--primary);
            font-weight: 500;
            transition: var(--transition);
            position: relative;
            padding: 0.5rem 0;
        }

        .navbar a:hover {
            color: var(--secondary);
        }

        .navbar a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }

        .navbar a:hover::after {
            width: 100%;
        }

        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
            color: var(--primary);
            transition: var(--transition);
            padding: 0.5rem;
        }

        .menu-toggle:hover {
            color: var(--secondary);
            transform: scale(1.1);
        }

        /* Hero Section - More engaging */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero-bg.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            height: 100vh;
            min-height: 600px;
            display: flex;
            align-items: center;
            text-align: center;
            color: white;
            padding-top: 80px;
            position: relative;
        }

        .hero::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(transparent, var(--light));
            z-index: 1;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
            padding: 2rem;
            animation: fadeInUp 1s ease;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            margin-bottom: 2.5rem;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
            color: white;
            line-height: 1.5;
        }

        .hero p {
            font-size: clamp(1rem, 2vw, 1.3rem);
            margin-bottom: 2rem;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            color:white;
        }

        .hero .btn {
            margin: 0 0.5rem;
        }

        /* Cards - More polished */
        .card {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            margin: 0.5rem;
            text-align: center;
            transition: var(--transition);
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--secondary);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        .card i {
            font-size: 2.5rem;
            color: var(--secondary);
            margin-bottom: 1.5rem;
            transition: var(--transition);
        }

        .card:hover i {
            transform: scale(1.1) rotate(5deg);
        }

        .card h3 {
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .mission-vision, .program-cards {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
        }

        .mission-vision .card, .program-cards .card {
            flex: 1 1 300px;
            max-width: 400px;
        }

        /* About Section */
        .about {
            background: var(--light);
            position: relative;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(var(--light), transparent);
            z-index: 1;
        }

        /* Programs Section */
        .programs .card {
            min-height: 300px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
        }

        /* Blog Section - Improved layout */
        .blog-posts {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .blog-posts .card {
            text-align: left;
            padding: 0;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .blog-posts img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: var(--transition);
        }

        .blog-posts .card:hover img {
            transform: scale(1.05);
        }

        .blog-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-date {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
            display: block;
        }

        /* Testimonials Section - More engaging */
        .testimonials {
            background: var(--light);
            position: relative;
            overflow: hidden;
        }

        .testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(transparent, var(--light));
            z-index: 1;
        }

        .slider {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
            padding: 2rem 0;
        }

        .slide {
            display: none;
            text-align: center;
            padding: 1rem;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .slide.active {
            display: block;
        }

        .slide img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1.5rem;
            border: 5px solid white;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .slide.active img {
            animation: bounceIn 0.6s ease;
        }

        @keyframes bounceIn {
            0% { transform: scale(0.8); opacity: 0; }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); opacity: 1; }
        }

        .slide p {
            font-style: italic;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            position: relative;
            padding: 0 1rem;
        }

        .slide p::before,
        .slide p::after {
            content: '"';
            color: var(--secondary);
            font-size: 1.5rem;
            line-height: 0;
            vertical-align: middle;
        }

        .slide p::before {
            margin-right: 5px;
        }

        .slide p::after {
            margin-left: 5px;
        }

        .slide h4 {
            color: var(--secondary);
            font-weight: 600;
        }

        .slider-nav {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            gap: 1rem;
        }

        .slider-nav button {
            background: var(--primary);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-sm);
        }

        .slider-nav button:hover {
            background: var(--secondary);
            transform: scale(1.1);
        }

        .slider-dots {
            display: flex;
            justify-content: center;
            margin-top: 1.5rem;
            gap: 0.75rem;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ccc;
            cursor: pointer;
            transition: var(--transition);
        }

        .dot.active {
            background: var(--secondary);
            transform: scale(1.2);
        }

        /* Registration Section - More inviting */
        .registration {
            background: var(--primary);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .registration::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(transparent, var(--primary));
            z-index: 1;
        }

        .registration h2 {
            color: white;
            position: relative;
            z-index: 2;
        }

        .form {
            max-width: 600px;
            margin: 2rem auto;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: var(--shadow-lg);
            position: relative;
            z-index: 2;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--dark);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
        }

        .form-group select {
            appearance: none;
            background: url('data:image/svg+xml;utf8,<svg fill="%232c3e50" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat;
            background-position: right 1rem center;
            background-color: white;
        }

        /* Donation Section - More prominent */
        .donate {
            background: var(--light);
        }

        .donation-options {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
            align-items: center;
        }

        .btn-donate {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 5px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 600;
            box-shadow: var(--shadow-sm);
        }

        .btn-donate:hover {
            background: #c0392b;
            transform: translateY(-3px) scale(1.05);
            box-shadow: var(--shadow-md);
        }

        #custom-amount {
            padding: 0.75rem 1rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            width: 150px;
            text-align: center;
            transition: var(--transition);
        }

        #custom-amount:focus {
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
        }

        #paypal-button {
            width: 100%;
            max-width: 300px;
            margin: 2rem auto 0;
        }

        /* Login Modal - More polished */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background: white;
            margin: 1rem;
            padding: 2rem;
            width: 90%;
            max-width: 400px;
            border-radius: 10px;
            position: relative;
            box-shadow: var(--shadow-lg);
            animation: slideDown 0.4s ease;
        }

        @keyframes slideDown {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .close {
            position: absolute;
            top: 1rem;
            right: 1.25rem;
            font-size: 1.8rem;
            cursor: pointer;
            color: #666;
            transition: var(--transition);
            line-height: 1;
        }

        .close:hover {
            color: var(--secondary);
            transform: rotate(90deg);
        }

        /* Footer - More comprehensive */
        .footer {
            background: var(--dark);
            color: white;
            padding: 4rem 0 2rem;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100px;
            background: linear-gradient(var(--dark), transparent);
            z-index: 1;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
            position: relative;
            z-index: 2;
        }

        .footer-logo {
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            display: inline-block;
            color: white;
        }

        .footer-about p {
            margin-bottom: 1.5rem;
            opacity: 0.8;
            line-height: 1.7;
        }

        .footer-links h3 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-links h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--secondary);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
            display: inline-block;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 0.5rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--secondary);
            transform: translateY(-3px) rotate(5deg);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.7;
            font-size: 0.9rem;
            position: relative;
            z-index: 2;
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 50px;
            height: 50px;
            background: var(--secondary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            opacity: 0;
            visibility: hidden;
            z-index: 999;
            box-shadow: var(--shadow-md);
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: #c0392b;
            transform: translateY(-5px);
        }

        /* Mobile Responsiveness - Enhanced */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.8rem;
            }
            
            .section {
                padding: 4rem 0;
            }

            .mission-vision .card, .program-cards .card {
                flex: 1 1 100%;
                max-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background: white;
                box-shadow: var(--shadow-md);
                flex-direction: column;
                align-items: center;
                padding: 1rem 0;
                transform: translateY(-150%);
                transition: var(--transition);
                z-index: 999;
            }

            .navbar.active {
                transform: translateY(0);
            }

            .navbar a {
                margin: 0.75rem 0;
                padding: 0.5rem 1rem;
            }

            .menu-toggle {
                display: block;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .modal-content {
                margin: 10% auto;
                padding: 1.5rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .btn {
                padding: 0.75rem 1.25rem;
                font-size: 0.9rem;
            }

            .donation-options {
                flex-direction: column;
                align-items: center;
            }

            #custom-amount {
                width: 100%;
                max-width: 200px;
            }

            .back-to-top {
                width: 40px;
                height: 40px;
                bottom: 1rem;
                right: 1rem;
            }
        }

        /* Print Styles */
        @media print {
            .header, .footer, .btn, .back-to-top {
                display: none !important;
            }

            body {
                background: white !important;
                color: black !important;
                font-size: 12pt;
                line-height: 1.5;
            }

            .container {
                width: 100%;
                padding: 0.5in;
            }

            .section {
                padding: 0.25in 0 !important;
                page-break-inside: avoid;
            }

            a::after {
                content: " (" attr(href) ") ";
                font-size: 0.8em;
                font-weight: normal;
            }

            .card {
                box-shadow: none !important;
                border: 1px solid #ddd !important;
                page-break-inside: avoid;
            }
        }
