body {
    font-family: "Baloo Bhai 2", sans-serif;
   
    margin: 0px;
    padding: 0px;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.navbar {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.menu-toggle {
    font-size: 24px;
    cursor: pointer;
    display: none;
    background: none;
    border: none;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 200px;
        display: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-links.show {
        display: flex;
    }
}

.header-bg {
    background-image: url('b389b87c016a10480fa4a540c2124e4d.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: 0;
    width: 100%;
    border-radius: 0 0 18px 18px;
}

@media (max-width: 600px) {
    .header-bg {
        background-size: cover;
        background-position: center;
        padding-top: 18px;
        padding-bottom: 18px;
        border-radius: 0 0 10px 10px;
    }
}

/* Buttons Section */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 40px auto;
    width: 90%;
    max-width: 400px;
}

.btn {
    background-color: #2e7d32;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #005e47;
    transform: scale(1.03);
}


.vision,
.mission {
    align-items: center;
    padding: 0px 30px;
    background-color: #fff;
    margin: 0px;
    max-width: 1000px;
    border-left: 5px solid orange;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    margin: 40px auto;
}

.vision h2,
.mission h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #e65100;
}

.vision p,
.mission p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}


.donate-section {
    padding: 20px 30px;
    text-align: center;
    background-color: #fff7f0;
    border-top: 4px solid orange;
}

.donate-section h2 {
    font-size: 2rem;
    color: #e65100;
    margin-bottom: 15px;
}

.donate-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.donate-box {
    background: #fff;
    display: inline-block;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    margin: auto;
    text-align: left;
}

.donate-box p {
    margin-bottom: 10px;
}

.donate-btn {
    width: 100%;
    margin: 10px auto;
    display: block;
    background-color: #ff6f00;
    color: white;
    padding: 12px 16px;
    /* Reduce padding for smaller screens */
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    box-sizing: border-box;
    /* Makes padding not increase width */
}

.donate-btn:hover {
    background-color: #e65100;
}

.volunteer-section {
    padding: 60px 30px;
    background-color: #fff;
    text-align: center;
}

.volunteer-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2e7d32;
}

.volunteer-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}


form {
    background: #fff;
    padding: 25px;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
}

form button {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 1rem;
    transition: background 0.3s;
}

form button:hover {
    background-color: #218838;
}

#formMsg {
    margin-top: 15px;
    font-weight: bold;
    color: green;
    text-align: center;
}

.gallery-section {
  padding: 36px 0 24px 0;
  background: #f9f9f9;
}
.gallery-section h2 {
  text-align: center;
  color: #e65100;
  margin-bottom: 28px;
  font-size: 2rem;
  letter-spacing: 1px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2vw;
}
.gallery-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  aspect-ratio: 16/10;
  cursor: pointer;
  transform: scale(1) translateY(40px);
  opacity: 0;
  transition: box-shadow 0.3s, transform 0.3s, opacity 0.7s;
}
.gallery-item.visible {
  opacity: 1;
  transform: scale(1.04) translateY(0);
  box-shadow: 0 8px 24px rgba(230,81,0,0.13), 0 2px 16px rgba(0,0,0,0.13);
}
.gallery-item:hover {
  transform: scale(1.07) translateY(-6px);
  box-shadow: 0 12px 32px rgba(230,81,0,0.18), 0 2px 16px rgba(0,0,0,0.13);
}
.gallery-item img,
.gallery-item video,
.gallery-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .gallery-section h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  .gallery-grid {
    gap: 10px;
    padding: 0 1vw;
  }
  .gallery-item {
    min-height: 120px;
    aspect-ratio: 16/11;
  }
}

/* Responsive */
@media screen and (max-width: 600px) {
    form {
        padding: 20px 15px;
    }

    .impact-section {
        padding: 60px 30px;
        background-color: #ffffff;
        text-align: center;
    }

    .impact-section h2 {
        font-size: 2rem;
        color: #e65100;
        margin-bottom: 40px;
    }

    .impact-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
    }

    .stat-card {
        background: rgb(243, 185, 185);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }



    .stat-card p {
        font-size: 1.1rem;
        color: #444;
    }

    .stat-card h3 {
        font-size: 2.5rem;
        color: #e65100;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .gallery-section {
        padding: 60px 30px;
        background: linear-gradient(to bottom, #fff, #f9f9f9);
        text-align: center;
    }

    .gallery-section h2 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        color: #ce5f0a;
    }

    .gallery-section p {
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 40px;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        max-width: 1100px;
        margin: 0 auto;
    }

    .gallery-item {
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(30px);
        opacity: 0;
        transition: transform 0.6s ease, opacity 0.6s ease;
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        transition: transform 0.4s ease;
        display: block;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-section {
    position: relative;
    background: linear-gradient(120deg, #e0f7fa, #fce4ec);
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

/* Animated background icons */
.background-icons {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 10s ease-in-out infinite alternate;
}

.background-icons span {
    animation: pulse 3s ease-in-out infinite alternate;
}

/* Container animation */
.mission-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeSlideUp 1.2s ease forwards;
}

/* Heading animation */
.mission-heading {
    font-size: 3em;
    color: #004d40;
    margin-bottom: 20px;
    animation: bounceIn 1.2s ease-in-out;
}

/* Paragraph animation */
.mission-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 30px;
    padding: 0 10px;
    line-height: 1.6;
    animation: fadeInText 2s ease-in;
}

/* Button animation */
.mission-button {
    background: #00695c;
    color: #fff;
    padding: 14px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 105, 92, 0.3);
    transition: all 0.4s ease;
    animation: popIn 1.4s ease;
}

.mission-button:hover {
    background: #004d40;
    transform: scale(1.05);
}


/* Keyframe animations */



@keyframes fadeSlideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .mission-heading {
        font-size: 2em;
    }

    .mission-text {
        font-size: 1em;
    }

    .mission-button {
        font-size: 1em;
        padding: 12px 24px;
    }

    .background-icons {
        font-size: 1.5rem;
        gap: 15px;
    }
}

.slider-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background: #fffefc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-track {
    display: flex;
    width: 300%;
    animation: slide 12s infinite;
}

.slide {
    flex: 1 0 100%;
    padding: 40px 30px;
    background: #fff;
    font-size: 1.1rem;
    color: #333;
    box-sizing: border-box;
}

.slide p {
    font-style: italic;
    color: #444;
}

.slide h4 {
    margin-top: 15px;
    color: #000;
    font-weight: bold;
}

@keyframes slide {

    0%,
    33% {
        transform: translateX(0);
    }

    36%,
    66% {
        transform: translateX(-100%);
    }

    69%,
    100% {
        transform: translateX(-200%);
    }
}

.projects-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #e65100;
}

.projects-container {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 270px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.project-card h3 {
    color: #222;
    margin: 16px 0 8px;
}

.project-card p {
    padding: 0 16px 20px;
    font-size: 0.95rem;
    color: #555;
}



.footer {
    background-color: #222;
    color: #f1f1f1;
    padding: 40px 20px 20px;
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1 1 200px;
}

.footer-column h3,
.footer-column h4 {
    color: #ffa500;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 10px 0;
}

.footer-column ul li a {
    color: #f1f1f1;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #ffa500;
}

.social-icons a img {
    width: 24px;
    margin-right: 10px;
    transition: transform 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 15px;
    font-size: 0.85rem;
}