/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Cinzel:wght@500;600;700;800&display=swap');

:root {
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-arabic: 'Amiri', serif;
    --font-heading: 'Cinzel', serif;
    
    --color-gold-light: #FDE68A;
    --color-gold: #F59E0B;
    --color-gold-dark: #D97706;
    --color-emerald: #10B981;
    --color-emerald-glow: rgba(16, 185, 129, 0.4);
    --color-dark-bg: #070D18;
}

body {
    font-family: var(--font-sans);
    background-color: #F8FAFC;
    color: #1E293B;
    overflow-x: hidden;
}

/* Remove number input spinner controls for sleek inputs */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] { 
    -moz-appearance: textfield; 
}

.font-arabic {
    font-family: var(--font-arabic);
    line-height: 1.8;
}

.font-heading {
    font-family: var(--font-heading);
}

/* Hide scrollbar visually while keeping full scrolling functionality */
.no-scrollbar::-webkit-scrollbar,
aside::-webkit-scrollbar,
main::-webkit-scrollbar,
body::-webkit-scrollbar,
div::-webkit-scrollbar,
::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}

.no-scrollbar,
aside,
main,
body,
div {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}


/* Hero Section Backdrop */
.hero-bg-wrapper {
    position: relative;
    background-image: url('../../lanndding-backgraund.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 600px;
}

.hero-overlay {
    background: linear-gradient(180deg, 
        rgba(7, 13, 24, 0.50) 0%, 
        rgba(7, 13, 24, 0.65) 55%, 
        rgba(7, 13, 24, 0.95) 100%);
}

/* Dynamic Radial Lighting on Hero */
.hero-radial-glow {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(245, 158, 11, 0.05) 50%, rgba(0,0,0,0) 70%);
    filter: blur(60px);
    pointer-events: none;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Gold Text Gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #D97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-emerald-gradient {
    background: linear-gradient(135deg, #6EE7B7 0%, #10B981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow Effects */
.emerald-glow {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.gold-glow {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

/* Hover Animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.hover-scale {
    transition: transform 0.25s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Navigation Link Underline Animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #F59E0B, #FDE68A);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Floating animation */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: floatSlow 5s ease-in-out infinite;
}

/* Pulse animation for active prayer */
@keyframes emeraldPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.pulse-active {
    animation: emeraldPulse 2s infinite;
}

/* ==================== DEENI KHIDMAT (QUICK SERVICES) MODERN 2026 UI ==================== */
.qs-section {
    position: relative;
    padding: 70px 0 80px;
    background: url('../../../quick-section.png') no-repeat center top / cover, #F8FAFD;
}

.qs-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #FFFFFF !important;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    overflow: hidden;
    cursor: pointer;
}

.qs-hexagon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: #FFFFFF !important;
    background: var(--qs-color, #059669);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 16px var(--qs-glow, rgba(0, 0, 0, 0.15));
}

.qs-content {
    flex: 1;
    min-width: 0;
}

.qs-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--qs-color, #0F172A) !important;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
    display: block;
}

.qs-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #64748B !important;
    margin: 3px 0 0 0;
    line-height: 1.2;
    transition: color 0.3s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qs-arrow {
    color: var(--qs-color, #94A3B8) !important;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover Animation: Transforms to full theme gradient */
.qs-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: var(--qs-gradient) !important;
    box-shadow: 0 16px 32px var(--qs-glow, rgba(0, 0, 0, 0.25)) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.qs-card:hover .qs-title {
    color: #FFFFFF !important;
}

.qs-card:hover .qs-subtitle {
    color: rgba(255, 255, 255, 0.92) !important;
}

.qs-card:hover .qs-arrow {
    color: #FFFFFF !important;
    transform: translateX(4px);
}

.qs-card:hover .qs-hexagon {
    background: #FFFFFF !important;
    color: var(--qs-color) !important;
    transform: scale(1.06) rotate(6deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Featured Card (Blog Card in Reference Image) */
.qs-card.qs-featured {
    background: var(--qs-gradient) !important;
    box-shadow: 0 14px 28px var(--qs-glow) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.qs-card.qs-featured .qs-title { color: #FFFFFF !important; }
.qs-card.qs-featured .qs-subtitle { color: rgba(255, 255, 255, 0.92) !important; }
.qs-card.qs-featured .qs-arrow { color: #FFFFFF !important; }
.qs-card.qs-featured .qs-hexagon {
    background: #FFFFFF !important;
    color: var(--qs-color) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Specific Card Color Themes */
.qs-theme-quran {
    --qs-color: #059669;
    --qs-gradient: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --qs-glow: rgba(16, 185, 129, 0.4);
}

.qs-theme-masail {
    --qs-color: #0284C7;
    --qs-gradient: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    --qs-glow: rgba(14, 165, 233, 0.4);
}

.qs-theme-duaa {
    --qs-color: #7C3AED;
    --qs-gradient: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    --qs-glow: rgba(139, 92, 246, 0.4);
}

.qs-theme-hadeesh {
    --qs-color: #D97706;
    --qs-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --qs-glow: rgba(245, 158, 11, 0.4);
}

.qs-theme-nikah {
    --qs-color: #E11D48;
    --qs-gradient: linear-gradient(135deg, #F43F5E 0%, #E11D48 100%);
    --qs-glow: rgba(244, 63, 94, 0.4);
}

.qs-theme-reg-nikah {
    --qs-color: #DB2777;
    --qs-gradient: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    --qs-glow: rgba(236, 72, 153, 0.4);
}

.qs-theme-book {
    --qs-color: #6366F1;
    --qs-gradient: linear-gradient(135deg, #818CF8 0%, #4F46E5 100%);
    --qs-glow: rgba(99, 102, 241, 0.4);
}

.qs-theme-blog {
    --qs-color: #7C3AED;
    --qs-gradient: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 50%, #4F46E5 100%);
    --qs-glow: rgba(124, 58, 237, 0.5);
}

.qs-theme-donate {
    --qs-color: #DC2626;
    --qs-gradient: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    --qs-glow: rgba(239, 68, 68, 0.4);
}

.qs-theme-byan {
    --qs-color: #0D9488;
    --qs-gradient: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
    --qs-glow: rgba(20, 184, 166, 0.4);
}

.qs-theme-education {
    --qs-color: #0284C7;
    --qs-gradient: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    --qs-glow: rgba(56, 189, 248, 0.4);
}

.qs-theme-festival {
    --qs-color: #EA580C;
    --qs-gradient: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    --qs-glow: rgba(249, 115, 22, 0.4);
}

.qs-theme-zakat {
    --qs-color: #16A34A;
    --qs-gradient: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    --qs-glow: rgba(34, 197, 94, 0.4);
}

.qs-theme-fitra {
    --qs-color: #CA8A04;
    --qs-gradient: linear-gradient(135deg, #EAB308 0%, #CA8A04 100%);
    --qs-glow: rgba(234, 179, 8, 0.4);
}

.qs-theme-ramzan {
    --qs-color: #9333EA;
    --qs-gradient: linear-gradient(135deg, #A855F7 0%, #7E22CE 100%);
    --qs-glow: rgba(168, 85, 247, 0.4);
}

