/* Custom styles for modern NGO website */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: relative;
    background-attachment: fixed;
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Leaderboard Cards */
.top-3-container {
    padding: 50px 0;
    overflow: hidden;
}

.decorative-circles .circle {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.decorative-circles .circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.decorative-circles .circle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.leaderboard-card {
    position: relative;
    transition: all 0.3s ease;
}

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

.rank-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rank-badge.gold {
    background: linear-gradient(145deg, #FFD700, #FFA500);
}

.rank-badge.silver {
    background: linear-gradient(145deg, #C0C0C0, #A9A9A9);
}

.rank-badge.bronze {
    background: linear-gradient(145deg, #CD7F32, #8B4513);
}

/* Leaderboard List */
.leaderboard-list {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.leaderboard-list .table {
    margin-bottom: 0;
}

.leaderboard-list th {
    border-top: none;
    font-weight: 600;
    color: #666;
}

.rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f8f9fa;
    font-weight: 600;
}

.rank-number.top-1 {
    background: #FFD700;
    color: white;
}

.rank-number.top-2 {
    background: #C0C0C0;
    color: white;
}

.rank-number.top-3 {
    background: #CD7F32;
    color: white;
}

/* Support Cards */
.hover-card {
    transition: all 0.3s ease;
}

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

.icon-circle {
    transition: all 0.3s ease;
}

.hover-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image {
        height: 30vh !important;
    }

    .leaderboard-card {
        margin-bottom: 30px;
    }

    .decorative-circles .circle {
        display: none;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Button Styles */
.btn-primary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Custom Badge Styles */
.badge-light {
    background: #f8f9fa;
    color: #666;
    font-weight: 500;
    padding: 5px 10px;
}

/* Table Hover Effects */
.table-hover tbody tr:hover {
    background-color: #f8f9fa;
    transform: scale(1.01);
    transition: all 0.3s ease;
}