/* ==========================================================================
   Question of the Day — stylesheet
   Includes the site's shared header/footer styling (previously inlined
   per-page only on the main pages, and missing on the QOTD pages — this is
   why QOTD pages did not visually match the rest of drpraveendra.org).
   Keeping it here means every QOTD page stays in sync automatically.
   ========================================================================== */

/* ---- Header (matches about.html / index.html / tools.html) ---- */
.custom-site-header{background:#ffffff;border-bottom:2px solid #f0f4f8;padding:15px 0;box-shadow:0 4px 15px rgba(0,0,0,.03);position:sticky;top:0;z-index:1000}
.custom-header-wrapper{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:0 20px}
.custom-site-title{font-size:1.8rem;font-weight:800;color:#1e3c72;text-decoration:none;letter-spacing:-.5px}
.custom-site-title:hover{text-decoration:none;color:#ff4b2b}
.custom-nav-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:15px}
.custom-nav-list li a{text-decoration:none;font-size:.95rem;font-weight:600;color:#444;padding:8px 12px;border-radius:8px;transition:all .3s ease;display:flex;align-items:center;gap:6px}
.custom-nav-list li a:hover{background:#f8f9fa;transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,.05)}
.custom-nav-list li a.active-page{background:#f0f4ff;color:#1e3c72}
.nav-icon-about{color:#4e73df}.nav-icon-research{color:#1cc88a}.nav-icon-res{color:#36b9cc}
.nav-icon-books{color:#858796}.nav-icon-video{color:#ff0000}.nav-icon-blog{color:#e67e22}
.nav-icon-tools{color:#f59e0b}.nav-icon-contact{color:#6f42c1}.nav-icon-quiz{color:#20c997}
.nav-icon-qotd{color:#ff4b2b}
@media (max-width:900px){
  .custom-site-header{position:relative!important}
  .custom-header-wrapper{flex-direction:column;gap:15px;text-align:center}
  .custom-nav-list{justify-content:center}
}

/* ---- Footer (matches index.html) ---- */
.custom-site-footer{background:#f8f9fa;border-top:3px solid #1e3c72;padding:50px 20px 20px;margin-top:60px;color:#444;font-size:.95rem;line-height:1.6}
.footer-wrapper{max-width:1100px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px}
.footer-col{flex:1;min-width:250px}
.footer-col h3{color:#1e3c72;font-size:1.2rem;margin-bottom:20px;font-weight:700;position:relative;padding-bottom:10px}
.footer-col h3::after{content:'';position:absolute;left:0;bottom:0;width:40px;height:3px;background:#ff4b2b;border-radius:2px}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:10px}
.footer-links a{color:#555;text-decoration:none;transition:color .3s ease;display:inline-flex;align-items:center;gap:8px}
.footer-links a:hover{color:#ff4b2b;transform:translateX(5px)}
.footer-socials{display:flex;gap:15px;margin-top:20px}
.footer-socials a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#ffffff;border-radius:50%;color:#333;text-decoration:none;box-shadow:0 4px 10px rgba(0,0,0,.08);transition:all .3s ease;font-size:1.2rem}
.footer-socials a:hover{transform:translateY(-5px)}
.footer-socials .yt:hover{color:#ff0000;border:1px solid #ff0000}
.footer-socials .tg:hover{color:#0088cc;border:1px solid #0088cc}
.footer-socials .em:hover{color:#ea4335;border:1px solid #ea4335}
.footer-socials .ig:hover{color:#e1306c;border:1px solid #e1306c}
.footer-bottom{text-align:center;padding-top:25px;margin-top:40px;border-top:1px solid #dee2e6;font-size:.85rem;color:#6c757d}
.footer-bottom a{color:#6c757d;text-decoration:none;margin:0 8px}
.footer-bottom a:hover{color:#ff4b2b}

/* ==========================================================================
   Question of the Day — page-specific styles
   ========================================================================== */
.qotd-shell{max-width:1100px;margin:0 auto;padding:0 20px 60px}
.qotd-breadcrumb{font-size:.86rem;color:#6b7280;margin:22px 0}
.qotd-breadcrumb a{color:#1e3c72;text-decoration:none;font-weight:600}
.qotd-breadcrumb a:hover{text-decoration:underline}

.qotd-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#1e3c72 0%,#2a5298 58%,#059669 100%);color:#fff;border-radius:22px;padding:46px 42px;margin-bottom:22px;box-shadow:0 12px 35px rgba(30,60,114,.16)}
.qotd-hero:after{content:"∑";position:absolute;right:30px;bottom:-48px;font-size:13rem;font-weight:800;opacity:.08;line-height:1}
.qotd-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:6px 13px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.qotd-hero h1{margin:15px 0 10px;color:#fff;font-size:clamp(2rem,4vw,3rem);line-height:1.08}
.qotd-hero p{max-width:760px;margin:0;color:rgba(255,255,255,.92);font-size:1.04rem;line-height:1.75}
.qotd-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.qotd-pill{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);padding:6px 11px;border-radius:999px;font-size:.78rem}
.qotd-hero-cta{position:relative;display:inline-flex;align-items:center;gap:8px;margin-top:26px;background:#fff;color:#1e3c72!important;text-decoration:none!important;padding:11px 20px;border-radius:11px;font-weight:800;font-size:.9rem;box-shadow:0 6px 18px rgba(0,0,0,.14)}
.qotd-hero-cta:hover{background:#f8fafc;transform:translateY(-1px)}

/* Quick jump strip */
.qotd-jump{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 36px}
.qotd-jump a{font-size:.82rem;font-weight:700;color:#1e3c72;background:#fff;border:1px solid #dbe3ef;border-radius:999px;padding:7px 14px;text-decoration:none;transition:.18s}
.qotd-jump a:hover{background:#eef2ff;border-color:#c7d2fe}

.qotd-section{margin:42px 0}
.qotd-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}
.qotd-section-head h2{margin:0;padding:0;border:0;color:#1e3c72;font-size:1.55rem}
.qotd-section-head p{margin:4px 0 0;color:#6b7280;font-size:.9rem}

.qotd-feature{background:#fff;border:1px solid #e4eaf4;border-radius:20px;box-shadow:0 8px 28px rgba(0,0,0,.07);padding:30px;margin-bottom:18px;scroll-margin-top:90px}
.qotd-feature .qotd-label{display:inline-flex;gap:7px;align-items:center;color:#b45309;background:#fff7ed;border:1px solid #fed7aa;border-radius:999px;padding:5px 10px;font-size:.76rem;font-weight:800}
.qotd-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.qotd-meta span{font-size:.76rem;font-weight:700;color:#475569;background:#f1f5f9;border-radius:999px;padding:5px 9px}
.qotd-question{font-size:1.08rem;line-height:1.85;color:#172033}
.qotd-question h3{font-size:1.05rem;color:#1e3c72;margin:0 0 10px}
.qotd-options{display:grid;gap:10px;margin:20px 0}
.qotd-option{display:flex;align-items:flex-start;gap:12px;border:1px solid #dbe3ef;border-radius:12px;padding:13px 14px;background:#fff;cursor:pointer;transition:.18s}
.qotd-option:hover{border-color:#2a5298;background:#f8fbff}
.qotd-option input{margin-top:5px;accent-color:#1e3c72}
.qotd-option.locked{cursor:not-allowed;opacity:.9}
.qotd-option.locked.is-correct{border-color:#34d399;background:#ecfdf5}
.qotd-option.locked.is-wrong{border-color:#f87171;background:#fef2f2}
.qotd-submit{border:0;border-radius:10px;background:#1e3c72;color:#fff;padding:11px 20px;font-weight:800;cursor:pointer;font-size:.92rem}
.qotd-submit:hover{background:#17315e}
.qotd-submit:disabled{opacity:.5;cursor:not-allowed}
.qotd-result{margin-top:18px;border-radius:14px;padding:15px 17px;font-size:.92rem;line-height:1.6}
.qotd-result.correct{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}
.qotd-result.incorrect{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.qotd-result strong{font-weight:800}
.qotd-solution-wrap{margin-top:16px}
.qotd-solution-toggle{border:1px solid #cbd5e1;background:#f8fafc;color:#1e3c72;border-radius:10px;padding:10px 15px;font-weight:800;cursor:pointer;font-size:.86rem}
.qotd-solution{display:none;margin-top:14px;padding:22px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;line-height:1.8}
.qotd-solution.open{display:block}
.qotd-solution h4{margin:0 0 10px;color:#1e3c72}
.qotd-concepts{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.qotd-concepts span{background:#eef2ff;color:#3730a3;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:700}
.qotd-discussion{margin-top:22px;padding:18px;border-radius:14px;background:linear-gradient(135deg,#f0fdf4,#eff6ff);border:1px solid #dbeafe}
.qotd-discussion strong{color:#1e3c72}
.qotd-telegram{display:inline-flex;align-items:center;gap:7px;margin-top:10px;background:#1687c8;color:#fff!important;text-decoration:none!important;padding:9px 14px;border-radius:9px;font-weight:800;font-size:.84rem}
.qotd-telegram:hover{background:#136ea1}

.qotd-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.qotd-topic-card{background:#fff;border:1px solid #e4eaf4;border-radius:18px;padding:24px;box-shadow:0 5px 20px rgba(0,0,0,.05);scroll-margin-top:90px}
.qotd-topic-card h3{margin:0;color:#1e3c72;font-size:1.25rem}
.qotd-topic-card>p{color:#64748b;font-size:.88rem;line-height:1.65}
.qotd-mini{border-top:1px solid #edf1f6;padding:15px 0}
.qotd-mini:first-of-type{border-top:0}
.qotd-mini h4{margin:0 0 7px;font-size:.98rem;color:#172033}
.qotd-mini .qotd-meta{margin:0 0 8px}
.qotd-mini .qotd-meta span{font-size:.7rem}
.qotd-mini p{font-size:.84rem;line-height:1.65;margin:0;color:#4b5563}
.qotd-card-link{display:inline-flex;margin-top:8px;color:#1e3c72;font-weight:800;font-size:.83rem;text-decoration:none}
.qotd-card-link:hover{text-decoration:underline}

.qotd-search{display:flex;gap:10px;max-width:760px;flex-wrap:wrap}
.qotd-search input{flex:1;min-width:180px;border:1px solid #cbd5e1;border-radius:11px;padding:12px 14px;font:inherit}
.qotd-search select{border:1px solid #cbd5e1;border-radius:11px;padding:12px 14px;font:inherit;background:#fff}
.qotd-search button{border:0;border-radius:11px;background:#1e3c72;color:#fff;padding:0 18px;font-weight:800;cursor:pointer}
.qotd-search button:hover{background:#17315e}

.qotd-browse-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}
.qotd-browse{display:block;text-decoration:none;color:#1e3c72;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px;transition:.2s}
.qotd-browse:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.07)}
.qotd-browse i{font-size:1.3rem;margin-bottom:10px}
.qotd-browse strong{display:block}
.qotd-browse small{display:block;margin-top:4px;color:#64748b;line-height:1.45}
.qotd-browse[aria-disabled="true"]{opacity:.55;cursor:default}
.qotd-browse[aria-disabled="true"]:hover{transform:none;box-shadow:none}

.qotd-info{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:25px;line-height:1.8;color:#475569}
.qotd-info h2{border:0;margin:0 0 10px;padding:0;color:#1e3c72}
.qotd-faq details{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:15px 17px;margin:9px 0}
.qotd-faq summary{cursor:pointer;font-weight:800;color:#1e3c72}
.qotd-faq details p{margin:10px 0 0;color:#475569}
.qotd-empty{padding:18px;background:#f8fafc;border-radius:12px;color:#64748b}
.qotd-note{font-size:.8rem;color:#64748b;margin-top:10px}

@media (max-width:760px){
  .qotd-hero{padding:32px 24px;border-radius:18px}
  .qotd-feature{padding:22px 18px}
  .qotd-topic-grid{grid-template-columns:1fr}
  .qotd-section-head{display:block}
  .qotd-search{flex-direction:column}
  .qotd-search button{padding:11px}
  .qotd-shell{padding:0 14px 45px}
}
