/* =========================================
   Makkah Unani Dawakhana - Main Stylesheet
   ========================================= */

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

:root {
  --green-dark:  #1a4731;
  --green-mid:   #2d6a4f;
  --green-light: #40916c;
  --green-pale:  #d8f3dc;
  --gold:        #b7860b;
  --gold-light:  #f0c040;
  --cream:       #fefae0;
  --text-dark:   #1a1a1a;
  --text-mid:    #3d3d3d;
  --text-light:  #666;
  --white:       #ffffff;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --radius:      16px;
  --topbar-h:    34px;
}

body {
  font-family: 'Noto Nastaliq Urdu', 'Noto Sans Arabic', serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.9;
  font-size: 16px;
}

/* TOP INFO BAR */
.top-bar {
  background: #122d1f;
  color: #b8ddb0;
  font-size: 0.78rem;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  direction: rtl;
  position: sticky;
  top: 0;
  z-index: 101;
}
.top-bar-left  { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.top-bar-right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.top-bar a     { color: #b8ddb0; text-decoration: none; }
.top-bar a:hover { color: var(--white); }
.top-bar-badge { padding: 2px 12px; border-radius: 20px; font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.top-bar-badge.wa   { background: #25d366; color: var(--white); }
.top-bar-badge.gold { background: #d4a017; color: #1a1a1a; }

/* NAV */
nav {
  background: var(--green-dark);
  padding: 0 24px;
  position: sticky;
  top: var(--topbar-h);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  min-height: 64px;
}
.nav-brand { color: var(--white); font-size: 1.1rem; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; padding: 8px 14px; border-radius: 8px; font-size: 0.92rem; transition: background 0.2s; }
.nav-links a:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.nav-links a.wa-btn { background: #25d366; color: var(--white); border-radius: 20px; padding: 7px 16px; font-weight: 600; }
.nav-links a.wa-btn:hover { background: #1ebe5d; }

/* PAGE HERO (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); color: var(--white); text-align: center; padding: 60px 24px 48px; }
.page-hero .label { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 5px 18px; font-size: 0.82rem; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.page-hero p { opacity: 0.85; max-width: 580px; margin: 0 auto; font-size: 0.92rem; }

/* HERO (home) */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  color: var(--white); text-align: center; padding: 80px 24px 64px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 30px; padding: 6px 20px; font-size: 0.85rem; margin-bottom: 24px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.hero .tagline { font-size: 1rem; opacity: 0.85; margin-bottom: 20px; }
.hero p { max-width: 640px; margin: 0 auto 36px; opacity: 0.9; font-size: 0.97rem; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; justify-content: center; margin-top: 52px; flex-wrap: wrap; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat .num { font-size: 2rem; font-weight: 700; color: var(--gold-light); display: block; }
.hero-stats .stat .label { font-size: 0.82rem; opacity: 0.85; }

/* BUTTONS */
.btn-primary { background: #25d366; color: var(--white); padding: 13px 28px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.97rem; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 16px rgba(37,211,102,0.35); display: inline-block; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); padding: 12px 26px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 0.97rem; transition: background 0.2s; display: inline-block; cursor: pointer; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-green { background: var(--green-mid); color: var(--white); padding: 13px 28px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.95rem; display: inline-block; transition: background 0.2s; }
.btn-green:hover { background: var(--green-dark); }
.btn-wa { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: var(--white); padding: 12px 24px; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.9rem; box-shadow: 0 4px 16px rgba(37,211,102,0.35); transition: transform 0.2s; }
.btn-wa:hover { transform: translateY(-2px); }
.btn-wa-sm { display: inline-block; background: #25d366; color: var(--white); padding: 9px 20px; border-radius: 20px; text-decoration: none; font-size: 0.82rem; font-weight: 600; }

/* SECTIONS */
section { padding: 72px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { text-align: center; margin-bottom: 10px; }
.section-label span { padding: 5px 18px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; }
.section-label .green { background: var(--green-pale); color: var(--green-mid); }
.section-label .gold  { background: #fff8e1; color: var(--gold); border: 1px solid #ffe082; }
.section-label .white { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
.section-title { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--green-dark); margin-bottom: 12px; font-weight: 700; }
.section-title.light { color: var(--white); }
.section-sub  { text-align: center; color: var(--text-light); max-width: 580px; margin: 0 auto 48px; font-size: 0.92rem; }
.section-sub.light { color: rgba(255,255,255,0.75); }
.divider { width: 60px; height: 3px; background: var(--gold); margin: 0 auto 48px; border-radius: 2px; }
.divider.light { background: var(--gold-light); }

/* CARDS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid #e8f5e9; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }
.card h3 { color: var(--green-dark); font-size: 1.05rem; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--text-mid); font-size: 0.88rem; line-height: 1.8; }

/* SERVICE TAGS */
.services-tags { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.tag { background: var(--green-pale); color: var(--green-dark); padding: 8px 20px; border-radius: 30px; font-size: 0.87rem; font-weight: 600; }

/* HAKEEM CARDS */
.hakeem-section { background: linear-gradient(135deg, var(--green-dark) 0%, #1e5c40 100%); }
.hakeem-main-card { background: linear-gradient(135deg, var(--green-dark), #1e5c40); border-radius: var(--radius); padding: 48px 40px; display: flex; gap: 36px; align-items: flex-start; flex-wrap: wrap; box-shadow: var(--shadow); }
.hakeem-card { max-width: 700px; margin: 0 auto; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 40px 36px; display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.hm-img img, .hakeem-img-wrap img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 5px solid var(--gold-light); }
.hm-img { flex-shrink: 0; }
.hm-body { flex: 1; min-width: 240px; }
.founder-badge { display: inline-block; background: var(--gold); color: var(--white); padding: 5px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; }
.hm-body h2 { color: var(--white); font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.hm-sub { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 18px; }
.hm-body p { color: rgba(255,255,255,0.88); font-size: 0.9rem; margin-bottom: 12px; line-height: 2; }
.hm-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.hm-tags span { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); padding: 4px 16px; border-radius: 20px; font-size: 0.78rem; }

/* ASSISTANTS */
.asst-card { background: var(--white); border: 1px solid #e8f5e9; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); text-align: center; }
.asst-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green-pale); margin-bottom: 14px; }
.asst-badge { display: inline-block; background: #fff8e1; color: var(--gold); border: 1px solid #ffe082; padding: 3px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 10px; }
.asst-card h3 { color: var(--green-dark); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.asst-card .role { color: var(--text-light); font-size: 0.82rem; margin-bottom: 14px; }
.asst-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.asst-tags span { background: var(--green-pale); color: var(--green-dark); padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; }
.asst-intro { text-align: center; max-width: 640px; margin: 0 auto 36px; font-size: 0.9rem; color: var(--text-mid); background: var(--white); border: 1px solid #e8f5e9; border-radius: 12px; padding: 18px 24px; }
.sep { text-align: center; padding: 16px 24px; }
.sep-line { display: flex; align-items: center; gap: 16px; max-width: 600px; margin: 0 auto; }
.sep-line::before, .sep-line::after { content: ''; flex: 1; height: 1px; background: #cde; }
.sep-text { background: #fff8e1; color: var(--gold); border: 1px solid #ffe082; padding: 6px 22px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; white-space: nowrap; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-bottom: 48px; }
.why-card { text-align: center; padding: 28px 20px; background: var(--cream); border-radius: var(--radius); border: 1px solid #e8f5e9; }
.why-icon { font-size: 2rem; margin-bottom: 12px; }
.why-card h4 { color: var(--green-dark); font-weight: 700; margin-bottom: 8px; }
.why-card p { color: var(--text-mid); font-size: 0.85rem; }
.philosophy { background: var(--green-dark); color: var(--white); border-radius: var(--radius); padding: 36px; text-align: center; font-size: 1.05rem; line-height: 2; max-width: 680px; margin: 0 auto 48px; }
.philosophy::before { content: '"'; font-size: 3rem; color: var(--gold-light); display: block; line-height: 1; margin-bottom: 8px; }
.stats-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.stat-box { background: var(--white); border: 1px solid #e8f5e9; border-radius: var(--radius); padding: 24px 32px; text-align: center; min-width: 130px; }
.stat-box .n { font-size: 2rem; font-weight: 700; color: var(--green-mid); display: block; }
.stat-box .l { font-size: 0.82rem; color: var(--text-light); }

/* BRANCHES */
.branches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.branch-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e8f5e9; }
.branch-img-wrap { position: relative; }
.branch-img-wrap img { width: 100%; height: 220px; object-fit: cover; display: block; }
.branch-img-placeholder { width: 100%; height: 220px; background: linear-gradient(135deg, var(--green-pale), #b7e4c7); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--green-mid); gap: 10px; }
.branch-img-placeholder .ph-icon { font-size: 3rem; opacity: 0.6; }
.branch-img-placeholder .ph-text { font-size: 0.85rem; font-weight: 600; opacity: 0.7; }
.branch-num { position: absolute; top: 14px; right: 14px; background: var(--green-dark); color: var(--white); width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; }
.branch-body { padding: 24px; }
.branch-body h3 { color: var(--green-dark); font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.branch-detail { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.87rem; color: var(--text-mid); }
.branch-detail .icon { flex-shrink: 0; }
.branch-detail a { color: var(--green-mid); text-decoration: none; }

/* MAP */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e8f5e9; }
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: var(--cream); border-radius: var(--radius); padding: 28px 24px; border: 1px solid #e8f5e9; }
.stars { color: var(--gold); margin-bottom: 12px; font-size: 1.1rem; }
.review-text { color: var(--text-mid); font-size: 0.88rem; margin-bottom: 18px; font-style: italic; line-height: 1.9; }
.reviewer { display: flex; gap: 12px; align-items: center; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-mid); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.reviewer-name { font-weight: 700; color: var(--green-dark); font-size: 0.9rem; }
.reviewer-loc { font-size: 0.78rem; color: var(--text-light); }

/* ARTICLES */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.article-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid #e8f5e9; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: transform 0.2s; }
.article-card:hover { transform: translateY(-3px); }
.article-icon { font-size: 2rem; }
.article-cat { background: var(--green-pale); color: var(--green-dark); padding: 3px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; display: inline-block; }
.article-card h3 { color: var(--green-dark); font-size: 0.95rem; font-weight: 700; }
.article-card p { color: var(--text-mid); font-size: 0.83rem; }
.article-link { color: var(--green-mid); font-size: 0.83rem; font-weight: 600; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #e8f5e9; transition: transform 0.2s; cursor: pointer; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 24px; }
.blog-cat { display: inline-flex; align-items: center; gap: 6px; background: var(--green-pale); color: var(--green-dark); padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; }
.blog-card h2 { color: var(--green-dark); font-size: 1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.6; }
.blog-card p { color: var(--text-mid); font-size: 0.85rem; line-height: 1.8; margin-bottom: 16px; }
.blog-read-more { color: var(--green-mid); font-size: 0.85rem; font-weight: 600; text-decoration: none; }

/* BLOG MODAL */
.article-modal { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,0.55); overflow-y: auto; padding: 24px; }
.article-modal.open { display: flex; align-items: flex-start; justify-content: center; }
.modal-inner { background: var(--white); border-radius: var(--radius); max-width: 740px; width: 100%; margin: auto; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,0.25); }
.modal-header { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); color: var(--white); padding: 32px 32px 24px; }
.modal-close { float: left; background: rgba(255,255,255,0.15); border: none; color: var(--white); width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-cat { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 3px 14px; font-size: 0.78rem; margin-bottom: 12px; }
.modal-header h2 { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 700; line-height: 1.5; }
.modal-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.modal-body { padding: 32px; }
.modal-body h3 { color: var(--green-dark); font-size: 1rem; font-weight: 700; margin: 20px 0 10px; }
.modal-body p { color: var(--text-mid); font-size: 0.9rem; line-height: 2; margin-bottom: 14px; }
.modal-body ul { color: var(--text-mid); font-size: 0.88rem; line-height: 2; padding-right: 20px; margin-bottom: 14px; }
.modal-highlight { background: var(--green-pale); border-right: 4px solid var(--green-mid); padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 0.88rem; color: var(--green-dark); }
.modal-cta { text-align: center; padding: 24px; background: var(--cream); border-top: 1px solid #e8f5e9; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 48px; }
.contact-card { background: var(--white); border: 1px solid #e8f5e9; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.contact-card-icon { font-size: 2rem; margin-bottom: 14px; }
.contact-card h3 { color: var(--green-dark); font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.contact-form-field { width: 100%; background: var(--cream); border: 1px solid #cde; border-radius: 10px; padding: 12px 16px; font-family: inherit; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 12px; outline: none; resize: vertical; }
.contact-form-field:focus { border-color: var(--green-mid); }
.branch-num-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--green-dark); color: var(--white); border-radius: 50%; font-size: 0.85rem; font-weight: 700; margin-bottom: 12px; }

/* CTA STRIP */
.cta { background: linear-gradient(135deg, var(--green-dark), var(--green-mid)); color: var(--white); text-align: center; padding: 72px 24px; }
.cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; font-weight: 700; }
.cta p { opacity: 0.85; max-width: 520px; margin: 0 auto 36px; font-size: 0.92rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--green-dark); color: rgba(255,255,255,0.8); padding: 48px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; max-width: 1100px; margin: 0 auto 32px; }
.footer-brand { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.footer-text { font-size: 0.83rem; line-height: 1.9; }
.footer-heading { color: var(--white); font-weight: 700; margin-bottom: 14px; font-size: 0.95rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 0.85rem; margin-bottom: 8px; display: flex; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); max-width: 1100px; margin: 0 auto; }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 200; background: #25d366; color: var(--white); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; animation: pulse 2.5s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 32px rgba(37,211,102,0.65)} }

/* RESPONSIVE */
@media(max-width: 640px) {
  :root { --topbar-h: 68px; }
  .top-bar { justify-content: center; text-align: center; font-size: 0.72rem; padding: 6px 12px; }
  .top-bar-left, .top-bar-right { justify-content: center; gap: 10px; }
  .hakeem-main-card, .hakeem-card { flex-direction: column; align-items: center; text-align: center; }
  .hm-tags { justify-content: center; }
  nav { flex-direction: column; gap: 8px; padding: 12px 16px; }
  .modal-body { padding: 20px; }
  .modal-header { padding: 24px 20px 18px; }
}
