﻿
:root {
    --main-color: #2e7d32;
    --main-dark: #1b5e20;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f6f9;
    padding-top: 90px;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#mainNavbar {
    background: #0f172a;
    padding: 12px 0;
    transition: 0.3s;
}

.navbar-scrolled {
    background: #020617;
}

.nav-link {
    color: #cbd5e1 !important;
    margin-left: 10px;
    transition: 0.2s;
}

    .nav-link:hover {
        color: #ffffff !important;
    }

    .nav-link.active {
        color: #22c55e !important;
        font-weight: 500;
    }

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
}

    .btn-success:hover {
        background: linear-gradient(135deg, #16a34a, #15803d);
        transform: translateY(-2px);
    }

.footer-modern {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #ddd;
    padding: 60px 0 20px;
}

    .footer-modern h5 {
        color: #fff;
        margin-bottom: 15px;
    }

.footer-text {
    color: #aaa;
    line-height: 1.6;
}

.footer-ayah {
    font-size: 0.9rem;
    color: #22c55e;
    margin-top: 10px;
}

.footer-logo {
    height: 65px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: #bbb;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #22c55e;
        }

.footer-modern .btn {
    border-radius: 10px;
    font-size: 14px;
    padding: 10px;
}

.footer-line {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0;
}

.footer-bottom-text {
    font-size: 0.85rem;
    color: #888;
}
.dashboard-card {
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.3s;
}

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

.quick-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .quick-card:hover {
        background: var(--main-color);
        color: white;
    }

.news-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

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

.news-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

    .image-modal img {
        max-width: 90%;
        max-height: 90%;
    }

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
}

.prayer-card {
    border-radius: 20px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#nextPrayer {
    color: var(--main-color);
    font-weight: bold;
}

@media (max-width: 768px) {

    body {
        padding-top: 80px;
    }

    .footer-modern {
        text-align: center;
        padding: 40px 15px 20px;
    }

        .footer-modern .btn {
            width: 100%;
            margin-bottom: 10px;
        }

    .footer-logo {
        height: 55px;
    }

    .gallery-img {
        height: 200px;
    }

    .quick-card {
        height: 100px;
        font-size: 14px;
    }
}


.container {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}
.swish-box {
    width: 100%;
    background: #111827;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}