/* ==========================================================
   Ediylabs Workshops
   ========================================================== */
:root {
    --navy: #05104c;
    --navy-2: #0b1a6b;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f6f7fb;
    --white: #fff;
    --accent: #e91e63;
    --accent-2: #f43f3f;
    --violet: #673ab7;
    --ok: #16a34a;
    --radius: 18px;
    --shadow: 0 10px 30px -12px rgba(5, 16, 76, .25);
    --shadow-lg: 0 25px 60px -20px rgba(5, 16, 76, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; color: var(--ink); margin: 0 0 .4em; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .02em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2) 60%, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 12px; border: 0; font: 600 .95rem 'Inter', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 24px -10px rgba(233, 30, 99, .7); }
.btn-accent:hover { box-shadow: 0 14px 28px -10px rgba(233, 30, 99, .85); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-ghost-dark { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-light { background: #fff; color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: #030a33; color: #c7cdf5; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--accent); }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.brand strong { display: block; font-family: 'Outfit'; font-size: 1.05rem; color: var(--navy); line-height: 1.15; }
.brand small { display: block; font-size: .75rem; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: .93rem; }
.nav-links a:not(.btn) { color: var(--text); position: relative; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #2a1a8a 0%, transparent 60%), linear-gradient(135deg, var(--navy) 0%, #0a1660 55%, #1b0a55 100%); color: #dfe3ff; padding: 80px 0 110px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(233,30,99,.45), transparent 65%); left: -160px; bottom: -260px; filter: blur(10px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: .82rem; font-weight: 500; color: #fff; }
.pill i { color: #4ade80; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.02em; }
.hero .lead { font-size: 1.12rem; max-width: 560px; color: #c3c9f0; }
.hero-cta { display: flex; gap: 14px; margin: 30px 0 28px; flex-wrap: wrap; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #aab2e8; }
.hero-badges i { color: var(--accent); margin-right: 6px; }

.verify-card { background: rgba(255,255,255,.97); color: var(--text); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); position: relative; }
.verify-card::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--navy) 0 25%, var(--accent-2) 25% 75%, var(--navy) 75%); }
.verify-head { display: flex; align-items: center; gap: 14px; padding: 8px 0 16px; border-bottom: 1px dashed var(--line); margin-bottom: 10px; }
.verify-head > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 1.2rem; }
.verify-head strong { display: block; font-family: 'Outfit'; font-size: 1.15rem; color: var(--ink); }
.verify-head small { color: var(--muted); }
.verify-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label copy" "value copy"; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.verify-row .label { grid-area: label; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.verify-row .value { grid-area: value; font-weight: 600; color: var(--navy); font-size: .92rem; word-break: break-all; }
.verify-row .copy { grid-area: copy; align-self: center; }
.verify-foot { font-size: .82rem; color: var(--muted); padding-top: 14px; display: flex; gap: 8px; }
.verify-foot i { color: var(--accent); margin-top: 4px; }
.copy { background: #f1f5f9; border: 0; width: 34px; height: 34px; border-radius: 9px; cursor: pointer; color: var(--navy); transition: background .2s; }
.copy:hover { background: #e0e7ff; }

/* ---------- Stats ---------- */
.stats { margin-top: -54px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { display: flex; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #fdf2f8; color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }
.stat strong { display: block; font-family: 'Outfit'; font-size: 1.2rem; color: var(--ink); }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 10px; }
.eyebrow.light { color: #ffb3cc; }

/* ---------- Internship cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; border: 1px solid #eef0f6; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9ecf5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag { position: absolute; top: 14px; left: 14px; background: rgba(5,16,76,.85); color: #fff; font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); text-transform: uppercase; letter-spacing: .05em; }
.card-tag i { color: #4ade80; margin-right: 4px; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.card-body h3 { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; min-height: 2.4em; margin: 0; }
.meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.meta li { display: grid; grid-template-columns: 22px 80px 1fr; align-items: center; font-size: .9rem; padding: 8px 12px; background: #f8fafc; border-radius: 10px; }
.meta i { color: var(--violet); }
.meta span { color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; text-align: right; }
.card-body .Addbutton { margin-top: auto; }
.pay { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.pay-label { font-size: .8rem; color: var(--muted); }
.pay-label i { color: var(--ok); }
.pay form { margin: 0; }

.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty i { font-size: 2.6rem; color: var(--accent); margin-bottom: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--bg); border-radius: var(--radius); padding: 30px 22px 24px; text-align: center; border: 1px solid #eef0f6; }
.step .num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 .85rem 'Outfit'; }
.step > i { font-size: 1.7rem; color: var(--accent); margin: 8px 0 14px; }
.step h4 { font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Recognition ---------- */
.recog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.recog-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); border: 1px solid #eef0f6; display: flex; flex-direction: column; gap: 6px; transition: transform .25s; }
.recog-card:hover { transform: translateY(-4px); }
.recog-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin-bottom: 12px; }
.recog-icon.aicte { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.recog-icon.msme { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.recog-icon.gst { background: linear-gradient(135deg, #15803d, #22c55e); }
.recog-card h4 { font-size: 1.15rem; margin: 0; }
.recog-card .muted { font-size: .88rem; margin: 0 0 12px; }
.id-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 10px 10px 10px 14px; font-weight: 600; color: var(--navy); font-size: .88rem; word-break: break-all; }
.verify-link { margin-top: 14px; font-weight: 600; font-size: .88rem; color: var(--accent); }
.verify-link:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; padding: 46px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 1.6rem; margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aab2e8; padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1.2fr .8fr; gap: 40px; padding-bottom: 48px; }
.footer .brand strong { color: #fff; }
.footer .brand small { color: #8f98d6; }
.f-brand p { margin-top: 16px; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-list i { color: var(--accent); width: 18px; margin-right: 6px; }
.f-list a:hover { color: #fff; }
.f-ids li { display: flex; flex-direction: column; }
.f-ids span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: #8f98d6; }
.f-ids b { color: #fff; font-weight: 500; font-size: .85rem; word-break: break-all; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .84rem; }
.fb-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fb-inner b { color: #fff; }
.counter { height: 22px; width: auto; opacity: .85; }


/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .recog { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
    .nav-toggle { display: block; }
    .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none; box-shadow: var(--shadow); }
    .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
    .nav-links .btn { margin-top: 12px; }
    body.nav-open .nav-links { display: flex; }
    .topbar-right { display: none; }
    .brand small { display: none; }
    .hero { padding: 56px 0 96px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .modal-body, .modal-head { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 540px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line); }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
}


/* ================= Workshop page extras ================= */
.btn-outline { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: #fdf2f8; }

.filters { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: 8px 16px; border-radius: 999px; font: 600 .88rem 'Inter', sans-serif; cursor: pointer; transition: .15s; }
.chip:hover { border-color: #fbcfe8; color: var(--accent); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { display: inline-block; margin-left: 6px; font-size: .75rem; opacity: .75; }
.search { position: relative; flex: 0 1 320px; }
.search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 .95rem 'Inter', sans-serif; color: var(--ink); background: #fff; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(233,30,99,.12); }

.ws-status { position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.ws-status.upcoming  { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 14px -6px rgba(233,30,99,.7); }
.ws-status.ongoing   { background: #16a34a; color: #fff; }
.ws-status.completed { background: rgba(255,255,255,.92); color: var(--navy); }
.ws-date { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--accent); background: #fdf2f8; padding: 6px 12px; border-radius: 10px; width: fit-content; }
.ws-college { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text); margin: 0; }
.ws-college i { color: var(--violet); margin-top: 4px; }
.ws-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.ws-actions .btn { padding: .75em 1em; }
.card-media { cursor: zoom-in; }
.card-media .zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,16,76,.45); color: #fff; font-size: 1.6rem; opacity: 0; transition: opacity .25s; }
.card-media:hover .zoom { opacity: 1; }
.no-match { display: none; text-align: center; padding: 50px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.no-match i { font-size: 2.4rem; color: var(--accent); margin-bottom: 12px; }

/* poster lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(3,10,51,.88); backdrop-filter: blur(4px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(900px, 100%); max-height: calc(100vh - 120px); border-radius: 14px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox .lb-cap { color: #fff; text-align: center; margin-top: 14px; font-family: 'Outfit'; font-size: 1.1rem; }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.2rem; cursor: pointer; }
.lightbox .lb-close:hover { background: rgba(255,255,255,.3); }
body.no-scroll { overflow: hidden; }

.host-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 22px; padding: 40px; box-shadow: var(--shadow); border: 1px solid #eef0f6; }
.host-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.host-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.host-list li { display: flex; gap: 10px; align-items: center; }
.host-list i { color: #16a34a; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics span { padding: 9px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); }
.topics span i { color: var(--accent); margin-right: 6px; }

@media (max-width: 900px) { .host-cta { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 540px) { .search { flex-basis: 100%; } .ws-actions { grid-template-columns: 1fr; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: .88rem; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
