:root {
    --primary: #2a6bc9;
    --secondary: #ff6b6b;
    --accent: #ffc107;
    --light: #f8f9fa;
    --dark: #343a40;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.hero-section {
    background: linear-gradient(rgba(42, 107, 201, 0.85), rgba(42, 107, 201, 0.9)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 100px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #1e5ab0;
    border-color: #1e5ab0;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    padding: 10px 25px;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.impact-card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-10px);
}

.impact-counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.program-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.program-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.campaign-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.campaign-progress {
    height: 8px;
}

.news-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.donation-amount {
    cursor: pointer;
    transition: all 0.3s;
}

.donation-amount.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-sidebar {
    min-height: 100vh;
    background: #343a40;
}

.admin-sidebar .nav-link {
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--primary);
}

.stat-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
    
    .impact-counter {
        font-size: 2rem;
    }
}


/* Add this to your existing CSS file */

/* Additional mobile enhancements without altering existing code */
@media (max-width: 768px) {
    /* Button improvements */
    .hero-content .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Campaign card improvements */
    .campaign-card .card-body {
        padding: 1rem;
    }
    
    /* Testimonial spacing */
    .testimonial-card {
        margin: 0.5rem 0;
    }
    
    /* Form improvements */
    .newsletter-section .form-control {
        margin-bottom: 0.5rem;
    }
    
    /* Touch target improvements */
    .campaign-card,
    .testimonial-card,
    .impact-card {
        min-height: auto;
    }
    
    /* Progress bar readability */
    .campaign-progress {
        height: 8px;
    }
    
    /* Social proof spacing */
    .social-proof-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    /* Even smaller screens */
    .hero-slider .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .campaign-card .btn-sm {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Stack buttons on mobile */
    .campaign-card .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .campaign-card .d-flex.justify-content-between .btn {
        width: 100%;
        margin: 0;
    }
}