/* Custom Styles for Save Life Networks */
:root {
    --primary-color: #5f97e0;
    --secondary-color: #41b93c;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 76px; /* For fixed navbar */
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.program-card {
    height: 100%;
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 30px;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Statistics Section */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Program Sections */
.program-section {
    scroll-margin-top: 100px;
}

/* Donation Amounts */
.donation-amounts .badge {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.donation-amounts .badge:hover {
    background-color: var(--secondary-color) !important;
    color: white !important;
    border-color: var(--secondary-color);
}

/* Map Placeholder */
.map-placeholder {
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 80px 0;
        min-height: 60vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar */
.navbar {
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    border-radius: 5px;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color) !important;
}


footer {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        #4f86c6 50%,
        var(--secondary-color) 100%
    );
    color: #ffffff;
}

/* Footer links */
footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Divider line */
footer hr {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Social icons */
footer .social-links a {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

footer .social-links a:hover {
    transform: translateY(-2px);
    opacity: 1;
}

