/* =============================
   Global & Typography
============================= */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* =============================
   Tricolor Heading
============================= */
.tricolor-heading {
    background: linear-gradient(to right, orange, white, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* =============================
   Buttons
============================= */
.btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success {
    background: #28a745;
    border: none;
}
.btn-success:hover {
    background: #218838;
    transform: scale(1.05);
}

.btn-outline-success {
    border-color: #28a745;
    color: #28a745;
}
.btn-outline-success:hover {
    background: #28a745;
    color: #fff;
    transform: scale(1.05);
}

/* =============================
   Hero Carousel
============================= */
.hero-slide {
    position: relative;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.parallax-slide .carousel-img {
    transform: scale(1.05);
}

.carousel-item.active .carousel-img {
    transform: scale(1);
}

/* =============================
   About Section
============================= */
#about {
    background: #fff;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

#about h2 {
    margin-bottom: 1.5rem;
}

/* =============================
   Team Section
============================= */
#team .team-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#team .team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}
#team .team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}
#team .social-icons a {
    display: inline-block;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 5px;
    color: #fff;
    border-radius: 50%;
    transition: all 0.4s ease;
    background: #333;
    position: relative;
    overflow: hidden;
}
#team .social-icons a:hover {
    transform: scale(1.3) rotate(10deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* =============================
   Gallery Section
============================= */
#gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

/* =============================
   Donate Section
============================= */
#donate {
    background: #f0fff0;
    border-radius: 15px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}
#donate img {
    max-width: 220px;
    border-radius: 10px;
}
#donate .btn-success {
    font-size: 1.1rem;
}

/* Confetti effect (using small pseudo-elements) */
#donate:hover::before,
#donate:hover::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffb400;
    border-radius: 50%;
    animation: confetti 1s infinite linear;
}
@keyframes confetti {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

/* =============================
   Testimonials Section
============================= */
#testimonials {
    background: #fff;
    border-radius: 15px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}
#testimonials .testimonial-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#testimonials .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}
#testimonials .stars {
    color: #ffb400;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
#testimonials .testimonial-text {
    font-style: italic;
    color: #333;
}
#testimonials .testimonial-footer {
    font-weight: 600;
    color: #555;
}

/* =============================
   Tables (Admin Panel)
============================= */
table {
    border-collapse: collapse;
    width: 100%;
}

table th, table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
}

table th {
    background: #28a745;
    color: #fff;
}

table td .btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* =============================
   Responsive
============================= */
@media (max-width: 768px) {
    #team .team-card img {
        width: 100px;
        height: 100px;
    }
    #gallery img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    #donate {
        padding: 2rem 1rem;
    }
    #about {
        padding: 2rem 1rem;
    }
    .tricolor-heading {
        font-size: 1.5rem;
    }
}
