.autocomplete-item,
.hero {
    display: flex;
    align-items: center
}

.hero,
.prayer-card,
.world-map {
    position: relative;
    overflow: hidden
}

.event-card,
.hero,
.islamic-month-card,
.prayer-card,
.prayer-table,
.world-map {
    overflow: hidden
}

.arabic-font,
.counter-display,
.dhikr-text {
    font-family: "Scheherazade New", serif
}

.navbar,
.search-card {
    backdrop-filter: blur(5px)
}

.breadcrumb-item a,
.city-tag,
.footer a {
    text-decoration: none
}

.hero {
    background: linear-gradient(135deg, #0F5132, #1F7A8C);
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    margin-top: 3px !important
}

.current-date-card,
.current-time-card {
    background-color: rgb(255 255 255 / .9);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgb(0 0 0 / .1);
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid
}

.date-display,
.time-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 5px rgb(0 0 0 / .1)
}

.hijri-display,
.location-display {
    font-size: 1.3rem;
    color: var(--secondary-color)
}

.flag-icon {
    width: 25px;
    height: 18px;
    margin-right: 10px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgb(0 0 0 / .2)
}

.autocomplete-item {
    color: #000
}

.islamic-city,
.prayer-name {
    align-items: center;
    display: flex
}

.input_label {
    color: #000
}

.autocomplete-item i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem
}

.section {
    padding: 1px 0
}

.prayer-card:before0 {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(13 110 110 / .05) 0, #fff0 100%);
    z-index: 0
}

.prayer-card:hover {
    box-shadow: 0 15px 35px rgb(0 0 0 / .1)
}

.prayer-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px
}

.prayer-name i {
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--accent-color)
}

.prayer-time {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color)
}

.prayer-time small {
    font-size: 1rem;
    color: var(--light-text);
    margin-left: 5px
}

.world-map {
    background: url(https://nextprayertime.com/images/World_map.webp) center no-repeat;
    min-height: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgb(0 0 0 / .1);
    background-color: rgb(255 255 255 / .856)
}

.islamic-city {
    position: absolute;
    background: var(--primary-color);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: .4s;
    box-shadow: 0 5px 15px rgb(0 0 0 / .2);
    z-index: 1
}

.calendar-day,
.event-card,
.event-card-image,
.today {
    position: relative
}

.islamic-city:hover {
    transform: scale(1.5);
    z-index: 10;
    background: var(--accent-color)
}

.islamic-city:after {
    content: attr(data-city);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(0 0 0 / .8);
    color: #fff;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 14px;
    opacity: 0;
    transition: opacity .3s;
    white-space: nowrap;
    font-weight: 400
}

.islamic-city:hover:after {
    opacity: 1
}

    {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    border-right: 3px solid var(--islamic-gold);
    text-align: center;
    box-shadow: 0 5px 20px rgb(0 0 0 / .1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    /* Slow and gentle shine animation */
    animation: gentlePulse 3s ease-in-out infinite;
}

/* Shine effect on hover only - slower version */

.next-prayer-banner:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 2.5s ease-in-out forwards;
    /* Slower shine */
}

/* Alternative: Subtle background animation */

.next-prayer-banner-subtle {
    background: linear-gradient( 135deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Countdown badge styling */

.countdown-badge {
    background-color: var(--islamic-gold);
    color: #fff;
    padding: .2rem .6rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    margin-left: .5rem;
    display: inline-block;
    animation: softGlow 2s ease-in-out infinite;
}

/* Urgent state - very gentle pulse */

.urgent {
    background: linear-gradient(135deg, #c0392b, #e74c3c) !important;
    animation: gentlePulse 2s ease-in-out infinite !important;
}

.autocomplete-item:hover,
.calendar-day:hover,
.prayer-table tr:hover td {
    background-color: #f9f9f9
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 0;
    }
    20% {
        opacity: 0.3;
        /* Gentle fade in */
    }
    50% {
        opacity: 0.5;
        /* Soft peak */
    }
    80% {
        opacity: 0.2;
        /* Gentle fade out */
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

.urgent {
    background-color: #c0392b !important
}

.calendar-header,
.prayer-table th {
    background-color: var(--secondary-color)
}

.prayer-table {
    border-spacing: 0;
    box-shadow: 0 10px 30px rgb(0 0 0 / .05)
}

.city-tag {
    color: #000
}

.country-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px
}

.history-item,
.month-selector {
    justify-content: space-between
}

.country-title i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.5rem
}

@media (max-width:992px) {
    .hero {
        min-height: 70vh
    }
    .section {
        padding: 1px 0 !important
    }
    .section-title {
        font-size: 1.8rem
    }
    .time-display {
        font-size: 2.5rem
    }
}

@media (max-width:768px) {
    .hero {
        min-height: 60vh;
        text-align: center
    }
    .search-card {
        padding: 1.5rem
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px
    }
    .time-display {
        font-size: 2rem
    }
    .prayer-card {
        padding: 20px
    }
}

@media (max-width:576px) {
    .navbar-brand,
    .prayer-time {
        font-size: 1.5rem
    }
    .hero {
        min-height: 50vh
    }
    .section-title {
        font-size: 1.4rem
    }
}

.calendar-header {
    color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 15px;
    font-weight: 600
}

.calendar-day-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 500
}

.calendar-day {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 15px 10px;
    min-height: 120px;
    transition: .3s
}

.calendar-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgb(0 0 0 / .1)
}

.calendar-day-number {
    font-weight: 600;
    margin-bottom: 5px
}

.today {
    background-color: rgb(13 110 110 / .1);
    border: 2px solid var(--accent-color)
}

.today:after {
    content: "Today";
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 600
}

.islamic-event {
    font-size: .7rem;
    background-color: rgb(212 175 55 / .2);
    color: var(--secondary-color);
    padding: 2px 5px;
    border-radius: 3px;
    margin-top: 3px;
    display: inline-block;
    transition: .3s
}

.event-card:hover .event-card-image,
.islamic-event:hover {
    transform: scale(1.05)
}

.important-event {
    background-color: rgb(192 57 43 / .1);
    color: #c0392b;
    font-weight: 500;
    animation: 2s infinite pulse
}

.month-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0 0 0 / .05)
}

.current-city,
.month-title,
.section-title {
    color: var(--secondary-color)
}

.year-title {
    font-size: 1.2rem;
    color: var(--light-text)
}

.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgb(0 0 0 / .05);
    padding: 0;
    margin-bottom: 25px;
    transition: .4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid
}

.event-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: .5s;
    display: flex;
    align-items: flex-end
}

.event-card-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgb(0 0 0 / .8), transparent 50%)
}

.event-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column
}

.event-date {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center
}

.event-date i {
    margin-right: 15px;
    font-size: 1.3rem;
    color: var(--accent-color)
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.3
}

.event-desc {
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1
}

.event-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgb(0 0 0 / .1)
}

.event-countdown {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgb(255 255 255 / .9);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 3px 10px rgb(0 0 0 / .1);
    z-index: 1
}

.islamic-month-card,
.qibla-detail {
    box-shadow: 0 5px 15px rgb(0 0 0 / .05)
}

.event-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    z-index: 1;
    transform: translateY(20px);
    transition: .3s;
    opacity: 0
}

.event-card:hover .event-overlay-content {
    transform: translateY(0);
    opacity: 1
}

.event-overlay-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgb(0 0 0 / .3)
}

.event-overlay-date {
    font-weight: 600;
    text-shadow: 0 1px 3px rgb(0 0 0 / .3)
}

.islamic-month-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: .4s;
    border-left: 3px solid var(--primary-color);
    position: relative
}

.islamic-month-card.active {
    background-color: rgb(13 110 110 / .1);
    border-left: 3px solid var(--accent-color);
    animation: 2s infinite alternate glow
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgb(212 175 55 / .5)
    }
    to {
        box-shadow: 0 0 15px rgb(212 175 55 / .8)
    }
}

.islamic-month-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgb(0 0 0 / .1)
}

.islamic-month-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: 15px;
    min-width: 40px;
    text-align: center
}

.islamic-month-content {
    flex-grow: 1
}

.islamic-month-name {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px
}

.date-info,
.islamic-month-desc {
    font-size: .8rem;
    color: var(--light-text)
}

.date-info {
    margin-top: 5px
}

.qibla-direction,
.ramadan-day-sehri .ramadan-day-time-value,
.timeline-date {
    color: var(--primary-color)
}

.conversion-result {
    background-color: rgb(13 110 110 / .1);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    display: none;
    animation: .5s fadeIn
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.events-timeline {
    position: relative;
    padding-left: 30px
}

.events-timeline:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color)
}

.timeline-event {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee
}

.timeline-event:before {
    content: "";
    position: absolute;
    left: -30px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--accent-color);
    border: 3px solid var(--primary-color)
}

.timeline-date {
    font-weight: 600;
    margin-bottom: 5px
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px
}

@media (max-width:992px) {
    .hero {
        min-height: 50vh
    }
    .section {
        padding: 70px 0
    }
    .section-title {
        font-size: 1.8rem
    }
    .date-display {
        font-size: 2.5rem
    }
    .calendar-day {
        min-height: 100px;
        padding: 10px 5px
    }
}

@media (max-width:768px) {
    .hero {
        min-height: 40vh;
        text-align: center
    }
    .search-card {
        padding: 1.5rem
    }
    .section {
        padding: 50px 0
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px
    }
    .date-display {
        font-size: 2rem
    }
    .event-card {
        padding: 20px
    }
    .calendar-day {
        min-height: 80px
    }
}

@media (max-width:576px) {
    .navbar-brand {
        font-size: 1.5rem
    }
    .hero {
        min-height: 35vh
    }
    .month-title,
    .section-title {
        font-size: 1.4rem
    }
    .calendar-day-header {
        padding: 5px;
        font-size: .8rem
    }
    .calendar-day {
        font-size: .8rem;
        min-height: 70px
    }
}

.qibla-card {
    border-left: 5px solid var(--primary-color);
    text-align: center
}

.qibla-details {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem
}

.qibla-detail {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: 10px;
    min-width: 120px
}

.city-tag,
.tasbeeh-card {
    background-color: #fff;
    transition: .3s
}

.detail-value,
.qibla-detail-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color)
}

.city-location,
.dua-reference,
.qibla-detail-label {
    font-size: .9rem;
    color: var(--light-text)
}

.city-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    margin: 8px;
    box-shadow: 0 3px 10px rgb(0 0 0 / .05);
    border: 1px solid #eee
}

.city-tag:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgb(0 0 0 / .1)
}

.direction-line {
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-dasharray: 10, 5;
    fill: none
}

@media (max-width:992px) {
    .hero {
        min-height: 70vh
    }
    .section {
        padding: 70px 0
    }
    .section-title {
        font-size: 1.8rem
    }
    .qibla-compass {
        width: 240px;
        height: 240px
    }
    .qibla-details {
        flex-wrap: wrap
    }
    .qibla-detail {
        margin-bottom: 15px
    }
}

.tasbeeh-counter-container {
    max-width: 800px;
    margin: 0 auto
}

.tasbeeh-card {
    border-radius: 15px;
    box-shadow: 0 15px 40px rgb(0 0 0 / .1);
    padding: 2.5rem;
    margin-bottom: 30px;
    border: 1px solid
}

.tasbeeh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgb(0 0 0 / .15)
}

.counter-display {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 20px 0;
    text-shadow: 0 2px 5px rgb(0 0 0 / .1)
}

.dhikr-text {
    font-size: 2.5rem;
    text-align: center;
    margin: 30px 0;
    color: var(--secondary-color);
    min-height: 80px
}

.counter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px
}

.counter-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 5px 15px rgb(0 0 0 / .1)
}

.counter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgb(0 0 0 / .15)
}

.city-card,
.dhikr-option:hover,
.history-card {
    box-shadow: 0 5px 15px rgb(0 0 0 / .05)
}

.increment-btn {
    background-color: var(--primary-color);
    color: #fff
}

.decrement-btn,
body {
    color: var(--text-color)
}

.decrement-btn {
    background-color: #f8f9fa
}

.reset-btn {
    background-color: var(--accent-color);
    color: #fff
}

.dhikr-selector {
    margin-top: 30px
}

.dhikr-option {
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
    transition: .3s;
    border: 1px solid;
    display: flex;
    align-items: center;
    position: relative
}

.dhikr-option:hover {
    background-color: rgb(13 110 110 / .05);
    transform: translateY(-3px)
}

.dhikr-option.active {
    background-color: rgb(13 110 110 / .1);
    border-left: 3px solid var(--accent-color)
}

.dhikr-option .arabic {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right
}

.dhikr-option .english {
    flex-grow: 1;
    margin-right: 15px
}

.dhikr-option .count {
    background-color: var(--accent-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700
}

.hero:before,
.highlight-prayer:after {
    left: 0;
    top: 0;
    height: 100%;
    position: absolute;
    content: ""
}

.dhikr-clear-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: 0 0;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    font-size: .8rem;
    transition: .3s
}

.dhikr-clear-btn:hover {
    color: #dc3545
}

.history-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px
}

.history-item {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex
}

.history-item:last-child,
.prayer-table tr:last-child td {
    border-bottom: none
}

.history-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px
}

.pulse {
    animation: .5s pulse
}

.audio-player.playing,
.urgent {
    animation: 1.5s infinite pulse
}

@media (max-width:768px) {
    .hero {
        min-height: 60vh
    }
    .section {
        padding: 50px 0
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px
    }
    .qibla-compass {
        width: 200px;
        height: 200px
    }
    .qibla-details {
        flex-direction: column;
        align-items: center
    }
    .qibla-detail {
        width: 100%
    }
    .counter-display {
        font-size: 4rem
    }
    .dhikr-text {
        font-size: 2rem
    }
    .counter-btn {
        width: 70px;
        height: 70px
    }
    .dhikr-option .arabic {
        font-size: 1.5rem;
        min-width: 60px
    }
}

@media (max-width:576px) {
    .dhikr-text,
    .navbar-brand {
        font-size: 1.5rem
    }
    .hero {
        min-height: 50vh
    }
    .section-title {
        font-size: 1.4rem
    }
    .search-card {
        padding: 1.5rem
    }
    .counter-display {
        font-size: 3rem
    }
    .counter-controls,
    .dhikr-option {
        flex-wrap: wrap
    }
    .counter-btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem
    }
    .dhikr-option .english {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%
    }
    .dhikr-option .count {
        margin-left: auto
    }
}

:root {
    --primary-color: #0d6e6e;
    --secondary-color: #054545;
    --accent-color: #d4af37;
    --light-color: #f5f5f0;
    --text-color: #333;
    --light-text: #777;
    --urgent-color: #c0392b;
    --islamic-green: #228b22;
    --islamic-gold: #d4af37;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --primary-color: #0d6e6e;
    --secondary-color: #054545;
    --accent-color: #d4af37;
    --light-color: #f5f5f0;
    --text-color: #333;
    --light-text: #777
}

@media (max-width:767px) {
    #popularCitiesContainer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem
    }
    .city-card {
        padding: 15px;
        margin-bottom: 0
    }
    .city-card i {
        font-size: 1.2rem;
        margin-right: 10px
    }
}

.city-card {
    display: flex;
    align-items: center;
    border-left: 3px solid var(--primary-color)
}

.city-card:hover {
    box-shadow: 0 10px 25px rgb(0 0 0 / .1)
}

.related-cities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem
}

.city-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: .5rem
}

.monthly-calendar-container,
.next-prayer-banner,
.prayer-card {
    margin-bottom: 1.5rem
}

.hero:before {
    width: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="10" y="50" font-family="Arial" font-size="20" fill="rgba(255,255,255,0.05)">ﷲ</text></svg>');
    opacity: .1
}

.section-title:after {
    content: "";
    background: var(--accent-color)
}

.prayer-card {
    background: #ffffff52;
    border-radius: 12px;
    padding: 1rem;
    transition: .3s;
}
 h2,h3 {
    position: relative;
    padding-bottom: 15px;
    
    font-weight: 700;
}

@media (min-width:768px) {
    .hero {
        min-height: 220px
    }
    .section {
        padding: 2.5rem 0
    }
    .section-title {
        font-size: 1.5rem
    }
    .prayer-card {
        padding: 1.5rem
    }
}

.prayer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgb(0 0 0 / .1)
}

.prayer-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    box-shadow: var(--card-shadow)
}

.prayer-table th {
    color: #fff;
    padding: .75rem;
    text-align: left;
    font-weight: 600;
    font-size: .85rem
}

.prayer-table td {
    transition: .3s;
    padding: .75rem;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    font-size: .85rem
}

@media (max-width:575px) {
    #popularCitiesContainer {
        grid-template-columns: 1fr
    }
    .prayer-table td,
    .prayer-table th {
        padding: .5rem;
        font-size: .8rem
    }
}

.highlight-prayer {
    background-color: rgb(13 110 110 / .1) !important;
    font-weight: 600;
    position: relative
}

.highlight-prayer:after {
    width: 4px;
    background-color: var(--accent-color)
}

#loading-overlay,
.qibla-card:before {
    left: 0;
    width: 100%;
    height: 100%;
    top: 0
}

.next-prayer-banner {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    border-right: 3px solid var(--islamic-gold)
}

.urgent {
    background: linear-gradient(135deg, var(--urgent-color), #e74c3c) !important
}

.countdown-badge {
    background-color: var(--islamic-gold);
    color: #fff;
    padding: .2rem .6rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    margin-left: .5rem
}

.monthly-calendar-container {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.calendar-nav-btn,
body {
    background-color: var(--light-color)
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

.calendar-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem
}

.calendar-nav {
    display: flex;
    gap: .5rem
}

.calendar-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: none;
    font-size: .8rem
}

.calendar-day-names,
.monthly-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(40px, 1fr))
}

.calendar-day-names,
.monthly-calendar-day-header {
    font-size: .75rem;
    color: var(--primary-color);
    text-align: center
}

.calendar-day-names {
    font-weight: 600;
    margin-bottom: .5rem
}

.monthly-calendar-grid {
    gap: .5rem;
    min-width: 300px
}

.monthly-calendar-day {
    min-height: 80px;
    padding: .5rem;
    border-radius: 8px;
    border: 1px solid #eee;
    background-color: #fff;
    position: relative
}

.monthly-calendar-day.empty {
    background-color: #fff0;
    border: none
}

.monthly-calendar-day.today {
    background-color: rgb(13 110 110 / .1);
    border: 2px solid var(--primary-color)
}

.monthly-calendar-day-header {
    font-weight: 700;
    margin-bottom: .25rem
}

.monthly-prayer-time {
    font-size: .6rem;
    margin: .1rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2
}

@media (min-width:576px) {
    .monthly-calendar-day {
        min-height: 100px
    }
    .monthly-prayer-time {
        font-size: .65rem
    }
}

.monthly-prayer-time span {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-block;
    width: 2.2rem
}

.daily-calendar-container {
    display: none
}

.city-time-display {
    background-color: rgb(0 0 0 / .3);
    border-radius: 8px;
    padding: .75rem;
    margin-top: 1rem;
    color: #fff;
    font-weight: 500;
    font-size: .85rem
}

.city-time {
    font-size: 1rem;
    color: var(--islamic-gold);
    font-weight: 600
}

#loading-overlay {
    position: fixed;
    background: rgb(255 255 255 / .9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column
}

.loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary-color)
}

.prayer-icon {
    color: var(--primary-color);
    margin-right: .5rem
}

.ramadan-day-iftar .ramadan-day-time-value,
.text-accent {
    color: var(--accent-color)
}

.bg-light-primary {
    background-color: rgb(13 110 110 / .1)
}

.breadcrumb {
    background-color: #fff0;
    padding: 0;
    font-size: .75rem;
    margin-bottom: .5rem
}

.breadcrumb-item a {
    color: #fff
}

.breadcrumb-item.active {
    color: var(--islamic-gold)
}

@media (max-width:767px) {
    .daily-calendar-date,
    .daily-prayer-name {
        font-weight: 600;
        color: var(--primary-color)
    }
    .monthly-calendar-container {
        display: none
    }
    .daily-calendar-container {
        display: block;
        background: #fff;
        border-radius: 10px;
        padding: 1rem;
        box-shadow: var(--card-shadow);
        margin-bottom: 1.5rem
    }
    .daily-calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem
    }
    .daily-calendar-date {
        font-size: 1rem
    }
    .daily-calendar-nav {
        display: flex;
        gap: .5rem
    }
    .daily-calendar-nav-btn {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--light-color);
        color: var(--primary-color);
        border: none;
        font-size: .8rem
    }
    .daily-prayer-times {
        display: grid;
        grid-template-columns: 1fr;
        gap: .5rem
    }
    .daily-prayer-time {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .75rem;
        border-radius: 8px;
        background-color: rgb(13 110 110 / .05)
    }
    .daily-prayer-time.today {
        background-color: rgb(13 110 110 / .1);
        border: 1px solid var(--primary-color)
    }
    .daily-prayer-value {
        font-weight: 500
    }
    body {
        padding-top: 56px
    }
    .navbar {
        padding: .25rem 0
    }
    .navbar-brand {
        font-size: 1.1rem
    }
    .hero {
        min-height: 160px
    }
    .section {
        padding: 1.25rem 0
    }
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem
    }
    .prayer-card {
        padding: 1rem;
        margin-bottom: 1.25rem
    }
    .next-prayer-banner {
        padding: .75rem
    }
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }
    .prayer-table td,
    .prayer-table th {
        white-space: nowrap
    }
    .related-cities {
        grid-template-columns: 1fr 1fr;
        gap: 1rem
    }
}

@media (min-width:992px) {
    .navbar-brand {
        font-size: 1.8rem
    }
    .nav-link {
        font-size: 1rem;
        padding: .5rem 1rem !important
    }
}

body {
    padding-top: 70px;
    font-family: Poppins, sans-serif;
    line-height: 1.6
}

.navbar {
    background-color: var(--secondary-color) !important
}

.hero-content {
    position: relative;
    z-index: 2
}

.btn-back {
    background-color: rgb(255 255 255 / .2);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: .3s;
    display: inline-flex;
    align-items: center
}

.btn-back:hover {
    background-color: rgb(255 255 255 / .3);
    transform: translateX(-3px);
    color: #fff
}

.qibla-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgb(0 0 0 / .05);
    padding: 30px;
    margin-bottom: 25px;
    transition: .4s;
    position: relative;
    overflow: hidden
}

#qiblaMap,
#ramadanMap,
.qibla-compass {
    box-shadow: 0 10px 30px rgb(0 0 0 / .1)
}

.qibla-card:before {
    content: "";
    position: absolute;
    background: linear-gradient(135deg, rgb(13 110 110 / .05) 0, #fff0 100%);
    z-index: 0
}

.city-card:hover,
.qibla-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgb(0 0 0 / .1)
}

.qibla-compass {
    width: 280px;
    height: 280px;
    position: relative;
    border-radius: 50%;
    background-color: #fff;
    border: 15px solid var(--light-color);
    margin: 0 auto
}

.compass-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url(https://www.freeiconspng.com/thumbs/compass-rose-png/compass-rose-png-7.png) center/contain no-repeat;
    transition: transform .5s
}

.qibla-indicator {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 30px;
    background-color: var(--accent-color);
    border-radius: 5px;
    z-index: 10
}

.location-info {
    margin-bottom: 30px
}

.location-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center
}

.location-title i {
    margin-right: 10px;
    color: var(--primary-color)
}

.location-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px
}

.location-detail {
    background-color: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgb(0 0 0 / .05)
}

.detail-label {
    font-size: .9rem;
    color: var(--light-text);
    margin-bottom: 5px
}

.qibla-direction {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin: 20px 0
}

#qiblaMap {
    height: 500px;
    width: 100%;
    border-radius: 15px;
    margin: 20px 0;
    z-index: 1
}

.distance-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(255 255 255 / .9);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgb(0 0 0 / .1);
    z-index: 1000;
    font-weight: 600;
    color: var(--primary-color)
}

.pulse-marker {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 48px;
    height: 48px;
    background-color: rgb(255 0 0 / .3);
    border-radius: 50%;
    animation: 2s infinite pulse;
    z-index: -1
}

@media (max-width:992px) {
    .section {
        padding: 60px 0
    }
    .location-details {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:768px) {
    .section {
        padding: 50px 0
    }
    .qibla-compass {
        width: 240px;
        height: 240px
    }
    .location-details {
        grid-template-columns: 1fr
    }
}

@media (max-width:576px) {
    .navbar-brand {
        font-size: 1.5rem
    }
    .hero {
        min-height: 250px
    }
    .section-title {
        font-size: 1.6rem
    }
}

.search-card {
    background-color: rgb(255 255 255 / .95);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgb(0 0 0 / .15);
    padding: 2.5rem;
    border: 1px solid;
    transform: translateY(0);
    transition: transform .3s, box-shadow .3s
}

.btn-primary,
.form-control-lg {
    font-size: 1.1rem;
    transition: .3s
}

.search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgb(0 0 0 / .2)
}

.form-control-lg {
    padding: 1.2rem 1.8rem;
    border-radius: 10px;
    border: 2px solid #eee
}

.form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .25rem rgb(13 110 110 / .25)
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    letter-spacing: .5px;
    position: relative;
    overflow: hidden
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px)
}

.btn-primary:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / .2), transparent);
    transition: .5s
}

.btn-primary:hover:before {
    left: 100%
}

.current-city {
    display: flex;
    align-items: center;
    justify-content: center
}

.autocomplete-results {
    position: absolute;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 25px rgb(0 0 0 / .1);
    border: 1px solid #eee;
    border-top: none
}

.autocomplete-item {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: .2s;
    border-bottom: 1px solid #f5f5f5
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgb(0 0 0 / .05);
    padding: 30px;
    margin-bottom: 25px;
    transition: .4s;
    border-left: 5px solid var(--primary-color);
    text-align: center;
    height: 100%
}

.audio-player,
.month-btn,
.ramadan-day {
    cursor: pointer;
    transition: .3s
}

.ramadan-day.active,
.ramadan-day:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px)
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px
}

.islamic-pattern {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(13,110,110,0.05)" d="M50,0 C60,20 80,20 100,30 C80,40 80,60 90,80 C70,70 50,80 50,100 C50,80 30,70 10,80 C20,60 20,40 0,30 C20,20 40,20 50,0 Z"></path></svg>') 0 0/100px 100px
}

.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.month-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0
}

.month-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px
}

.month-btn:hover {
    background-color: var(--secondary-color)
}

.month-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed
}

@media (max-width:992px) {
    .hero {
        min-height: 60vh
    }
    .section {
        padding: 60px 0
    }
    .section-title {
        font-size: 1.8rem
    }
    .ramadan-calendar {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr))
    }
    .ramadan-day {
        padding: 15px
    }
}

@media (max-width:768px) {
    .hero {
        min-height: 50vh
    }
    .section {
        padding: 40px 0
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px
    }
    .search-card {
        padding: 1.5rem
    }
    .ramadan-calendar {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px
    }
    .ramadan-day {
        padding: 12px
    }
    .today-highlight-times {
        flex-direction: column;
        gap: 15px
    }
    .today-highlight-time-value {
        font-size: 2rem
    }
}

@media (max-width:576px) {
    .navbar-brand {
        font-size: 1.5rem
    }
    .hero {
        min-height: 40vh
    }
    .section-title {
        font-size: 1.4rem
    }
    .ramadan-calendar {
        grid-template-columns: 1fr
    }
    .ramadan-day {
        padding: 15px;
        width: 100%
    }
    .dua-card,
    .today-highlight {
        padding: 20px
    }
    .today-highlight-time-value {
        font-size: 1.8rem
    }
    .audio-player {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px
    }
    .month-title {
        font-size: 1.2rem
    }
    .month-btn {
        padding: 6px 12px;
        font-size: .9rem
    }
}

.arabic-font {
    font-size: 1.4rem;
    line-height: 2
}

.navbar {
    background-color: rgb(13 110 110 / .9) !important;
    box-shadow: 0 2px 20px rgb(0 0 0 / .1)
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center
}

.navbar-brand i {
    color: var(--accent-color);
    margin-right: 10px
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    padding: 8px 0 !important
}

.nav-link:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width .3s
}

.nav-link.active:after,
.nav-link:hover:after {
    width: 100%
}

.today-highlight {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 15px 30px rgb(0 0 0 / .1);
    position: relative;
    overflow: hidden
}

.today-highlight:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.05)" d="M50,0 C60,20 80,20 100,30 C80,40 80,60 90,80 C70,70 50,80 50,100 C50,80 30,70 10,80 C20,60 20,40 0,30 C20,20 40,20 50,0 Z"></path></svg>') 0 0/100px 100px
}

.today-highlight-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative
}

.today-highlight-times {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap
}

.today-highlight-time {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1
}

.today-highlight-time-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent-color)
}

.today-highlight-time-label {
    font-size: 1.1rem;
    opacity: .9
}

.current-city {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center
}

.ramadan-calendar-section {
    background-color: #fff;
    padding: 50px 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgb(0 0 0 / .05);
    margin-top: -50px;
    position: relative;
    z-index: 2
}

.ramadan-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 2rem
}

.ramadan-day {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0 0 0 / .05);
    text-align: center;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center
}

.ramadan-day:hover {
    box-shadow: 0 10px 20px rgb(0 0 0 / .1)
}

.ramadan-day.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 20px rgb(0 0 0 / .15)
}

.city-card,
.dua-card {
    border-left: 5px solid var(--primary-color)
}

.ramadan-day-date {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem
}

.ramadan-day-hijri {
    font-size: .9rem;
    color: var(--light-text);
    margin-bottom: 15px;
    padding: 5px 10px;
    background: rgb(0 0 0 / .05);
    border-radius: 20px
}

.ramadan-day.active .ramadan-day-hijri {
    color: rgb(255 255 255 / .8);
    background: rgb(255 255 255 / .1)
}

.ramadan-day-times {
    width: 100%;
    margin-top: auto
}

.ramadan-day-time {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed
}

.audio-player,
.dua-title {
    align-items: center;
    display: flex
}

.ramadan-day.active .ramadan-day-time {
    border-bottom-color: rgb(255 255 255 / .2)
}

.ramadan-day-time-label {
    color: var(--light-text);
    font-size: .85rem
}

.ramadan-day.active .ramadan-day-time-label {
    color: rgb(255 255 255 / .8)
}

.ramadan-day-time-value {
    font-weight: 500
}

.ramadan-day.active .ramadan-day-iftar .ramadan-day-time-value,
.ramadan-day.active .ramadan-day-sehri .ramadan-day-time-value {
    color: #fff
}

.dua-section {
    background-color: var(--light-color);
    padding: 50px 0;
    margin: 50px 0;
    border-radius: 15px
}

.dua-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgb(0 0 0 / .05);
    position: relative
}

.dua-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px
}

.dua-title i {
    margin-right: 15px;
    color: var(--accent-color)
}

.dua-arabic {
    text-align: right;
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgb(13 110 110 / .05);
    border-radius: 10px
}

.dua-translation {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 15px
}

.audio-player {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    justify-content: center;
    box-shadow: 0 3px 10px rgb(0 0 0 / .1)
}

.map-container,
.section-title {
    position: relative
}

.audio-player:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1)
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(192 57 43 / .7);
        transform: scale(.8);
        opacity: .7;
        box-shadow: 0 0 0 0 rgb(13 110 110 / .4)
    }
    70% {
        box-shadow: 0 0 0 10px #fff0;
        transform: scale(1.3);
        opacity: 0;
        box-shadow: 0 0 0 15px #fff0
    }
    50% {
        transform: scale(1.02)
    }
    100% {
        transform: scale(.8);
        opacity: 0;
        box-shadow: 0 0 0 0 #fff0
    }
}

.section-title {
    margin-bottom: 50px;
    padding-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 2.2rem
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%)
}

.city-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgb(0 0 0 / .05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    transition: .4s
}

#ramadanMap {
    height: 500px;
    width: 100%;
    border-radius: 15px;
    margin-top: 20px;
    z-index: 1
}

.map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: rgb(255 255 255 / .9);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgb(0 0 0 / .1)
}

.footer,
.moon-phase:before {
    background-color: var(--secondary-color)
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    display: none
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid;
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: 1s ease-in-out infinite spin
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.footer {
    color: #fff;
    padding: 50px 0 20px
}

.copyright,
.footer a {
    color: rgb(255 255 255 / .7)
}

.footer a {
    transition: color .3s
}

.footer a:hover {
    color: #fff;
    text-decoration: underline
}

.copyright {
    border-top: 1px solid;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center
}

.moon-phase {
    width: 60px;
    height: 60px;
    background-color: #f5f5f0;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgb(0 0 0 / .2);
    margin: 0 auto 20px
}

.moon-phase:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(.9)
}

.hijri-date {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 10px
}

@media (max-width:1200px) {
    .ramadan-calendar {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr))
    }
}

@media (max-width:992px) {
    .section {
        padding: 60px 0
    }
    .section-title {
        font-size: 1.8rem
    }
    .ramadan-calendar {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr))
    }
    .ramadan-day {
        padding: 15px
    }
}

@media (max-width:768px) {
    .section {
        padding: 40px 0
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px
    }
    .ramadan-calendar {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px
    }
    .ramadan-day {
        padding: 12px
    }
    .today-highlight-times {
        flex-direction: column;
        gap: 15px
    }
    .today-highlight-time-value {
        font-size: 2rem
    }
}

@media (max-width:576px) {
    .navbar-brand {
        font-size: 1.5rem
    }
    .section-title {
        font-size: 1.4rem
    }
    .ramadan-calendar {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr))
    }
    .ramadan-day {
        padding: 10px;
        font-size: .8rem
    }
    .dua-card,
    .today-highlight {
        padding: 20px
    }
    .today-highlight-time-value {
        font-size: 1.8rem
    }
    .audio-player {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px
    }
}