/* ================= General Styles ================= */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* ================= Navbar Styling ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #333;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f8b400;
}

.nav-item .text-danger {
    font-weight: bold;
}

/* Responsive Navbar */
@media screen and (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }
    .navbar-toggler {
        border: none;
    }
    .navbar-collapse {
        background: white;
        text-align: center;
    }
}

/* ================= Footer Styling ================= */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
}

/* ================= Carousel Styling ================= */
.carousel {
    position: relative;
    max-height: 800px;
    overflow: hidden;
}

.carousel-item img {
    height: 900px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.welcome-text {
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .carousel-item img {
        height: 500px;
    }
    .welcome-text {
        font-size: 3rem;
    }
}
/*==================about=================*/
.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background: transparent;
}

.about-content {
    display: flex;
    align-items: center;
    max-width: 900px;
    width: 100%;
    gap: 5px; /* Minimal space between text and GIF */
}

.about-text {
    flex: 1;
    font-size: 1.1rem; /* Clean and readable */
    font-weight: 400; /* Minimalist font weight */
    color: #222; /* Darker for better contrast */
    font-family: "Poppins", sans-serif; /* Modern and clean font */
    line-height: 1.5; /* Proper spacing */
}

.about-image {
    flex-shrink: 0; /* Prevents the GIF from shrinking */
}

.about-gif {
    max-width: 400px; /* Adjust GIF size */
    height: auto;
}
/* 🔥 Mobile View: Keep GIF Left of Text */
@media screen and (max-width: 768px) {
    .about-content {
        flex-direction: row; /* Keep row layout */
        text-align: left; /* Align text to left */
    }

    .about-image {
        justify-content: flex-start; /* Align GIF left */
    }

    .about-gif {
        max-width: 100px; /* Smaller GIF for mobile */
    }

    .about-text {
        font-size: 1rem; /* Adjusted text size for readability */
    }
}
/* ================= Form Styling ================= */

.animated-gif {
    width: 300px; /* Set the width to keep them uniform */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure responsiveness */
    transition: transform 0.3s ease-in-out;
}

.animated-gif:hover {
    transform: scale(1.1); /* Slight zoom effect */
}

/* Ensure horizontal alignment and spacing */
.d-flex {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between GIFs */
}
/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .gif-container {
        flex-direction: column; /* Stack them vertically on mobile */
        gap: 10px; /* Reduce space */
    }

    .animated-gif {
        width: 150px; /* Reduce size for better fit */
    }
}


/* ================= Form Styling ================= */
form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

form input, form textarea, form select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

/* 🔥 Index Page - Minimal Gallery */

/* 🎨 Gallery Section Title */
.index-gallery h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    color: #222; /* Slightly darker text */
}

.index-gallery h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #ff6600; /* Accent color (change as needed) */
    margin: 10px auto 0;
    border-radius: 2px;
}

.index-gallery {
    background: #f8f9fa; /* Light background */
    padding: 50px 0;
    border-radius: 10px;
}

/* 📷 Force Uniform Image Size */
.index-gallery .gallery-item img {
    width: 100%;
    height: 250px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensures images are cropped to fit while maintaining aspect ratio */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}


.index-gallery .gallery-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* 🔍 Hover Effect */
.index-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* 🔗 View More Button */
.index-gallery .view-more {
    display: inline-block;
    padding: 12px 20px;
    background: #ff6600; /* Match event section */
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease-in-out;
}

.index-gallery .view-more:hover {
    background: #cc5500;
    color: white;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .index-gallery {
        padding: 30px 0;
    }

    .index-gallery .gallery-item {
        margin-bottom: 15px;
    }
}
/* 📸 Full Gallery */
.full-gallery .gallery-item {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.full-gallery .gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

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

/* 🔄 Pagination Styling */
.pagination {
    margin-top: 20px;
}

.pagination .page-item .page-link {
    color: #0d6efd;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease-in-out;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    color: white;
    border: none;
}

.pagination .page-item .page-link:hover {
    background-color: #0d6efd;
    color: white;
}


/* Upcoming Events Section */
.upcoming-events {
    padding: 50px 0;
    background: transparent; /* Transparent background */
    color: #333; /* Dark color for contrast */
    text-align: center;
}

.upcoming-events h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    color: #222; /* Slightly darker text */
}

.upcoming-events h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #ff6600; /* Accent color (change as needed) */
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Event Card */
.event-box {
    background: rgba(255, 255, 255, 0.9); /* Slight transparency */
    color: #333;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
    max-width: 350px; /* Reduce width */
    width: 100%;
    margin: 0 auto; /* Keep it centered */
}


.event-box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

/* Event Image */
.event-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Event Title */
.event-box h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 15px 0;
    color: #ff6600; /* Accent color */
}

/* Event Details */
.event-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Read More Button */
.event-box .btn-primary {
    background: #ff6600;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.event-box .btn-primary:hover {
    background: #cc5500;
}
.btn-warning {
    background-color: #ff9800;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.btn-warning:hover {
    background-color: #e68900;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination a {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    background: #007bff;
    color: white;
    transition: 0.3s;
}

.pagination a:hover {
    background: #0056b3;
}

.pagination span {
    font-weight: bold;
}
/* View More Events Button */
.view-more-btn {
    background: #ff6600;
    color: white;
    padding: 12px 25px;
    font-size: 1.2rem;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.view-more-btn:hover {
    background: #cc5500;
    color: white;
}
/* Responsive Design */
@media (max-width: 768px) {
    .upcoming-events h2 {
        font-size: 2rem;
    }

    .event-box {
        padding: 15px; /* Keep padding comfortable */
        margin: 10px auto; /* Center the box */
        width: 90%; /* Make the box narrower (90% of screen) */
    }

    .event-box h3 {
        font-size: 1.4rem;
    }

    .event-box img {
        height: 120px; /* Keep the original size */
        width: 100%;
    }

    .event-box p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .upcoming-events h2 {
        font-size: 1.8rem;
    }

    .event-box {
        padding: 12px; /* Slightly smaller padding */
        margin: 8px auto; /* Ensure centering */
        width: 85%; /* Make it even narrower on small screens */
    }

    .event-box h3 {
        font-size: 1.2rem;
    }

    .event-box img {
        height: 120px; /* Keep same size */
        width: 100%;
    }

    .event-box p {
        font-size: 0.85rem;
    }
}


/* ================= Donate Button ================= */
.donate-btn {
    background-color: #28a745; /* Green */
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.donate-btn:hover {
    background-color: #34d058; /* Lighter Green */
    transform: scale(1.05);
}

.donate-btn:active {
    background-color: #1e7e34; /* Dark Green */
    transform: scale(0.98);
}

.donate-btn:disabled {
    background-color: #155724; /* Darkest Green */
    color: #a3a3a3;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

/* ================= Statistics Section ================= */
/* Statistics Section */
.stats-container {
    text-align: center;
    background: #282c34;
    padding: 40px;
    color: white;
}

.stats-wrapper {
    display: flex;
    justify-content: center;
    align-items: center; /* Keeps items centered */
    gap: 50px;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}

.stat-box {
    background: #444;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.stat-box:hover {
    transform: scale(1.1);
}

.counter {
    font-size: 2rem;
    font-weight: bold;
}

/* 🛠 Mobile Fixes */
@media screen and (max-width: 768px) {
    .stats-wrapper {
        flex-direction: column; /* Stacks items vertically */
        gap: 20px; /* Less gap for better spacing */
    }

    .stat-box {
        width: 80%; /* Adjusts width while keeping it neat */
        max-width: 250px; /* Prevents over-stretching */
    }

    .counter {
        font-size: 1.8rem; /* Slightly smaller on mobile */
    }
}

/* ================= Auto-Scrolling Section ================= */
/* Vision Section - Auto Scroll */
.vision-container {
    text-align: center;
    margin: 50px 0;
    overflow: hidden;
    position: relative;
}

.vision-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.vision-track {
    display: flex;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
}

.vision-item {
    flex: 0 0 auto;
    padding: 15px 30px;
    background: #f8f9fa;
    color: #333;
    border-radius: 10px;
    margin: 0 10px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
