 body {
        background: #f8f9fa;
    }
    nav.navbar {padding: 15px 0;box-shadow: 0 4px 5px rgba(0, 0, 0, 0.08);}
    .navbar-nav .nav-item .nav-link {font-size: 16px;font-weight: 600;padding: 10px 20px;}
    .navbar-nav .nav-item:last-child .nav-link {
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 30px;
    display: inline-block;
    background-color: #1d8e5a;color: #fff;
}
.container-fluid {padding-left: 50px;padding-right: 50px;}
@media (max-width: 480px) {
    .container-fluid {padding-left: 10px;padding-right: 10px;}
}
    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {color: #1f6feb;}
.bg-light {background-color: #fff !important;}
    .hero.green-bg {   background: linear-gradient(180deg,#4da65a 0%, #3e944c 100%); color: #fff; padding: 70px 0; }
    .hero.green-bg h1 {color: #fff; }

    .search-box {
        max-width: 700px;
        margin: auto;
    }

    .card-simple {
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    }

    footer {
        background: #111;
        color: #bbb;
        padding: 40px 0;
    }

    footer a {
        color: #bbb;
        text-decoration: none;
    }

    footer a:hover {
        color: #fff;
    }

    .hero {
        background: #f4f6f8;
        padding: 40px 0;
    }

    .prayer-card {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
        padding: 20px;
    }

    .badge-verified {
        background: #1d8e5a;
    }


     h1,
        h2 {
            color: #1f6b4a;
        }

        h1 {
            margin-bottom: 20px;
        }

        h2 {
            margin-top: 30px;
            margin-bottom: 10px;
        }

        p {
            line-height: 1.7;
            margin-bottom: 12px;
        }

        ul {
            padding-left: 20px;
        }

        li {
            margin-bottom: 8px;
        }

        .cta-links a {
            display: inline-block;
            margin-right: 15px;
            margin-top: 10px;
            text-decoration: none;
            background: #1f6b4a;
            color: #fff;
            padding: 10px 18px;
            border-radius: 4px;
        }

        .cta-links a:hover {
            background: #15533a;
        }
        .next-prayer {
    font-weight: 600;
    color: #1f7a3f;
    margin-top: 6px;
}

.countdown {
    font-size: 13px;
    color: #666;
}

.ramadan-card {
    background: linear-gradient(135deg,#1f6feb,#16a34a);
    color: white;
    border-radius: 16px;
    padding: 20px 5px;
    max-width: 560px;

    /* stronger elevation */
    box-shadow:
        0 5px 30px rgba(0,0,0,.25),
        0 0 0 3px rgba(255,255,255,.15);

    /* make it float above hero */
    position: relative;
    z-index: 5;

    /* subtle glow */
    
}


.ramadan-title {
    font-size: 18px;
    margin-bottom: 8px;
    opacity: .95;    border-bottom: 1px solid #00cde14d;
    padding-bottom: 5px;
}

.ramadan-times {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.ramadan-time {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .5px;
}
.ramadan-times {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.ramadan-item + .ramadan-item {
    border-left: 1px solid rgba(255,255,255,.35);
    padding-left: 28px;
}
.ramadan-badge {
    background: rgba(255,255,255,.2);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    margin-left: 8px;
}

.ramadan-item {
    text-align: center;
}

.ramadan-label {
    font-size: 16px;
    opacity: .85;
}

.ramadan-time {
    font-size: 26px;
    font-weight: 600;
}




.hero.green-bg {
    position: relative;
    background: #3e944c;
}

.hero.green-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.08); /* softens green */
}

.hero.green-bg > * {
    position: relative;
    z-index: 1;
}
.hero.green-bg {
    filter: saturate(.85);
}

.ramadan-actions {
    margin-top: 12px;
}

.ramadan-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 999px;
    text-decoration: none;
    color: white;

    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);

    transition: all .2s ease;
}

.ramadan-btn:hover {
    background: rgba(255,255,255,.28);
    color: white;
}


/* base rows */
.table tbody {background: linear-gradient(135deg,#1f6feb,#16a34a);}
.table tbody tr {
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.table tbody tr td {background: transparent;color: #fff;}
@media screen and (max-width: 480px) {
.table tbody tr td {font-size: 14px;}
}
/* hover elevation */
.table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    background: #f9fbff;
    z-index: 2;
    position: relative;
}

/* TODAY row elevated permanently */
.table-today {
    background: #fff8d6 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,.10);
    position: relative;
    z-index: 1;
}

/* keep hover stronger than today */
.table-today:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
/* smooth row interaction */
.table tbody tr {
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    position: relative;
}

/* hover elevation */
.table tbody tr:hover, .table tbody tr.table-friday:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.51);
    background: linear-gradient(135deg,#1f6feb,#16a34a);
    z-index: 2;
}

/* TODAY highlight */
.table-today {
    background: #fff8d6 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,.10);
    z-index: 1;
}
.table-today td {background: #06a200 !important; color: #fff;}
/* Friday highlight */
.table-friday {
    
    border-left: 4px solid #1b8a4b;
}

table tbody tr.table-friday td {     color: #00ff0e;}
/* Friday + hover */


/* Today + Friday combined */
.table-today.table-friday {
    background: #eaf6e8 !important;
    border-left: 4px solid #1b8a4b;
}
.table-today.table-friday td { color: #fff;}
/* Today hover stronger */
.table-today:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
}


.search-box {
    max-width: 700px;
    margin: 0 auto;
}

.search-row {
    display: flex;
}

.near-btn {
    margin-left: 10px;
    height: 48px;
}

/* Desktop layout */
@media (min-width: 481px) {
    .search-box {
        display: flex;
        align-items: center;
    }

    .search-row {
        flex: 1;
    }

    .near-btn {
        width: auto;
    }
}

/* Mobile layout */
@media (max-width: 480px) {
    .search-box {
        display: block;
    }

    .search-row {
        margin-bottom: 8px;
    }

    .near-btn {
        width: 100%;
        margin-left: 0;
    }
}

.masjid-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 5px rgba(0,0,0,0.08);
    transition: .2s;
    height: 100%;
}

.masjid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.masjid-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.masjid-body {
    padding: 20px;
}

.masjid-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f0e0b;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.masjid-location {
    font-size: 16px;
    color: #0f0e0b;
    font-weight: 500;
    margin-bottom: 6px;
}

.masjid-next {
    font-size: 13.5px;
    color: #0d6efd;
    margin-bottom: 3px;
}

.masjid-distance {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}

.verified-badge {
    font-size: 12px;
    color: #1d8e5a;
    margin-bottom: 8px;
}

.masjid-actions {
    display: block;
        margin-top: 5px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.btn-view {
    flex: 1;
    background: #e8f1ed;
    color: #0f0e0b;
    
    font-weight: 500;
    border-radius: 5px;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    margin-right: 10px;display: inline-block;
}

.btn-view:hover {
    background: #1d8e5a;
    color: #fff;
}

.btn-dir {
    flex: 1;
    background: #1d8e5a;
    color: #fff;
    font-weight: 500;
    border-radius: 5px;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.btn-dir:hover {
    background: #157347;
}



.site-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg,#1e3a8a,#16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.site-loader-box {
    text-align: center;
    color: #fff;
    animation: fadeIn .35s ease;
}

.site-loader-text {
    margin-top: 18px;
    font-size: 18px;
    letter-spacing: .3px;
}

/* crescent icon */
.site-loader-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: -5px 0 0 0 #fff;
    animation: spin 1.6s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity:0; transform: translateY(6px);}
    to { opacity:1; transform:none;}
}