:root {
    --primary: #2c5f2d;
    --primary-dark: #1e4620;
    --secondary: #ffc107;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar {
    background: var(--primary) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--white) !important;
}


.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.35);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar .btn-outline-light {
    border-color: rgba(255,255,255,0.9);
    color: rgba(255,255,255,0.95);
    transition: all 0.25s ease;
}

.navbar .btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.95);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.25);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(8px);
    transform: scale(1.05);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #165c1b;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #165c1b;
}

.hero .btn,
.hero .btn-light,
.hero .btn-outline-light {
    background-color: #2c5f2d;
    border-color: #2c5f2d;
    color: #ffffff !important;
}

.hero .btn-outline-light:hover,
.hero .btn-light:hover {
    background-color: #244f24;
    border-color: #244f24;
    color: #ffffff !important;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
}

.feature-card, .program-card, .news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
}

.feature-card:hover, .program-card:hover, .news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.prayer-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.stats-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.auth-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.sidebar {
    background: var(--dark);
    min-height: 100vh;
    padding: 20px 0;
}

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    margin: 5px 10px;
    border-radius: 10px;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.table {
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table thead {
    background: var(--primary);
    color: var(--white);
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.badge-pending { background: #ffc107; color: #000; }
.badge-approved { background: #28a745; color: #fff; }
.badge-rejected { background: #dc3545; color: #fff; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .section-padding { padding: 50px 0; }
}

/* ----- Footer Styles ----- */
.site-footer {
    font-size: 0.95rem;
}

.footer-main {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    color: var(--white);
}

.footer-brand i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.footer-brand h4 {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-desc {
    margin-bottom: 0;
    line-height: 1.8;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.3);
}

/* Newsletter form removed: styles cleaned up */

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--secondary);
    width: 16px;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,193,7,0.4);
}

@media (max-width: 768px) {
    .footer-main {
        padding: 50px 0 40px;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: none;
    }

    .social-links {
        justify-content: center;
    }

    /* Newsletter form removed: responsive tweaks not required */

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}