/* Green Theme for Bishop Kioko Catholic Hospital */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #fff !important;
}

.navbar-brand {
    font-weight: bold;
    color: #2e7d32 !important;
}

.navbar-brand img {
    margin-right: 10px;
    border-radius: 10px;
}

.navbar-nav .nav-link {
    color: #555;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #2e7d32 !important;
}

/* Hero Section - Green Gradient */
.hero {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    position: relative;
    overflow: hidden;
}

/* Mission Banner */
.mission-banner {
    background: linear-gradient(90deg, #c8e6c9 0%, #a5d6a7 100%);
    color: #1b5e20;
    font-weight: 500;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
    color: #2e7d32;
    font-weight: 600;
}

/* Buttons */
.btn-success {
    background-color: #2e7d32;
    border-color: #2e7d32;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #1b5e20;
    border-color: #1b5e20;
    transform: translateY(-2px);
}

.btn-outline-success {
    color: #2e7d32;
    border-color: #2e7d32;
}

.btn-outline-success:hover {
    background-color: #2e7d32;
    border-color: #2e7d32;
    transform: translateY(-2px);
}

/* Statistics */
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

/* Footer - Green Gradient */
footer {
    background: linear-gradient(135deg, #1b5e20 0%, #0a3d0e 100%);
    margin-top: auto;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #c8e6c9 !important;
    text-decoration: underline;
}

/* Forms */
.form-control:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 0.2rem rgba(46,125,50,0.25);
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2e7d32;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1b5e20;
}