/* ============================================================
   style.css — Youth The Power Foundation
   Common styles for header, footer, navbar, drawer, bottom nav
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Hindi:ital@0;1&family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

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

:root {
  --blue:   #1a4a6b;
  --blue2:  #1e6fa0;
  --green:  #2e7d32;
  --green2: #43a047;
  --red:    #c62828;
  --bg:     #eef3f8;
  --white:  #ffffff;
  --text:   #1a1a2e;
  --muted:  #6b7280;
  --border: #dde3ea;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

/* Index.php  */

/* ═══════════ MOBILE STYLES ═══════════ */
.mob-main { padding-bottom: 72px; }
.web-hero,
.web-wrap { display: none; }
.mob-hero { background: linear-gradient(135deg,#1a5276,#1e8449); margin: 14px; border-radius: 20px; padding: 20px; position: relative; overflow: hidden; }
.mob-tag  { display: inline-block; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 50px; margin-bottom: 12px; }
.mob-hero-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.mob-hero-text { min-width: 0; flex: 1; }
.mob-hero-text p { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1.65; margin-bottom: 12px; font-family: 'Tiro Devanagari Hindi',serif; }
.mob-hero-right { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.mob-logo-box { background: #fff; border-radius: 10px; padding: 6px 8px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.mob-logo-box img { width: 84px; height: 40px; object-fit: contain; }
.mob-founder-photo img { width: 72px; max-width: 100%; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
.mob-founder-name { font-size: 15px; font-weight: 800; color: #fff; font-family: 'Tiro Devanagari Hindi',serif; }
.mob-founder-role { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 1px; }
.mob-gallery { display: flex; gap: 10px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; margin: 14px 0; }
.mob-gallery::-webkit-scrollbar { display: none; }
.mob-gthumb { flex-shrink: 0; width: 150px; height: 110px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #d1d5db; }
.mob-gthumb img { width: 100%; height: 100%; object-fit: cover; }
.mob-tagline { text-align: center; padding: 6px 16px 16px; font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; line-height: 1.6; }
.mob-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 16px; }
.mob-card { border-radius: 16px; padding: 20px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: pointer; border: none; text-decoration: none; transition: transform .2s; min-height: 120px; box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.mob-card:hover { transform: translateY(-2px); }
.mob-card.bl { background: linear-gradient(135deg,#1a4a6b,#1e6fa0); }
.mob-card.gr { background: linear-gradient(135deg,#2e7d32,#43a047); }
.mob-card svg { width: 34px; height: 34px; stroke: rgba(255,255,255,.9); fill: none; stroke-width: 1.5; }
.mob-card span { font-size: 14px; font-weight: 800; color: #fff; text-align: center; }
.mob-sec-hd { display: flex; align-items: flex-end; justify-content: space-between; padding: 4px 14px 12px; }
.mob-sec-title { font-family: 'Playfair Display',serif; font-size: 20px; font-weight: 900; color: var(--text); }
.mob-sec-sub  { font-size: 12px; color: var(--muted); margin-top: 3px; font-family: 'Tiro Devanagari Hindi',serif; }
.mob-sec-link { font-size: 13px; font-weight: 700; color: var(--blue2); text-decoration: none; }
.mob-about-card { background: #fff; border-radius: 18px; margin: 0 14px 14px; overflow: hidden; box-shadow: var(--shadow); }
.mob-about-img  { width: 100%; height: 200px; overflow: hidden; }
.mob-about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mob-about-body { padding: 18px; }
.tg { font-size: 17px; font-weight: 800; color: var(--green); font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 5px; }
.tr { font-size: 14px; font-weight: 700; color: var(--red); font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 8px; line-height: 1.5; }
.tp { font-size: 13px; line-height: 1.85; color: #374151; font-family: 'Tiro Devanagari Hindi',serif; }
.tp p { margin-bottom: 9px; }
.tpg { color: var(--green); font-weight: 600; }
.bl-list { list-style: none; padding: 0; margin: 0 0 10px; }
.bl-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.7; color: #374151; font-family: 'Tiro Devanagari Hindi',serif; padding: 3px 0; }
.bl-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 6px; }
.qt { background: #f0f7f0; border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; padding: 12px 14px; margin: 10px 0; font-size: 13px; font-family: 'Tiro Devanagari Hindi',serif; color: #374151; line-height: 1.8; font-style: italic; }
.mob-logo-divider { display: flex; align-items: center; gap: 10px; padding: 8px 14px 14px; }
.mob-logo-divider img  { height: 28px; object-fit: contain; }
.mob-logo-divider span { font-size: 14px; font-weight: 800; color: var(--text); font-family: 'Tiro Devanagari Hindi',serif; }
.mob-benefits { background: #fff; border-radius: 18px; margin: 0 14px 14px; padding: 16px; box-shadow: var(--shadow); }
.mob-ben-card { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.mob-ben-card:last-child  { border-bottom: none; padding-bottom: 0; }
.mob-ben-card:first-child { padding-top: 0; }
.mob-ben-icon  { font-size: 22px; flex-shrink: 0; width: 36px; text-align: center; }
.mob-ben-title { font-size: 13px; font-weight: 800; color: var(--text); font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 3px; }
.mob-ben-desc  { font-size: 12px; color: var(--muted); font-family: 'Tiro Devanagari Hindi',serif; line-height: 1.6; }
.mob-quicklinks { margin: 0 14px 14px; }
.ql-title { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }
.ql-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ql-card  { background: #fff; border-radius: 16px; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.ql-card:hover { transform: translateY(-2px); }
.ql-card span  { font-size: 13px; font-weight: 800; color: var(--text); }
.ql-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.ql-icon svg { width: 24px; height: 24px; stroke: rgba(255,255,255,.9); fill: none; stroke-width: 1.8; }
.ql-icon.bl { background: linear-gradient(135deg,#1a4a6b,#1e6fa0); }
.ql-icon.gr { background: linear-gradient(135deg,#2e7d32,#43a047); }

@media(max-width: 767px) {
  .mob-topbar h1 {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }

  .mob-hero-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .mob-hero-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .mob-menu,
  .ql-grid {
    grid-template-columns: 1fr;
  }

  .mob-sec-hd {
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .mob-logo-divider {
    align-items: flex-start;
    flex-direction: column;
  }

  .mob-ben-card {
    gap: 10px;
  }
}

/* ═══════════ DESKTOP STYLES ═══════════ */
@media(min-width: 768px) {
  .mob-main { display: none; }
  .web-hero,
  .web-wrap { display: block; }
  /* Hero */
  .web-hero { position: relative; overflow: hidden; min-height: 580px; display: flex; align-items: stretch; }
  .web-hero-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1600&q=80'); background-size: cover; background-position: center top; }
  .web-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(13,33,55,0.92) 0%,rgba(26,82,118,0.88) 45%,rgba(22,92,42,0.85) 100%); }
  .web-hero-inner { max-width: 1200px; margin: 0 auto; padding: 64px 32px 0; display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: flex-end; width: 100%; position: relative; z-index: 2; }
  .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 22px; }
  .hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
  .hero-h1 { font-family: 'Tiro Devanagari Hindi',serif; font-size: 46px; font-weight: 900; color: #fff; line-height: 1.25; margin-bottom: 18px; }
  .hero-h1 em { color: #fbbf24; font-style: normal; }
  .hero-sub { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 36px; max-width: 500px; font-family: 'Tiro Devanagari Hindi',serif; }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
  .hbtn-p { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; background: linear-gradient(135deg,#f59e0b,#d97706); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; border: none; cursor: pointer; box-shadow: 0 6px 24px rgba(217,119,6,.4); transition: transform .2s; }
  .hbtn-p:hover { transform: translateY(-2px); }
  .hbtn-s { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 50px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; border: 1.5px solid rgba(255,255,255,.25); cursor: pointer; transition: background .2s; }
  .hbtn-s:hover { background: rgba(255,255,255,.16); }
  .hero-stats { display: flex; gap: 36px; padding: 22px 0 36px; border-top: 1px solid rgba(255,255,255,.12); }
  .hstat-num   { font-size: 30px; font-weight: 900; color: #fbbf24; line-height: 1; }
  .hstat-label { font-size: 11px; color: rgba(255,255,255,.55); font-weight: 700; margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
  .hero-right { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
  .founder-card { background: rgba(255,255,255,.1); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.18); border-radius: 24px 24px 0 0; padding: 28px 28px 0; text-align: center; width: 100%; }
  .fc-logo { width: 140px; height: 64px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
  .fc-logo img { width: 100%; height: 100%; object-fit: contain; }
  .fc-name { font-family: 'Tiro Devanagari Hindi',serif; font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 4px; }
  .fc-role { font-size: 12px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
  .fc-photo { width: 180px; height: 210px; object-fit: cover; object-position: top; filter: drop-shadow(0 8px 24px rgba(0,0,0,.4)); display: block; margin: 0 auto; }
  /* Content */
  .web-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
  .web-sec  { padding: 60px 0 0; }
  .sec-hd   { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
  .sec-title { font-family: 'Playfair Display',serif; font-size: 32px; font-weight: 900; color: var(--text); }
  .sec-sub   { font-size: 14px; color: var(--muted); margin-top: 6px; font-family: 'Tiro Devanagari Hindi',serif; }
  .sec-link  { font-size: 14px; font-weight: 700; color: var(--blue2); text-decoration: none; }
  /* Gallery */
  .web-gal { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .web-gal-item { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: #d1d5db; box-shadow: var(--shadow); transition: transform .2s; cursor: pointer; }
  .web-gal-item:hover { transform: scale(1.03); }
  .web-gal-item img { width: 100%; height: 100%; object-fit: cover; }
  /* Tagline */
  .web-tline { background: linear-gradient(135deg,#1a4a6b,#1e6fa0); border-radius: 20px; padding: 44px; margin-top: 56px; text-align: center; }
  .web-tline h2 { font-family: 'Playfair Display',serif; font-size: 28px; font-weight: 900; color: #fff; margin-bottom: 10px; }
  .web-tline p  { font-size: 15px; color: rgba(255,255,255,.7); font-family: 'Tiro Devanagari Hindi',serif; }
  /* Services */
  .web-srv { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
  .srv-card { border-radius: 20px; padding: 30px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; box-shadow: 0 6px 24px rgba(0,0,0,.1); transition: transform .2s,box-shadow .2s; }
  .srv-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.15); }
  .srv-card.bl { background: linear-gradient(135deg,#1a4a6b,#1e6fa0); }
  .srv-card.gr { background: linear-gradient(135deg,#2e7d32,#43a047); }
  .srv-icon { width: 60px; height: 60px; border-radius: 14px; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; }
  .srv-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.5; }
  .srv-card h3 { font-size: 16px; font-weight: 800; color: #fff; text-align: center; }
  .srv-card p  { font-size: 12px; color: rgba(255,255,255,.65); text-align: center; line-height: 1.6; }
  /* About Card */
  .web-about-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 380px 1fr; }
  .ab-img-col { position: relative; }
  .ab-img-col > img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 380px; }
  .ab-img-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top,rgba(0,0,0,0.7),transparent); display: flex; align-items: center; gap: 10px; }
  .ab-logo-sm { height: 32px; object-fit: contain; background: #fff; border-radius: 6px; padding: 4px 8px; }
  .ab-img-tag { font-size: 12px; font-weight: 700; color: #fff; }
  .ab-text-col { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
  .ab-tg { font-size: 22px; font-weight: 900; color: var(--green); font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 4px; }
  .ab-tr { font-size: 14px; font-weight: 700; color: var(--red); font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 18px; line-height: 1.5; }
  .ab-body { font-size: 14px; line-height: 1.9; color: #374151; font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 18px; }
  .ab-body p { margin-bottom: 10px; }
  .ab-green { color: var(--green); font-weight: 700; }
  .ab-blist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
  .ab-blist li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #374151; font-family: 'Tiro Devanagari Hindi',serif; line-height: 1.6; }
  .ab-blist li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 5px; }
  .ab-quote { background: #f0f7f0; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 14px 18px; font-size: 14px; font-family: 'Tiro Devanagari Hindi',serif; color: #374151; line-height: 1.8; font-style: italic; }

  /* ══ ACTIVE MEMBER SECTION — FIXED ══ */
  .web-benefits-section { padding: 60px 0 0; }
  .web-benefits-wrap    { border-radius: 24px; position: relative; overflow: hidden; }
  .web-benefits-bg { position: absolute; inset: 0; background: linear-gradient(135deg,#0d2137 0%,#1a4a6b 60%,#163d1c 100%); }
  .web-benefits-inner { position: relative; z-index: 1; padding: 56px 48px; }
  .web-benefits-head { text-align: center; margin-bottom: 44px; }
  .sec-badge { display: inline-block; background: rgba(251,191,36,.18); border: 1px solid rgba(251,191,36,.35); color: #fbbf24; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 16px; border-radius: 50px; margin-bottom: 14px; }
  .web-benefits-head h2 { font-family: 'Playfair Display',serif; font-size: 34px; font-weight: 900; color: #fff; margin-bottom: 10px; }
  .web-benefits-head p  { font-size: 15px; color: rgba(255,255,255,.7); font-family: 'Tiro Devanagari Hindi',serif; max-width: 600px; margin: 0 auto; line-height: 1.7; }
  .benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
  .ben-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 24px 18px; transition: background .2s,transform .2s; }
  .ben-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
  .ben-icon  { width: 48px; height: 48px; border-radius: 12px; background: rgba(251,191,36,.18); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 22px; }
  .ben-title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 6px; font-family: 'Tiro Devanagari Hindi',serif; }
  .ben-desc  { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.7; font-family: 'Tiro Devanagari Hindi',serif; }

  /* Contact + Mission */
  .web-contact-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
  .contact-card { background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
  .contact-card h3 { font-family: 'Playfair Display',serif; font-size: 24px; font-weight: 900; color: var(--text); margin-bottom: 6px; }
  .contact-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; font-family: 'Tiro Devanagari Hindi',serif; }
  .contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
  .contact-list li { display: flex; align-items: flex-start; gap: 14px; }
  .c-icon { width: 40px; height: 40px; border-radius: 10px; background: #e8f0fe; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .c-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; }
  .c-label { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
  .c-value { font-size: 14px; font-weight: 700; color: var(--text); margin-top: 2px; line-height: 1.5; }
  .mission-card { border-radius: 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; min-height: 280px; display: flex; }
  .mission-card-bg { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(22,92,42,0.95),rgba(46,125,50,0.90)); }
  .mission-card-inner { position: relative; z-index: 1; padding: 36px; width: 100%; }
  .mission-card h3 { font-family: 'Playfair Display',serif; font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 6px; }
  .mission-card .sub { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 22px; font-family: 'Tiro Devanagari Hindi',serif; }
  .mission-tag  { display: inline-block; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; font-weight: 900; padding: 10px 20px; border-radius: 12px; font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 18px; }
  .mission-desc { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.8; font-family: 'Tiro Devanagari Hindi',serif; margin-bottom: 20px; }
  .branches-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .branch-tag { background: rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
}



/* index.php ends */

/* ═══════════════════════════════════════════
   MOBILE TOPBAR
═══════════════════════════════════════════ */
.mob-topbar {
  position: sticky; top: 0; z-index: 200;
  background: linear-gradient(135deg, #1a4a6b, #1e6fa0);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 56px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.mob-left  { display: flex; align-items: center; gap: 12px; }
.mob-right { display: flex; align-items: center; gap: 12px; }
.hamburger { background: none; border: none; cursor: pointer; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; }
.mob-topbar h1 { font-size: 16px; font-weight: 800; color: #fff; }
.notif-btn { background: none; border: none; cursor: pointer; position: relative; padding: 4px; }
.notif-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; }
.notif-dot { position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; border: 1.5px solid #1e6fa0; }
.mob-av { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: #cbd5e1; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--blue); overflow: hidden; cursor: pointer; flex-shrink: 0; }
.mob-av img { width: 100%; height: 100%; object-fit: cover; }

/* Back button (for inner pages) */
.back-btn { background: none; border: none; cursor: pointer; padding: 6px; display: flex; align-items: center; }
.back-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.5; }
.topbar-spacer { width: 34px; }

/* ═══════════════════════════════════════════
   DRAWER (MOBILE SIDEBAR)
═══════════════════════════════════════════ */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer { position: fixed; top: 0; left: -280px; width: 280px; height: 100vh; background: #fff; z-index: 301; transition: left .3s cubic-bezier(.22,1,.36,1); display: flex; flex-direction: column; box-shadow: 4px 0 24px rgba(0,0,0,0.15); }
.drawer.open { left: 0; }

.drawer-head {
  background: linear-gradient(135deg, #1a4a6b, #1e6fa0);
  flex-direction: column; align-items: flex-start; gap: 0;
  padding: 40px 20px 24px; min-height: 160px; justify-content: flex-end;
  display: flex;
}
.drawer-head-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.drawer-head-title { font-size: 20px; font-weight: 900; color: #fff; line-height: 1.3; font-family: 'Nunito', sans-serif; }
.drawer-head-notif { background: none; border: none; cursor: pointer; padding: 6px; }
.drawer-head-notif svg { width: 24px; height: 24px; stroke: rgba(255,255,255,0.7); fill: none; }

.drawer-nav { flex: 1; overflow-y: auto; padding: 10px 0; display: flex; flex-direction: column; }
.d-item { display: flex; align-items: center; gap: 14px; padding: 13px 20px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; cursor: pointer; border: none; background: none; width: 100%; transition: background .2s; }
.d-item:hover, .d-item.act { background: #e8f0fe; color: var(--blue); }
.d-item svg { width: 19px; height: 19px; stroke: var(--blue); fill: none; flex-shrink: 0; stroke-width: 2; }
.d-div  { height: 1px; background: var(--border); margin: 6px 20px; }
.d-out  { color: var(--red) !important; }
.d-out svg { stroke: var(--red) !important; }
.d-muted { color: var(--muted) !important; }
.d-muted svg { stroke: var(--muted) !important; }
.d-lock { display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-left: auto; }
.d-lock svg { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2; }

/* ═══════════════════════════════════════════
   BOTTOM NAV (MOBILE)
═══════════════════════════════════════════ */
.mob-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: #fff; border-top: 1px solid var(--border); display: flex; box-shadow: 0 -4px 20px rgba(0,0,0,0.08); }
.mob-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px; cursor: pointer; border: none; background: none; color: var(--muted); font-size: 10px; font-weight: 600; text-decoration: none; transition: color .2s; }
.mob-nav-item svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.mob-nav-item.act { color: var(--blue); }
.nw   { position: relative; }
.ndot { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* ═══════════════════════════════════════════
   WEB NAVBAR (DESKTOP)
═══════════════════════════════════════════ */
.web-nav { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,0.06); display: none; }
.web-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; height: 70px; gap: 24px; }
.web-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.web-brand img { height: 46px; object-fit: contain; }
.web-brand-text strong { font-size: 15px; font-weight: 900; color: var(--blue); display: block; line-height: 1.2; }
.web-brand-text span   { font-size: 11px; color: var(--muted); }
.web-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.wl { padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; border-radius: 8px; transition: all .2s; white-space: nowrap; }
.wl:hover { background: #f0f7ff; color: var(--blue); }
.wl.act   { color: var(--blue); background: #e8f0fe; }
.web-nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.wnotif { background: none; border: none; cursor: pointer; position: relative; padding: 8px; border-radius: 8px; }
.wnotif:hover { background: #f0f7ff; }
.wnotif svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; }
.wnotif-dot { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; background: #ef4444; border-radius: 50%; border: 1.5px solid #fff; }
.wuser-btn { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1.5px solid var(--border); border-radius: 50px; cursor: pointer; background: none; transition: border-color .2s; }
.wuser-btn:hover { border-color: var(--blue2); }
.wuser-av { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; overflow: hidden; flex-shrink: 0; }
.wuser-av img { width: 100%; height: 100%; object-fit: cover; }
.wuser-name { font-size: 13px; font-weight: 700; color: var(--text); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wdrop-wrap { position: relative; }
.wdrop { position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 8px; min-width: 190px; display: none; z-index: 500; }
.wdrop.open { display: block; }
.wd-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; cursor: pointer; border: none; background: none; width: 100%; transition: background .2s; }
.wd-item:hover { background: #f0f7ff; color: var(--blue); }
.wd-item svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; }
.wd-div { height: 1px; background: var(--border); margin: 5px 0; }
.wd-out { color: var(--red); }
.wd-out:hover { background: #fff5f5 !important; }
.wd-muted { color: var(--muted); cursor: default; }
.wd-muted:hover { background: none !important; color: var(--muted) !important; }

/* Back button for inner pages web */
.wback-btn { display: flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px; border: 1.5px solid var(--border); background: #fff; color: var(--blue); font-size: 13px; font-weight: 700; text-decoration: none; transition: all .2s; }
.wback-btn:hover { border-color: var(--blue); background: #f0f7ff; }
.wback-btn svg { width: 15px; height: 15px; stroke: var(--blue); fill: none; stroke-width: 2.5; }

/* ═══════════════════════════════════════════
   WEB FOOTER
═══════════════════════════════════════════ */
.web-footer { background: #0d2137; padding: 52px 0 24px; margin-top: 64px; display: none; }
.web-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 42px; object-fit: contain; margin-bottom: 14px; display: block; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.8; font-family: 'Tiro Devanagari Hindi', serif; }
.footer-col h4 { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.85); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a  { display: block; font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }

/* ═══════════════════════════════════════════
   DESKTOP OVERRIDES (768px+)
═══════════════════════════════════════════ */
@media(min-width: 768px) {
  body { background: #f1f5f9; }
  .mob-topbar, .mob-nav, .drawer, .drawer-overlay { display: none !important; }
  .web-nav    { display: block; }
  .web-footer { display: block; }
}

/* Login button (shown when not logged in) */
.wlogin-btn {
  display: none; /* hidden on mobile */
  align-items: center;
  padding: 9px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, #1a4a6b, #1e6fa0);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.wlogin-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,74,107,0.3); }

@media(min-width: 768px) {
  .wlogin-btn { display: flex; }
}

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.fi  { animation: fi .5s ease both; }
.fi1 { animation-delay: .1s; }
.fi2 { animation-delay: .2s; }
.fi3 { animation-delay: .3s; }
@keyframes fi { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Red badge dot (for Account icon) */
.badge-dot {
  position: absolute; top: -3px; right: -4px;
  width: 10px; height: 10px; background: #ef4444;
  border-radius: 50%; border: 1.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; color: #fff; font-weight: 800;
}
.badge-dot-sm {
  position: absolute; top: -3px; right: -4px;
  width: 9px; height: 9px; background: #ef4444;
  border-radius: 50%; border: 1px solid #fff;
  font-size: 6px; color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* PWA install prompt */
.pwa-install-prompt {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 82px;
  z-index: 350;
  display: none;
}
.pwa-install-prompt.open {
  display: block;
}
.pwa-install-card {
  background: #fff;
  border: 1px solid rgba(26, 74, 107, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(13, 33, 55, 0.18);
  padding: 16px;
}
.pwa-install-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pwa-install-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1a4a6b, #1e6fa0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.pwa-install-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}
.pwa-install-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 2px;
}
.pwa-install-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.pwa-install-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.pwa-install-btn,
.pwa-dismiss-btn,
.pwa-inline-btn {
  border: none;
  cursor: pointer;
  font: inherit;
}
.pwa-install-btn {
  flex: 1;
  background: linear-gradient(135deg, #1a4a6b, #1e6fa0);
  color: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 800;
}
.pwa-dismiss-btn {
  background: #eef3f8;
  color: var(--text);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
}
.pwa-inline-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.pwa-inline-btn.show {
  display: inline-flex;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 360;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 24, 44, 0.58);
}
.share-modal.open {
  display: flex;
}
.share-modal-card {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  padding: 18px;
}
.share-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.share-modal-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.share-modal-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.share-modal-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: #eef3f8;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.share-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.share-modal-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.share-modal-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.share-link-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  word-break: break-all;
  margin-bottom: 12px;
}
.share-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.share-modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 14px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}
.share-modal-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.share-modal-btn.copy {
  background: #eef6ff;
  color: var(--blue);
}
.share-modal-btn.share {
  background: linear-gradient(135deg, #1a4a6b, #1e6fa0);
  color: #fff;
}

@media(min-width: 768px) {
  .pwa-install-prompt {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: 360px;
  }
  .pwa-inline-btn {
    display: none;
  }
  .pwa-inline-btn.show {
    display: inline-flex;
  }
  .share-modal-card {
    width: 400px;
  }
}
