/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 1.05rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* ===================================
   Gallery Showcase
   =================================== */
.gallery-showcase {
    padding: 0;
    background: white;
}

.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:nth-child(2) img {
    object-position: center 30%;
}

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

@media (max-width: 768px) {
    .gallery-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bg-light {
    background-color: var(--light-color);
}

.bg-primary {
    background-color: var(--primary-color);
    color: white;
}

/* ===================================
   Navigation Bar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 10;
    margin-left: -10px;
}

.ngo-name {
    position: absolute;
    left: 40%;
    transform: translateX(-40%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-right: -100px;
}

.nav-menu a {
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:not(.btn-donate):hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:not(.btn-donate)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-donate):hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-donate {
    background-color: var(--primary-color);
    color: white !important;
    padding: 1rem 5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    white-space: nowrap;
}

.btn-donate:hover,
.btn-donate.active {
    background-color: #1d4ed8;
    color: white !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    left: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: white;
    padding: 150px 20px 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-focus {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    line-height: 1.8;
}

.hero-stats-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-box p {
    font-size: 1rem;
    opacity: 0.95;
}

.hero-note {
    font-size: 1rem;
    margin: 1rem 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

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

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Founder Section
   =================================== */
.founder-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image-wrapper {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 100px;
}

.founder-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.founder-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.founder-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.founder-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.qualifications {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.qualification-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.qualification-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.qualification-item strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.qualification-item em {
    color: var(--text-color);
    font-size: 1rem;
}

.founder-quote {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    margin: 2rem 0;
    text-align: center;
}

.founder-quote p {
    margin-bottom: 0;
    font-size: 1.15rem;
    color: var(--dark-color);
    font-style: italic;
    line-height: 1.8;
}

.quote-attribution {
    margin-top: 1rem !important;
    font-weight: 600;
    font-style: normal !important;
    color: var(--primary-color) !important;
}

.founder-conclusion {
    font-size: 1.1rem;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-image-wrapper {
        position: static;
    }
    
    .founder-image {
        width: 200px;
        height: 200px;
    }
}

/* ===================================
   Mission Section
   =================================== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.mission-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.mission-card p {
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ===================================
   Projects Section
   =================================== */
.projects-grid {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background: transparent;
    margin-bottom: 2.5rem;
    border: none;
    box-shadow: none;
}

.project-card:hover {
    transform: none;
}

.project-image {
    display: none;
}

.project-overlay {
    display: none;
}

.btn-view {
    display: none;
}

.project-content {
    padding: 0;
}

.project-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    font-weight: 600;
}

.project-content p {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.05rem;
}

.work-note {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.work-note h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.work-note ul {
    list-style: none;
    padding: 0;
}

.work-note ul li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.donation-list li {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.donation-list li:last-child {
    border-bottom: none;
}

.donation-list li strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.donation-list li span {
    color: var(--text-color);
    font-size: 0.95rem;
    padding-left: 1.5rem;
}

.about-text .highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

/* ===================================
   Team Section
   =================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* ===================================
   Contact Section
   =================================== */
.contact-content-simple {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-center {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    text-align: left;
    width: 100%;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    max-width: 45px;
    min-height: 45px;
    max-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.contact-item > div {
    flex: 1;
}

/* Video Gallery Section */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
    color: white;
    position: relative;
    transition: var(--transition);
}

.video-placeholder i.fab.fa-facebook {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.video-placeholder p {
    font-size: 1.05rem;
    font-weight: 600;
}

.play-icon {
    position: absolute;
    font-size: 4rem;
    opacity: 0.8;
    transition: var(--transition);
}

.video-item:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

.video-thumbnail {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: var(--transition);
}

.video-thumbnail img.thumb-1 {
    object-position: center 35%;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-thumbnail .play-icon {
    position: absolute;
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    transition: var(--transition);
}

.video-item:hover .video-thumbnail .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

.video-item iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.video-item h3 {
    padding: 1rem;
    font-size: 1rem;
    color: var(--dark-color);
    text-align: center;
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

/* ===================================
   Donate Section
   =================================== */
.donate-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.donate-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.donate-content > p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.donate-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: left;
}

.donate-details h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

.donate-details h3:first-child {
    margin-top: 0;
}

.bank-details p,
.upi-details p,
.other-details p {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.bank-details strong,
.upi-details strong,
.other-details strong {
    display: inline-block;
    min-width: 150px;
}

.qr-code {
    max-width: 200px;
    height: auto;
    margin-top: 1rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.5rem;
    background: white;
}

.donate-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.donate-note {
    font-size: 1rem;
    opacity: 0.8;
}

/* ===================================
   Gallery Modal
   =================================== */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.gallery-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-close:hover {
    color: var(--secondary-color);
}

#galleryImage {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 5px;
    transition: var(--transition);
}

.gallery-nav:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-caption {
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-section {
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 auto 1rem;
}

.footer-logo-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo-section p {
    margin-bottom: 0;
    opacity: 0.8;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-wrapper {
        justify-content: space-between;
    }

    .ngo-name {
        position: static;
        transform: none;
        font-size: 1.5rem;
        flex: 1;
        text-align: center;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 1.5rem 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        margin-right: 0;
        z-index: 1000;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 0.85rem 1rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.05rem;
        display: block;
        text-decoration: none;
    }

    /* Remove the underline effect on mobile menu */
    .nav-menu a:not(.btn-donate)::after {
        display: none !important;
        content: none !important;
    }

    .nav-menu a:not(.btn-donate)::before {
        display: none !important;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-menu a.btn-donate {
        padding: 0.85rem 1.5rem;
        text-align: center;
        margin-top: 1rem;
        border-bottom: none;
    }

    .logo-img {
        height: 65px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 50px;
        height: auto;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 20px;
        margin-top: 20px;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-focus {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-box {
        padding: 0.75rem 1rem;
    }

    .stat-box h3 {
        font-size: 1.5rem;
    }

    .stat-box p {
        font-size: 0.95rem;
    }

    .hero-note {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
        color: var(--dark-color);
        font-weight: 800;
        margin-bottom: 1rem;
        text-transform: none;
        letter-spacing: 0.5px;
    }

    .section-description {
        font-size: 1rem;
    }

    .title-underline {
        width: 100px;
        height: 4px;
        margin-bottom: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        display: none;
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .founder-image-wrapper {
        position: static;
    }

    .founder-image {
        width: 180px;
        height: 180px;
    }

    .founder-text h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .qualifications {
        padding: 1rem;
    }

    .qualification-item strong {
        font-size: 1rem;
    }
    
    .qualification-item em {
        font-size: 0.95rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-gallery {
        grid-template-columns: 1fr;
    }

    .video-thumbnail,
    .video-placeholder {
        height: 200px;
    }

    .contact-content-simple {
        padding: 0 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .donate-content h2 {
        font-size: 1.5rem;
    }

    .donate-details {
        padding: 1.5rem 1rem;
    }

    .donate-details h3 {
        font-size: 1.1rem;
    }

    .bank-details strong,
    .upi-details strong,
    .other-details strong {
        min-width: auto;
        display: block;
        margin-bottom: 0.25rem;
    }

    .qr-code {
        max-width: 150px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        height: 60px;
    }

    .gallery-nav {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .ngo-name {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 50px;
    }

    .hero-title {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-box {
        width: 100%;
    }

    .section-title {
        font-size: 1.6rem;
        color: var(--dark-color);
        font-weight: 800;
    }

    .founder-text h3 {
        font-size: 1.5rem;
        color: var(--dark-color);
        font-weight: 700;
    }

    .project-content h3,
    .mission-card h3 {
        font-size: 1.2rem;
        color: var(--dark-color);
        font-weight: 700;
    }

    .donate-content h2 {
        font-size: 1.6rem;
        font-weight: 800;
    }

    .founder-image {
        width: 150px;
        height: 150px;
    }

    .donate-options {
        flex-direction: column;
    }

    .donate-options .btn {
        width: 100%;
    }
}

