/* START ANALOG CLOCK CSS */
.clock-container {
            position: relative;
            width: 350px;
            height: 350px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .clock {
            position: relative;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* Double border effect */
        .clock::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff9a9e, #fad0c4);
            z-index: -1;
        }
        
        .clock::after {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            border-radius: 50%;
            background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
            z-index: -2;
        }
        
        /* Hour marks */
        .hour-marks {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }
        
        .hour-mark {
            position: absolute;
            width: 4px;
            height: 15px;
            background: #333;
            left: 50%;
            top: 10px;
			border-radius: 20%;
            margin-left: -2px;
            transform-origin: 50% 140px;
        }
        
        /* Minute dots */
        .minute-dots {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }
        
        .minute-dot {
            position: absolute;
            width: 4px;
            height: 8px;
            background: #000;
            border-radius: 20%;
            left: 50%;
            top: 15px;
            margin-left: -2px;
            transform-origin: 50% 135px;
        }
        
        /* Numbers */
        .numbers {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }
        
        .number {
            position: absolute;
            width: 30px;
            height: 30px;
            text-align: center;
            line-height: 30px;
            font-weight: bold;
            color: #333;
            font-size: 18px;
        }
        
        /* Clock hands */
        .hands {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }
        
        .hand {
            position: absolute;
            left: 50%;
            bottom: 50%;
            transform-origin: 50% 100%;
            border-radius: 4px 4px 2px 2px;
            transform: translateX(-50%);
        }
        
        .hour-hand {
            width: 8px;
            height: 70px;
            background: #333;
            z-index: 3;
        }
        
        .minute-hand {
            width: 6px;
            height: 100px;
            background: #555;
            z-index: 2;
        }
        
        .second-hand {
            width: 2px;
            height: 130px;
            background: #e74c3c;
            z-index: 1;
        }
        
        .center-circle {
            position: absolute;
            width: 20px;
            height: 20px;
            background: #e74c3c;
            border-radius: 50%;
            z-index: 10;
            box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
        }
        
        /* Digital time display */
        .digital-time {
            position: absolute;
            bottom: 117px;
            width: 50%;
            text-align: center;
            color: white;
            font-size: 1.2rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            background: rgba(0, 0, 0, 0.2);
            padding: 8px 15px;
            border-radius: 20px;
        }
        
        /* Decorative elements */
        .decoration {
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            z-index: -3;
        }
        
        /* responsiveness */
        
        @media (max-width: 768px) {
            .clock-container {
                width: 320px;
                height: 320px;
            }
            
            .decoration {
                width: 370px;
                height: 370px;
            }
            
            .clock {
                width: 270px;
                height: 270px;
            }
        }
/* END ANALOG CLOCK CSS */

/* start dual calendar css */
.calendars-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
	padding: 8px;
}

/* Individual calendar styles */
        .calendar-container1 {
            background: var(--card-bg);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 5px;
            max-width: 500px;
            width: 100%;
            margin: 0 auto;
        }
		
		.calendar-container2 {
            background: var(--card-bg);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 5px;
            max-width: 500px;
            width: 100%;
            margin: 0 auto;
        }
		
		/* Desktop Date Section */
        .date-section.desktop {
            display: flex;
            gap: 10px;
        }

        /* Mobile Date Section */
        .date-section.mobile {
            display: none;
            margin-bottom: 15px;
        }

        .date-row {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }

        .hijri-date, .gregorian-date {
            flex: 1;
            padding: 12px;
            background: var(--footer-bg);
            border-radius: 10px;
            text-align: center;
            min-height: 70px;
            display: flex;
            flex-direction: column;
            justify-content: center;
			font-family: var(--font-heading);
        }

        @media (max-width: 768px) {
            .calendars-wrapper {
                flex-direction: column;
                align-items: center;
				padding: 10px;
            }
            
            .calendar-container1 {
                max-width: 100%;
            }
			
			.calendar-container2 {
                max-width: 100%;
            }
            
            .date-section.desktop {
                display: none;
            }
            
            .date-section.mobile {
                display: block;
            }
            
            .date-row .gregorian-date,
            .date-row .hijri-date {
                flex: 1 0 calc(50% - 10px);
            }
        }

        @media (max-width: 480px) {
            .calendars-wrapper {
				padding: 4px;
				gap: 40px;
				width: 100%;
			}
			.calendar-container1 {
                padding: 4px;
                border-radius: 10px;
            }
			
			.calendar-container2 {
                padding: 4px;
                border-radius: 10px;
            }
            
            .date-row .gregorian-date,
            .date-row .hijri-date {
                flex: 1 0 calc(40% - 5px);
            }
            
            .hijri-date, .gregorian-date {
                padding: 8px;
                min-height: 60px;
            }
            
            .hijri-date h4, .gregorian-date h4 {
                font-size: 0.8rem;
            }
            
            .hijri-date p, .gregorian-date p {
                font-size: 0.8rem;
            }
        }
/* end dual calendar css */

/* START SEARCH SECTION CSS */
		.search-wrapper {
    background: var(--card-bg);
    max-width: 620px;
	margin: 0 auto;
	margin-bottom: 20px;
    width: 100%;
    padding: .5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ===== Branding ===== */
.brand {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: .5rem;
    border-bottom: 2px dashed #d4c9bc;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.brand p {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: var(--accent-color);
}

.brand p span {
    font-weight: 600;
    background: var(--accent-color);
    color: white;
    padding: 0.1rem 0.7rem;
    border-radius: 60px;
    font-size: 1rem;
    margin-left: 6px;
    letter-spacing: 0.3px;
}

.brand .domain {
    font-size: 0.8rem;
    background: var(--footer-bg);
    padding: 0.2rem 1rem;
    border-radius: 30px;
    color: var(--default-text);
    font-weight: 500;
}

.brand-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* ===== Search Container ===== */
.search-container {
    position: relative;
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    background: var(--footer-bg);
    border-radius: 80px;
    padding: 0.1rem 0.1rem 0.1rem 1.5rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.input-group:focus-within {
    background: var(--card-bg);
    border-color: var(--accent-color);
    box-shadow: 0 8px 18px -8px rgba(60, 50, 40, 0.12);
}

.input-group svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-color);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    margin-right: 8px;
    opacity: 0.7;
}

#searchInput {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent-color);
    outline: none;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.2px;
}

#searchInput::placeholder {
    color: var(--default-text);
    font-weight: 300;
    letter-spacing: 0.2px;
    font-size: 1rem;
}

.input-group button {
    background: var(--accent-color);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    border-radius: 60px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.15s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    border: 1px solid #2d3a4b;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.2);
    margin-left: 0.3rem;
}

.input-group button:hover {
    background: #2f4057;
    transform: scale(0.97);
}

.input-group button:active {
    transform: scale(0.94);
}

/* ===== Dropdown ===== */
.keyword-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 20px 40px -12px rgba(20, 20, 20, 0.25), 0 6px 14px -6px rgba(0, 0, 0, 0.08);
    max-height: 320px;
    overflow-y: auto;
    padding: 0.5rem 0.3rem;
    z-index: 100;
    border: 1px solid #e6ddd2;
    transition: opacity 0.18s ease, transform 0.15s ease;
    opacity: 0;
    transform: scaleY(0.92) translateY(-6px);
    transform-origin: top center;
    pointer-events: none;
    visibility: hidden;
}

.keyword-dropdown.active {
    opacity: 1;
    transform: scaleY(1) translateY(0);
    pointer-events: auto;
    visibility: visible;
}

/* ===== Keyword Items ===== */
.keyword-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.4rem;
    margin: 0.1rem 0.2rem;
    border-radius: 60px;
    background: transparent;
    transition: background 0.12s ease, padding-left 0.1s;
    border: 1px solid transparent;
    text-decoration: none;
    color: #1e2a38;
    cursor: pointer;
    font-weight: 480;
    font-size: 1rem;
    gap: 0.6rem;
}

.keyword-item:hover {
    background: #f0ebe4;
    border-color: #d5cbbc;
    padding-left: 1.9rem;
}

.keyword-item:active {
    background: #dacfc2;
}

.keyword-item::before {
    content: "🕌";
    font-size: 0.9rem;
    opacity: 0.5;
    transition: opacity 0.1s;
    margin-right: 0.3rem;
}

.keyword-item:hover::before {
    opacity: 0.9;
}

.keyword-item .kw-text {
    font-weight: 500;
}

.keyword-item .kw-sub {
    font-size: 0.7rem;
    color: #7b6e5e;
    background: #eae3db;
    padding: 0.15rem 0.7rem;
    border-radius: 30px;
    margin-left: auto;
    white-space: nowrap;
}

.keyword-item .kw-url {
    display: none;
}

.keyword-item .kw-city {
    font-size: 0.75rem;
    color: #5a6a7a;
    background: #eef0f2;
    padding: 0.15rem 0.8rem;
    border-radius: 30px;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.keyword-item .kw-prayer-icon {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-right: 0.3rem;
}

/* ===== No Results ===== */
.no-result {
    justify-content: center;
    opacity: 0.6;
    cursor: default;
    font-size: 0.9rem;
    padding: 0.8rem;
}

.no-result::before {
    content: "🔎";
    opacity: 0.5;
    margin-right: 0.4rem;
}

/* ===== Scrollbar ===== */
.keyword-dropdown::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.keyword-dropdown::-webkit-scrollbar-thumb {
    background: #cbbcb0;
    border-radius: 20px;
}

.keyword-dropdown::-webkit-scrollbar-track {
    background: #f2ede7;
    border-radius: 20px;
}

/* ===== Arabic Support ===== */
[dir="rtl"] {
    font-family: 'Inter', 'Noto Sans Arabic', system-ui, sans-serif;
}

[dir="rtl"] .keyword-item::before {
    margin-right: 0;
    margin-left: 0.3rem;
}

[dir="rtl"] .keyword-item .kw-sub {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .keyword-item .kw-city {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .search-wrapper {
        padding: .5rem;
    }

    .input-group {
        padding-left: 1rem;
    }

    #searchInput {
        font-size: 0.95rem;
        padding: 0.8rem 0.2rem;
    }

    .input-group button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .brand p {
        font-size: .8rem;
    }

    .brand {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-controls {
        justify-content: flex-end;
    }

    .keyword-item {
        flex-wrap: wrap;
    }

    .keyword-item .kw-city {
        font-size: 0.65rem;
    }
}
		/* END SEARCH SECTION CSS */