:root {
  --red: #c62828; --red-dark: #8e0000; --red-light: #ef9a9a;
  --blue: #0d47a1; --blue-mid: #1565c0; --blue-light: #42a5f5;
  --gold: #f9a825; --gold-light: #fff176;
  --white: #ffffff; --bg: #f0f4ff;
  --text: #1a1a2e; --text-light: #5a5a7a;
  --card-shadow: 0 10px 40px rgba(13,71,161,0.12);
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(13,71,161,0.05) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(198,40,40,0.05) 0%, transparent 60%); pointer-events: none; z-index: 0; }

/* TICKER */
.ticker-bar { background: linear-gradient(90deg, var(--red-dark), var(--red)); color: #fff; padding: 6px 0; font-size: 0.78rem; overflow: hidden; position: relative; }
.ticker-inner { display: flex; gap: 60px; animation: ticker 35s linear infinite; white-space: nowrap; }
.ticker-inner span { display: inline-flex; align-items: center; gap: 8px; }
.ticker-inner i { color: var(--gold-light); }
@keyframes ticker { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* HEADER */
.site-header { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.10); position: sticky; top: 0; z-index: 1000; }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 40px; border-bottom: 1px solid #eee; }
.logo-wrap { display: flex; align-items: center; gap: 16px; cursor: pointer; text-decoration: none; }
.logo-circle { width: 82px; height: 82px; flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(198,40,40,0.25)); transition: var(--transition); }
.logo-circle:hover { transform: rotate(-5deg) scale(1.05); }
.logo-text { line-height: 1.25; }
.logo-text .name-mr { font-size: 1.75rem; font-weight: 800; background: linear-gradient(135deg, var(--red) 40%, var(--red-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-text .tagline { font-size: 0.82rem; color: #888; font-style: italic; }
.logo-text .gst { font-size: 0.72rem; color: #aaa; margin-top: 2px; }
.badge-panel { display: flex; align-items: stretch; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 16px rgba(13,71,161,0.25); }
.badge-stripe { width: 22px; background: linear-gradient(180deg, var(--red), var(--red-dark)); clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%); }
.badge-text { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; padding: 12px 28px 12px 14px; font-size: 0.9rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.badge-text i { font-size: 1.2rem; color: var(--gold-light); }

/* NAVBAR */
.main-nav { display: flex; justify-content: center; background: #fff; border-top: 1px solid #f0f0f0; flex-wrap: wrap; }
.nav-item { padding: 13px 36px; font-size: 0.95rem; font-weight: 600; color: #444; cursor: pointer; text-decoration: none; position: relative; transition: var(--transition); border: none; background: none; display: flex; align-items: center; gap: 7px; }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0); width: 60%; height: 3px; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 2px; transition: var(--transition); }
.nav-item.active, .nav-item:hover { color: var(--blue); }
.nav-item.active::after, .nav-item:hover::after { transform: translateX(-50%) scaleX(1); }

/* HERO */
.hero { background: linear-gradient(135deg, #0a2e6e 0%, var(--blue) 50%, #1a237e 100%); padding: 70px 40px; text-align: center; 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"); }
.hero-shapes .shape { position: absolute; border-radius: 50%; opacity: 0.06; animation: float 8s ease-in-out infinite; }
.hero-shapes .shape-1 { width: 300px; height: 300px; background: #fff; top: -80px; left: -80px; }
.hero-shapes .shape-2 { width: 200px; height: 200px; background: var(--gold); bottom: -60px; right: 10%; animation-delay: 2s; }
.hero-shapes .shape-3 { width: 150px; height: 150px; background: var(--red-light); top: 20%; right: -40px; animation-delay: 4s; }
@keyframes float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.05); } }
.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: var(--gold-light); padding: 6px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; margin-bottom: 18px; backdrop-filter: blur(8px); }
.hero h1 { font-size: 2.8rem; font-weight: 800; color: #fff; margin-bottom: 14px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); line-height: 1.2; }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 auto 28px; line-height: 1.7; }
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 30px; }
.hero-stat { text-align: center; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; padding: 16px 28px; min-width: 120px; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--gold-light); }
.hero-stat .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.8); margin-top: 2px; }

/* SECTION */
.section-wrap { max-width: 1100px; margin: 0 auto; padding: 50px 20px; }
.section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.section-title .icon-wrap { width: 52px; height: 52px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; box-shadow: 0 6px 16px rgba(13,71,161,0.3); flex-shrink: 0; }
.section-title h2 { font-size: 1.85rem; font-weight: 800; color: var(--text); }
.section-title h2 span { color: var(--red); }
.section-title p { font-size: 0.88rem; color: var(--text-light); margin-top: 2px; }

/* SCHEME GRID */
.scheme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.scheme-card { background: #fff; border-radius: 18px; padding: 0; box-shadow: var(--card-shadow); border: 1px solid rgba(13,71,161,0.07); overflow: hidden; cursor: pointer; transition: var(--transition); position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.scheme-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(13,71,161,0.18); border-color: var(--blue-light); }
.scheme-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 18px 18px 0 0; }
.scheme-card-head { padding: 22px 22px 14px; display: flex; align-items: flex-start; gap: 14px; }
.scheme-num { width: 46px; height: 46px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 800; flex-shrink: 0; box-shadow: 0 4px 12px rgba(13,71,161,0.3); }
.scheme-card-head h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.45; flex: 1; }
.scheme-card-body { padding: 0 22px 18px; flex: 1; }
.scheme-card-body p { font-size: 0.83rem; color: var(--text-light); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.scheme-card-foot { padding: 14px 22px; border-top: 1px solid #f0f0f8; display: flex; justify-content: space-between; align-items: center; }
.scheme-tag { display: inline-flex; align-items: center; gap: 5px; background: #e8f0fe; color: var(--blue); font-size: 0.73rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; }
.scheme-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--blue); text-decoration: none; transition: gap 0.2s; }
.scheme-link:hover { gap: 10px; color: var(--red); }

/* DETAIL */
.detail-wrap { max-width: 900px; margin: 0 auto; padding: 50px 20px; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #dde4f5; color: var(--blue); padding: 9px 20px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: var(--transition); margin-bottom: 28px; text-decoration: none; }
.back-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.detail-hero { background: linear-gradient(135deg, var(--blue) 0%, #1a237e 100%); border-radius: 22px; padding: 36px 40px; color: #fff; margin-bottom: 28px; position: relative; overflow: hidden; }
.detail-hero::after { content: ''; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.detail-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: var(--gold-light); padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; margin-bottom: 14px; }
.detail-hero h1 { font-size: 1.5rem; font-weight: 800; line-height: 1.4; margin-bottom: 10px; color: #fff; }
.detail-hero p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* INFO CARD */
.info-card { background: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--card-shadow); border: 1px solid rgba(13,71,161,0.07); margin-bottom: 22px; }
.info-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f0f4ff; }
.info-card h3 i { width: 34px; height: 34px; background: linear-gradient(135deg, var(--blue-light), var(--blue-mid)); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.info-card p { font-size: 0.93rem; color: #444; line-height: 1.85; }
.info-card ul { list-style: none; padding: 0; }
.info-card ul li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f5f5ff; font-size: 0.91rem; color: #444; line-height: 1.65; }
.info-card ul li:last-child { border-bottom: none; }
.info-card ul li::before { content: ''; width: 7px; height: 7px; background: var(--blue); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }

/* AMOUNT */
.amount-highlight { background: linear-gradient(135deg, #e8f0fe, #fce4ec); border-radius: 14px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; margin: 18px 0; border-left: 5px solid var(--blue); }

/* BUTTONS */
.btn-primary, a.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; padding: 12px 26px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; text-decoration: none; cursor: pointer; border: none; box-shadow: 0 6px 20px rgba(13,71,161,0.3); transition: var(--transition); }
.btn-primary:hover, a.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(13,71,161,0.4); color: #fff; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--red); padding: 12px 26px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid var(--red-light); box-shadow: 0 4px 14px rgba(198,40,40,0.1); transition: var(--transition); }
.btn-secondary:hover { background: var(--red); color: #fff; }
.action-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* DOWNLOADS */
.downloads-wrap { max-width: 1000px; margin: 0 auto; padding: 50px 20px; }
.dl-list { display: flex; flex-direction: column; gap: 14px; }
.dl-item { background: #fff; border-radius: 14px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 16px rgba(13,71,161,0.07); border: 1px solid rgba(13,71,161,0.07); transition: var(--transition); gap: 16px; }
.dl-item:hover { transform: translateX(6px); box-shadow: 0 8px 24px rgba(13,71,161,0.13); }
.dl-info { display: flex; align-items: center; gap: 14px; flex: 1; }
.dl-icon { width: 44px; height: 44px; background: linear-gradient(135deg, #ff1744, #c62828); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.dl-num { font-size: 0.75rem; font-weight: 700; color: var(--blue); background: #e8f0fe; padding: 3px 9px; border-radius: 50px; display: block; margin-bottom: 3px; }
.dl-name { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.dl-btn { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; white-space: nowrap; cursor: pointer; text-decoration: none; flex-shrink: 0; transition: var(--transition); }
.dl-btn:hover { transform: scale(1.05); color: #fff; }

/* LOGIN */
.login-wrap { max-width: 480px; margin: 50px auto; padding: 0 20px 60px; }
.login-card { background: #fff; border-radius: 24px; padding: 44px 40px; box-shadow: 0 20px 60px rgba(13,71,161,0.15); border: 1px solid rgba(13,71,161,0.07); position: relative; overflow: hidden; }
.login-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--red), var(--gold)); }
.login-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.7rem; margin: 0 auto 22px; box-shadow: 0 8px 24px rgba(13,71,161,0.3); }
.login-card h2 { text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.login-card .sub { text-align: center; font-size: 0.86rem; color: var(--text-light); margin-bottom: 28px; }
.form-group-creative { margin-bottom: 18px; }
.form-group-creative label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group-creative .input-wrap { position: relative; }
.form-group-creative .input-wrap i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #aaa; font-size: 0.95rem; }
.form-group-creative input { width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid #dde4f5; border-radius: 12px; font-size: 0.92rem; outline: none; transition: var(--transition); font-family: inherit; background: #fafbff; }
.form-group-creative input:focus { border-color: var(--blue-light); background: #fff; box-shadow: 0 0 0 4px rgba(21,101,192,0.08); }
.btn-login { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(13,71,161,0.3); transition: var(--transition); font-family: inherit; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(13,71,161,0.4); }
.register-link { text-align: center; font-size: 0.88rem; color: #666; margin-top: 18px; }
.register-link a { color: var(--blue); font-weight: 700; text-decoration: none; }

/* FORM CARD */
.creative-form-card { background: #fff; border-radius: 18px; box-shadow: var(--card-shadow); border: 1px solid rgba(13,71,161,0.07); overflow: hidden; margin-bottom: 22px; }
.creative-form-card .card-header { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; padding: 18px 24px; font-size: 1.1rem; font-weight: 700; text-align: center; }
.creative-form-card .card-body { padding: 28px; }
.creative-form-card h6.card-title { color: var(--red); font-weight: 700; margin-bottom: 16px; }
.creative-form-card .card-footer { background: linear-gradient(135deg, #f0f4ff, #fce4ec); padding: 16px 24px; text-align: right; border-top: 1px solid #f0f0f8; }

/* TABLE */
.creative-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(13,71,161,0.07); }
.creative-table thead th { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); color: #fff; padding: 12px 16px; font-size: 0.85rem; font-weight: 600; }
.creative-table tbody td { padding: 12px 16px; border-bottom: 1px solid #f0f4ff; font-size: 0.88rem; }
.creative-table tbody tr:hover { background: #f8faff; }

/* ALERT CREATIVE */
.alert-creative-success { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); border: 1px solid #81c784; border-radius: 12px; padding: 14px 20px; color: #2e7d32; font-weight: 600; margin-bottom: 18px; }
.alert-creative-error { background: linear-gradient(135deg, #fce4ec, #f8bbd0); border: 1px solid #e57373; border-radius: 12px; padding: 14px 20px; color: #c62828; font-weight: 600; margin-bottom: 18px; }

/* FOOTER */
.site-footer { background: linear-gradient(135deg, #0a1628, #0d2b4e); color: rgba(255,255,255,0.65); padding: 40px 40px 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; max-width: 1100px; margin: 0 auto 30px; }
.footer-brand .name { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; text-align: center; font-size: 0.78rem; max-width: 1100px; margin: 0 auto; }

/* PULSE */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 600; color: #4caf50; }
.live-badge::before { content: ''; width: 8px; height: 8px; background: #4caf50; border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }

/* FADE */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.4s ease; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-top { padding: 10px 16px; flex-wrap: wrap; gap: 10px; }
  .logo-text .name-mr { font-size: 1.2rem; }
  .badge-text { font-size: 0.72rem; padding: 9px 14px 9px 10px; }
  .hero { padding: 40px 20px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 14px; }
  .scheme-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-hero { padding: 24px 22px; }
  .detail-hero h1 { font-size: 1.15rem; }
  .info-card { padding: 22px 18px; }
  .login-card { padding: 32px 22px; }
  .action-row { flex-direction: column; }
  .dl-item { flex-direction: column; align-items: flex-start; }
  .nav-item { padding: 10px 18px; font-size: 0.85rem; }
}
