/* Start custom CSS for html, class: .elementor-element-d8c1a6a */@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Nastaliq+Urdu&display=swap');

:root {
    --primary: #064E3B;
    --primary-light: #059669;
    --accent: #D4AF37;
    --accent-hover: #B8860B;
    --text-main: #111827;
    --text-muted: #4B5563;
    --bg-main: #F9FAFB;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --glass-bg: rgba(255, 255, 255, 0.84);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

[lang="ur"] { font-family: 'Noto Nastaliq Urdu', serif; direction: rtl; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000; display: flex; align-items: center;
    transition: var(--transition);
}
.nav-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.logo span { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.cart-icon { position: relative; font-size: 1.5rem; color: var(--text-main); }
.cart-count {
    position: absolute; top: -8px; right: -10px;
    background: var(--accent); color: var(--white);
    font-size: 0.75rem; padding: 2px 6px; border-radius: 50%; font-weight: 700;
}

/* Hero */
.hero {
    position: relative; height: 85vh; min-height: 600px;
    background: linear-gradient(rgba(6, 78, 59, 0.7), rgba(6, 78, 59, 0.85)),
                url('http://misbahiacademy.in/wp-content/uploads/2026/04/hero_background_islamic_academy_1775095706674.jpg') center/cover no-repeat;
    display: flex; align-items: center; color: var(--white); padding-top: 70px;
}
.hero-content { max-width: 700px; }
.hero h1 { font-size: 3.5rem; line-height: 1.25; margin-bottom: 1.5rem; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.9; }

.btn {
    display: inline-block; padding: 1rem 2.5rem; border-radius: 8px;
    font-weight: 600; transition: var(--transition); cursor: pointer; border: none;
    font-family: 'Inter', sans-serif;
}
[lang="ur"].btn { font-family: 'Noto Nastaliq Urdu', serif; font-size: 1.1rem; padding: 0.5rem 2rem 1rem; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); margin-inline-end: 1rem; }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* Quick Categories */
.quick-categories { padding: 4rem 0; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; background: var(--white); }
.pill {
    padding: 0.875rem 2.5rem; background: var(--bg-main); border-radius: 9999px;
    box-shadow: var(--shadow-sm); font-weight: 600; border: 1px solid #E5E7EB;
    transition: var(--transition); color: var(--primary);
}
.pill:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Main Nav Grid */
.main-nav-section { padding: 6rem 0; }
.main-nav-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.nav-card {
    background: var(--white); border-radius: 20px; box-shadow: var(--shadow-md);
    transition: var(--transition); border: 1px solid #F3F4F6;
    padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
}
.nav-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.icon-box {
    width: 80px; height: 80px; background: rgba(6, 78, 59, 0.08);
    color: var(--primary); border-radius: 18px;
    display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
    margin-bottom: 0.5rem; transition: var(--transition);
}
.nav-card:hover .icon-box { background: var(--primary); color: var(--white); }
.nav-card h3 { font-size: 1.75rem; color: var(--primary); margin-bottom: 0.5rem; }
.nav-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Genre Section */
.genres-section { padding: 6rem 0; background: #F3F4F6; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); position: relative; padding-bottom: 1.25rem; display: inline-block; }
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 20%; right: 20%;
    height: 5px; background: var(--accent); border-radius: 3px;
}
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; }
.genre-card {
    background: var(--white); padding: 2rem 1rem; border-radius: 16px;
    text-align: center; border: 1px solid #E5E7EB; transition: var(--transition); cursor: pointer;
}
.genre-card:hover { background: var(--primary); color: var(--white); border-color: var(--primary); transform: scale(1.05); }
.genre-card .ur { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; font-weight: 700; }
.genre-card .en { font-size: 0.9rem; opacity: 0.8; font-weight: 500; }

/* Products */
.products-section { padding: 8rem 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.5rem; }
.product-card {
    background: var(--white); border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: var(--transition);
    border: 1px solid #F1F5F9; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.img-container { height: 320px; background: #F8FAFC; position: relative; overflow: hidden; flex-shrink: 0; }
.img-container img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .img-container img { transform: scale(1.08); }
.badge { position: absolute; top: 1rem; right: 1rem; background: var(--accent); color: var(--white); padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.product-details { padding: 1.5rem; text-align: center; flex: 1; }
.product-cat { font-size: 0.75rem; color: #64748B; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; display: block; }
.product-name { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; display: block; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.5rem; }
.btn-cart {
    display: flex; width: 100%; padding: 1rem;
    background: var(--primary); color: var(--white); border: none;
    font-weight: 700; align-items: center; justify-content: center;
    gap: 0.75rem; transition: var(--transition); cursor: pointer;
    text-decoration: none; font-family: 'Noto Nastaliq Urdu', serif; font-size: 1rem;
}
.btn-cart:hover { background: var(--primary-light); }

/* Skeleton Loading */
@keyframes shimmer {
    0% { background-position: -800px 0; }
    100% { background-position: 800px 0; }
}
.skeleton-card {
    height: 420px; border-radius: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s infinite linear;
}

/* Pagination */
#pagination button:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* Social Bar */
.social-bar { background: var(--white); padding: 4rem 0; text-align: center; }
.social-links { display: flex; justify-content: center; gap: 2.5rem; }
.social-links a { font-size: 2rem; color: #94A3B8; transition: var(--transition); }
.social-links a:hover { color: var(--accent); transform: translateY(-5px) scale(1.1); }

/* Footer */
footer { background: var(--primary); color: rgba(255, 255, 255, 0.85); padding: 6rem 0 3rem; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 4rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--accent); font-size: 1.25rem; font-weight: 700; margin-bottom: 2rem; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a:hover { color: var(--accent); padding-inline-start: 10px; }
.footer-bottom { padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.875rem; }

/* Responsive */
@media (max-width: 1024px) { .footer-main { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
@media (max-width: 768px) {
    header { height: auto; padding: 10px 0; }
    .nav-container { flex-direction: column; gap: 1rem; }
    .nav-actions { width: 100%; justify-content: space-between; }
    .search-box { flex: 1; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero { min-height: 450px; padding: 140px 0 60px; }
    .hero-btns { display: flex; flex-direction: column; gap: 0.5rem; }
    .btn { width: 100%; margin: 0 !important; }
    .footer-main { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 2rem; }
    .genre-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .main-nav-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
}/* End custom CSS */