:root {
            --primary: #1a5276;
            --secondary: rgb(242, 169, 34);
            --accent: #27ae60;
            --light: #f9f9f9;
            --dark: #2c3e50;
            --text: #333333;
        }
       
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
       
        body {
            color: var(--text);
            background-color: var(--light);
            line-height: 1.6;
        }
       
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
       
        /* Header & Navigation */
        header {
            background-color: var(--light);
            color: rgb(0, 0, 0);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
       
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
       
        .logo {
            display: flex;
            align-items: center;
        }
       
        .logo h1 {
            font-size: 1.8rem;
            margin-left: 10px;
        }
       
        .logo-img {
            width: 50px;
            height: 50px;
            background-color: var(--secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            mix-blend-mode: lighten;
        }
       
        .nav-links {
            display: flex;
            list-style: none;
        }
       
        .nav-links li {
            position: relative;
            margin-left: 25px;
        }
       
        .nav-links a {
            color: rgb(0, 0, 0);
            text-decoration: none;
            font-weight: 100;
            transition: color 0.3s;
        }
       
        .nav-links a:hover {
            color: var(--secondary);
        }
       
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 200px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            z-index: 1;
            border-top: 3px solid var(--secondary);
        }
       
        .dropdown-content a {
            color: var(--dark);
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }
       
        .dropdown-content a:hover {
            background-color: #f1f1f1;
            color: var(--primary);
        }
       
        .dropdown:hover .dropdown-content {
            display: block;
        }
       
        .donate-btn {
            background-color: #04b2a1;
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: bold;
            text-transform: uppercase;
            text-decoration: none;
            transition: background-color 0.3s;
        }
       
        .donate-btn:hover {
            background-color: #d35400;
            color: white;
        }
        .left-nav{
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
        }
        .quest {
           display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px; 
        }
        .questions h3{
            color: #24a2c8;
        }

        .hamburger {
            display: none;
            color: #0056b3;
        }
       
        /* Hero Section */
       
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
        }
       
        .btn {
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
       
        .btn-primary {
            background-color: var(--secondary);
            color: white;
        }
       
        .btn-primary:hover {
            background-color: #d35400;
            transform: translateY(-3px);
        }
       
        .btn-secondary {
            background-color: transparent;
            color: white;
            border: 2px solid white;
        }
       
        .btn-secondary:hover {
            background-color: white;
            color: var(--primary);
            transform: translateY(-3px);
        }
       
        /* Section Styling */
        section {
            padding: 80px 0;
        }
       
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
       
        .section-title h2 {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
       
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background-color: var(--secondary);
            bottom: -10px;
            left: 25%;
        }
       
        .section-title p {
            max-width: 700px;
            margin: 0 auto;
            color: #666;
        }
       
        /* About Section */
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }
       
        .about-text {
            flex: 1;
        }
       
        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
       
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
       
        /* Programs Section */
        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
       
        .program-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }
       
        .program-card:hover {
            transform: translateY(-10px);
        }
       
        .program-img {
            height: 200px;
            background-color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
       
        .program-content {
            padding: 20px;
        }
       
        .program-content h3 {
            color: var(--primary);
            margin-bottom: 10px;
        }
       
        /* Impact Section */
        .impact-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            text-align: center;
            margin-bottom: 50px;
        }
       
        .stat-item {
            background-color: white;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
       
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 10px;
        }
       
        /* Stories Section */
        .stories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
       
        .story-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
       
        .story-img {
            height: 200px;
            aspect-ratio: 16/9;
        }
       
        .story-content {
            padding: 20px;
        }
       
        .story-content h3 {
            color: var(--primary);
            margin-bottom: 10px;
        }
       
        .read-more {
            color: var(--secondary);
            text-decoration: none;
            font-weight: 500;
            display: inline-block;
            margin-top: 15px;
        }
        .more {
            margin-top: 20px;
            text-align: center;
        }

       
        /* Testimonials */
        .testimonials {
            background-color: var(--primary);
            color: white;
        }
       
        .testimonial-slider {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
       
        .testimonial {
            padding: 30px;
        }
       
        .testimonial-text {
            font-style: italic;
            font-size: 1.2rem;
            margin-bottom: 20px;
        }
       
        .testimonial-author {
            font-weight: bold;
        }

         /* Partiners Section */
         .partiners{
            background-color: lightgray;
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-inline: 170px;
            padding-inline: 10px;
            padding: 20px;
            gap: 5px;
         }
         .our-partiners {
            text-align: center;
         }
         .our-partiners h1{
            color: #1a5276;
            background-color: lightcyan;
            margin-inline: 170px;
         }
       
        /* Donate Section */
        .donate-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
       
.donate-option p {
    margin-bottom: 25px;
}

        .donate-option {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
        }
       
        .donate-option h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }
       
        .payment-methods {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }
       
        .payment-method {
            width: 50px;
            height: 30px;
            background-color: #f1f1f1;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
        }
       
          /* Portfolio Section */
        .portfolio {
            padding: 100px 0;
        }
       
        .portfolio-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 40px;
        }
       
        .filter-btn {
            padding: 10px 20px;
            margin: 5px;
            background: var(--light);
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
       
        .filter-btn.active, .filter-btn:hover {
            background: var(--secondary);
            color: white;
        }
       
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
       
        .portfolio-item {
             background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
       
        .portfolio-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
       
        .portfolio-item:hover img {
            transform: scale(1.1);
        }
       
        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(44, 62, 80, 0.8);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            color: white;
            text-align: center;
            padding: 20px;
        }

         /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 0;
            padding: 0;
            border: none;
            width: 100%;
            height: 100%;
            border-radius: 0;
            box-shadow: none;
            display: flex;
            flex-direction: column;
        }

        .close {
            color: #aaa;
            position: absolute;
            top: 10px;
            right: 25px;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1001;
        }

        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
        }

        .modal-body {
            padding: 60px 20px 20px 20px;
            text-align: left;
            flex: 1;
            overflow-y: auto;
        }

        .modal-body img {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .modal-body h2 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 2rem;
        }

        .modal-body p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .modal-body span {
            color: var(--secondary);
            font-weight: bold;
            display: block;
            margin-bottom: 20px;
        }

         /* Contact Section */

         .contact-hero {
            background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 253, 253, 0.7)), url('IMG_0385.JPG') no-repeat center center/cover;
         }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
       
        .contact-info {
            display: flex;
            flex-direction: column;
        }
       
        .contact-detail {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }
       
        .contact-icon {
            width: 50px;
            height: 50px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 1.2rem;
            margin-right: 15px;
        }
       
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
       
        .contact-form textarea {
            height: 150px;
            resize: vertical;
        }

        /*event buttons*/
        .btn {
            display: inline-block;
            padding: 10px 20px;
            background: var(--secondary);
            color: white;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
        }
        .btn:hover { background: #c0392b; transform: translateY(-2px); }
        .btn-outline {
            background: transparent;
            border: 2px solid var(--secondary);
            color: var(--secondary);
        }
        .btn-outline:hover { background: var(--secondary); color: white; }
       
       
       /* Styles for the form elements */
        h2 {
            margin-top: 0;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: #555;
            font-weight: bold;
        }

        input[type="text"],
        input[type="email"] {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 16px;
        }

        input[type="text"]:focus,
        input[type="email"]:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        }

        .btn-footer {
            width: 100%;
            padding: 12px;
            background-color: rgb(92, 91, 91);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 18px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .btn-footer:hover {
            background-color: #0056b3;
        }

         /* Events Section */
       .events-section { padding: 60px 0; background: #f9f9f9; }
        .events-tabs { display: flex; margin-bottom: 30px; border-bottom: 1px solid #eee; }
        .events-tab {
            padding: 10px 20px;
            background: none;
            border: none;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            color: var(--gray);
        }
        .events-tab.active { color: var(--secondary); }
        .events-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--secondary);
        }
        .events-content { display: none; }
        .events-content.active { display: block; }
        .events-grid {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .event-card {
            display: block;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 0;
            position: relative;
            min-height: 180px;
            padding: 0;
        }
        .event-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
        .event-inline {
            display: flex;
            flex-direction: row;
            align-items: stretch;
        }
        .event-image {
            flex: 0 0 220px;
            height: 180px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f3f3f3;
        }
        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
            border-radius: 0;
        }
        .event-card:hover .event-image img { transform: scale(1.07); }
        .event-content {
            flex: 1 1 0;
            padding: 24px 24px 18px 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .event-date { display: flex; align-items: center; margin-bottom: 10px; color: var(--secondary); font-weight: 600; }
        .event-date i { margin-right: 8px; }
        .event-content h3 { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.4; }
        .event-content p { font-size: 0.97rem; color: #666; margin-bottom: 15px; }
        .event-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--gray);
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }
        .add-event-form {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
        }
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark); }
        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
            font-family: 'Open Sans', sans-serif;
        }
        .form-group textarea { height: 100px; resize: vertical; }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .form-actions { display: flex; justify-content: flex-end; gap: 15px; margin-top: 20px; }
        .dropdown-details {
            display: none;
            background: #f7f7f7;
            border-top: 1px solid #eee;
            padding: 25px 20px 20px 20px;
            animation: dropdownFade 0.3s;
            margin-bottom: 30px;
        }
        .dropdown-details.active {
            display: block;
        }
        .dropdown-title {
            font-size: 4rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 12px;
            width: 95%;
            margin: 0 auto;
        }
        .dropdown-image {
            width: 100%;
            margin-bottom: 16px;
        }
        .dropdown-image img {
            width: 95%;
            height: 500px; /* Reduced height for cropping effect */
            display: block;
            border-radius: 8px;
            background: #eee;
            margin: 0 auto;
        }
        .dropdown-description {
            font-size: 1rem;
            color: #444;
            margin-bottom: 0;
            width: 90%;
            margin: 0 auto;
        }
        @keyframes dropdownFade {
            from { opacity: 0; transform: translateY(-10px);}
            to { opacity: 1; transform: translateY(0);}
        }
       
        .events-header {
            height: 40vh;
            width: 100%;
             background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 253, 253, 0.6)), url('IMG_0385.JPG') no-repeat center center/cover;
        }
       
        /* Footer */
        footer {
            background-color: #1a5276 ;
            color: white;
            padding: 60px 0 30px;
        }
       
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
       
        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
       
        .footer-column h3::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 2px;
            background-color: var(--secondary);
            bottom: 0;
            left: 0;
        }
       
        .footer-column ul {
            list-style: none;
        }
       
        .footer-column ul li {
            margin-bottom: 10px;
        }
       
        .footer-column a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
       
        .footer-column a:hover {
            color: var(--secondary);
        }
       
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
       
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transition: background-color 0.3s;
        }
       
        .social-links a:hover {
            background-color: var(--secondary);
        }
       
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #999;
        }
       
        /* Responsive Design */
        @media (max-width: 768px) {
            .header-content {
                display: flex;
            }
.nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: rgb(255, 255, 255);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-top: 50px;
                transition: all 0.5s ease;
            }
           
            .nav-links.active {
                left: 0;
            }
           
            .nav-links li {
                margin: 15px 0;
            }
           
            .hamburger {
                display: block;
            }
            
           .quest {
            display: none;
           }

           .donate-btn {
            display: block;
           }
           
            .hamburger {
                display: block;
            }
           
            .about-content {
                flex-direction: column;
            }
           
            .hero {
                aspect-ratio: 16/9;
                width: 100%;
                height: 100vh;
            }
            .hero h2 {
                font-size: 2rem;
            }
           
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .partiners {
                display:block;
                justify-content: center;
                align-items: center;
                align-content: center;
            }

            .newsletter-form {
                flex-direction: column;
            }
           
            .newsletter-form input, .newsletter-form button {
                width: 100%;
                border-radius: 4px;
                margin-bottom: 10px;
            }
            
        }

         @media (max-width: 480px) {
            .hero h1 {
                font-size: 1.8rem;
            }
           
            .btn {
                padding: 8px 16px;
            }
           
 .partiners {
                display:block;
                justify-content: center;
                align-items: center;
                align-content: center;
                
    margin-inline: 5px;
    padding-inline: 5px;
    padding: 5px;
    gap: 15px;

            }
            
            .btn {
                padding: 8px 16px;
            }
           
            .events-grid {
                grid-template-columns: 1fr;
            }
        }