/* styles.css */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: rgb(191, 203, 113);
}

.navbar {
    background: linear-gradient(90deg, #ff7e5f, #f97316);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 40px;
    border-radius: 50%;
}

.brand {
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
}

/* Navbar anchor button style */
.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background 0.3s, transform 0.2s;
}

.nav-links li a:hover {
    background-color: white;
    color: #f97316;
    transform: scale(1.05);
}

.donate-btn {
    background: white;
    color: #f97316;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.donate-btn:hover {
    background: #ffe3d3;
}


html {
    scroll-behavior: smooth;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        /* Center the items */
        background-color: white;
        position: absolute;
        top: 70px;
        right: 0;

        padding: 1rem 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-radius: 0 0 10px 10px;
        width: 60%;
        /* Limit width to 80% */
        max-width: 300px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    .nav-links li a {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        color: #f97316;
        font-weight: 600;
        border-radius: 9999px;
        transition: background 0.3s, color 0.3s;
    }

    .nav-links li a:hover {
        background-color: #ffe3d3;
    }

    .hamburger {
        display: block;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        z-index: 1001;
    }

    .donate-btn {
        display: none;
    }
}


.hero {
    height: 400px;
    background: url('heroimg.jpg') center/cover no-repeat;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.read-btn {
    margin-top: 1rem;
    background: #f97316;
    border: #ddd;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    /* font-weight: bold; */
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.states {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

    margin: auto;
    flex-wrap: wrap;
}

.states img {
    min-height: 80px;
    max-height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 600px) {
    .states img {
        height: 80px;
    }
}



.about,
.team,
.events,
.gallery {
    padding: 3rem 1rem;
    text-align: center;
}

.tabs button {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid #ccc;
    border-radius: 9999px;
    background: white;
    cursor: pointer;
}

.tabs .active {
    background: #f97316;
    color: white;
}

.description {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #fff7ed;
    border-left: 4px solid #f97316;
    border-radius: 01rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.description:hover {
    transform: translateY(-5px);
}

.stats {
    background: #f97316;
    color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    padding: 2rem;
}

.stats div span {
    font-size: 2rem;
    font-weight: bold;
}

.team-member {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 1rem;
    min-width: 180px;
    flex-shrink: 0;
    background: #f97316;
}

.team-img {
    width: 100%;
    height: 150px;
    background-color: rgb(191, 203, 113);
    color: #aaa;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.team-row {
    display: flex;
    flex-wrap: nowrap;
    /* Keep on one line */
    gap: 1rem;
    justify-content: left;
    overflow-x: auto;
    /* Enables scrolling if too many */
    padding: 1rem 0;
}



.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.see-all {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #f97316;
    color: white;
    font-weight: bold;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.3s;
}

.see-all:hover {
    background-color: #fb923c;
}

.footer {
    background: white;
    border-top: 1px solid #ccc;
    padding: 2rem 1rem;
    font-size: 0.875rem;
    color: #666;
}

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

.footer img {
    height: 40px;
    margin-bottom: 0.5rem;
}

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

.footer ul li {
    margin: 0.25rem 0;
}

.event-main img {
    width: 80%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    border-radius: 0.5rem;
}

.event-main p {
    padding: 1rem 0;
    font-size: 0.95rem;
    color: #444;
}

@media (max-width: 600px) {
    .states {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .states img {
        height: 40px;
    }
}

.event-list {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
}

.event-item {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: #fffefc;
}

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

.about-box {
    background: #fff7ed;
    border: 1px solid #ffd6a0;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #f97316;
}

.about-box:hover {
    transform: translateY(-5px);
}

.gallery-page {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}

/* Load more button */
.load-more-container {
    margin: 1rem 0;
}

#loadMoreBtn {
    padding: 0.5rem 1rem;
    border: none;
    background: #f97316;
    color: white;
    font-weight: bold;
    border-radius: 9999px;
    cursor: pointer;
}

#loadMoreBtn:hover {
    background: #fb923c;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
}

.close-lightbox {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    padding: 0 1rem;
    z-index: 10000;
    user-select: none;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.nav-footer {
    text-decoration: none;
    display: inline-block;
    color: #333;
}

.social-link {
  color: #1DA1F2;
  text-decoration: none;
  font-weight: 500;
}

.social-link:hover {
  text-decoration: underline;
}
.footer-contact-box {
  background-color: #d7bea0;
  border-left: 4px solid #f97316;
  padding: .1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  color: #333;
}

.footer-contact-box h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #f97316;
}

