/* E-Sitting landing — matches the old Esitting MITS theme (Inter, blue #1e3a8a, amber logo rings) */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --blue: #1e3a8a; --green: #10b981; --amber: #fbbf24;
  --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-400: #94a3b8; --slate-500: #64748b; --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b;
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; background: var(--slate-100); color: var(--slate-700); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ---------- College header (same as old student page) ---------- */
.header { background: #fff; border-bottom: 1px solid var(--slate-200); box-shadow: 0 1px 2px rgba(0,0,0,.05); padding: 8px; width: 100%; overflow: hidden; }
.header-inner { max-width: 80rem; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; }
.logo-ring { flex-shrink: 0; padding: 2px; border-radius: 50%; border: 2px solid var(--amber); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); display: block; }
.logo-ring img { display: block; width: 36px; height: 36px; object-fit: contain; aspect-ratio: 1; }
.title { text-align: center; min-width: 0; padding: 0 8px; }
.title h1, .title h2 { margin: 0; font-weight: 700; line-height: 1.2; font-size: clamp(9px, 2.2vw, 22px); }
.title h1 { color: #1e40af; }
.title h2 { color: var(--blue); text-transform: uppercase; }
.title .deemed { color: #dc2626; font-weight: 700; font-size: clamp(7px, 1.6vw, 16px); margin-top: 4px; }
.title .declared { color: #16a34a; font-weight: 600; font-size: clamp(6px, 1.3vw, 14px); margin-top: 2px; }
.title .naac { color: #dc2626; font-weight: 700; font-size: clamp(7px, 1.6vw, 16px); margin-top: 4px; }
@media (min-width: 768px) {
  .header { padding: 24px 32px; }
  .header-inner { gap: 48px; }
  .logo-ring { padding: 4px; }
  .logo-ring img { width: 96px; height: 96px; }
}

/* ---------- Navbar (same sizing as the old site's college navbar) ---------- */
.nav { background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 10; box-shadow: 0 4px 6px -1px rgba(0,0,0,.15); }
.nav-inner { max-width: 72rem; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.brand .dot { width: 26px; height: 26px; border-radius: 8px; background: rgba(16,185,129,.12); color: var(--green); display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.brand span.name { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.nav-links { display: flex; gap: 6px; flex-shrink: 0; }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; color: #fff; transition: background .15s; }
.nav-links a:hover { background: rgba(255,255,255,.12); }
.nav-links a.active { background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.nav-links a:not(.active) { border-color: #fff; }
@media (max-width: 420px) {
  .nav-inner { padding: 6px 10px; }
  .brand .dot { display: none; }
  .brand span.name { font-size: 11px; letter-spacing: .03em; }
  .nav-links a { padding: 5px 8px; font-size: 11px; }
  .nav-links a i { display: none; }
}
@media (min-width: 768px) {
  .brand span.name { font-size: 14px; }
  .nav-links a { padding: 6px 12px; }
}

/* ---------- Main ---------- */
main { flex: 1; width: 100%; max-width: 64rem; margin: 0 auto; padding: 18px 14px 32px; }
.hero { text-align: center; margin-bottom: 14px; }
.gradient-text { background: linear-gradient(90deg, #1e3a8a, #3b82f6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.35rem; font-weight: 700; margin: 0 0 4px; }
.hero p { margin: 0; color: var(--slate-500); font-size: .85rem; }

/* Chooser: one card with an MCQ | Pen & Paper tab switch */
.chooser { --accent: #2563eb; --accent-bg: #eff6ff; max-width: 30rem; margin: 0 auto; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; padding: 14px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.08); position: relative; overflow: hidden; }
.chooser[data-active="pen"] { --accent: #059669; --accent-bg: #ecfdf5; }
.chooser::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); transition: background .2s; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--slate-100); border-radius: 10px; padding: 4px; margin-top: 6px; }
.tab { display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: transparent; color: var(--slate-600); font-family: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1; padding: 11px 6px; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.tab:hover { color: var(--slate-800); }
.tab[aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tab:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.panel { display: flex; align-items: center; gap: 12px; padding: 16px 4px 14px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-bg); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, color .2s; }
.icon svg { width: 24px; height: 24px; }
.chooser[data-active="mcq"] .i-pen, .chooser[data-active="pen"] .i-mcq { display: none; }
.panel .body { min-width: 0; }
.panel h3 { margin: 0 0 2px; font-size: 1rem; color: #0f172a; line-height: 1.25; }
.panel p { margin: 0; color: var(--slate-500); font-size: .8rem; line-height: 1.4; }
.btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #fff; font-weight: 700; padding: 11px 14px; border-radius: 8px; font-size: .85rem; text-transform: uppercase; letter-spacing: .02em; transition: background .2s, filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn svg { width: 16px; height: 16px; }

.note { text-align: center; margin: 16px 0 0; font-size: .8rem; color: var(--slate-500); }
.note a { color: var(--blue); font-weight: 600; }
.note a:hover { text-decoration: underline; }

/* Tablet / desktop */
@media (min-width: 720px) {
  main { padding: 32px 16px 32px; }
  .hero { margin-bottom: 24px; }
  .gradient-text { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 8px; }
  .hero p { font-size: 1rem; }
  .chooser { padding: 18px; border-radius: 16px; }
  .tab { font-size: 13px; padding: 13px 8px; }
  .panel { padding: 22px 6px 18px; gap: 16px; }
  .icon { width: 56px; height: 56px; border-radius: 14px; }
  .icon svg { width: 30px; height: 30px; }
  .panel h3 { font-size: 1.2rem; }
  .panel p { font-size: .9rem; }
  .btn { padding: 13px 18px; font-size: .9rem; border-radius: 10px; }
  .note { margin-top: 24px; font-size: .85rem; }
}

/* ---------- Footer (matches the old Esitting site: Inter max weight 700, MDB link blue, 1.6 line-height) ---------- */
.footer-divider { border-top: 1px solid var(--slate-200); width: 100%; margin-top: 48px; }
.site-footer { background: var(--slate-100); color: var(--slate-600); padding: 40px 0; line-height: 1.6; }
.footer-wrap { padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.footer-left { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand span { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--slate-800); letter-spacing: -0.025em; }
.footer-desc { margin: 0 0 16px; font-size: 10px; font-weight: 500; color: var(--slate-400); max-width: 250px; text-align: center; line-height: 1.625; }
.footer-mid { text-align: center; }
.footer-mid .c1 { margin: 0 0 16px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--slate-700); }
.footer-mid .c2 { margin: 4px 0 0; font-size: 10px; font-weight: 500; color: var(--slate-400); }
.footer-right { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.social { display: flex; align-items: center; gap: 20px; }
.social a { font-size: 20px; color: #3b71ca; transition: transform .15s, color .15s; }
.social a:hover { transform: scale(1.1); }
.social a.fb:hover { color: #2563eb; } .social a.ig:hover { color: #db2777; } .social a.li:hover { color: #1d4ed8; } .social a.web:hover { color: #0f172a; }
.sdc { display: flex; align-items: center; gap: 12px; transition: opacity .15s; }
.sdc:hover { opacity: .8; }
.sdc img { height: 32px; width: auto; }
.sdc span { font-size: 10px; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: .1em; }
.sdc:hover span { color: #2563eb; }
@media (min-width: 768px) {
  .footer-wrap { padding: 0 80px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-left { align-items: flex-start; }
  .footer-desc { text-align: left; }
  .footer-right { align-items: flex-end; }
}
@media (min-width: 1024px) { .footer-wrap { padding: 0 128px; } }
