/* ============================================================
   E-LITBANG — Beranda
   Bahasa desain: biru korporat, kartu rounded (selaras Hasil Kelitbangan)
   Font: Lato (dimuat layout)
   ============================================================ */

:root {
	--elb-ink:        #16213e;
	--elb-blue:       #1a73e8;
	--elb-blue-deep:  #0d47a1;
	--elb-navy-1:     #08205c;
	--elb-navy-2:     #123a8f;
	--elb-paper:      #f5f7fb;
	--elb-muted:      #6c7689;
	--elb-line:       #edf0f6;
	--elb-line-soft:  #e3e7ef;
}

/* ====== REVEAL ====== */
.elb-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.32,1); }
.elb-reveal.is-in { opacity: 1; transform: none; }

/* ====== BUTTONS ====== */
.elb-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: .9rem; letter-spacing: .2px;
	padding: .75rem 1.6rem; border-radius: 10px; text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
}
.elb-btn:hover { text-decoration: none; transform: translateY(-2px); }
.elb-btn-primary { background: var(--elb-blue); color: #fff; box-shadow: 0 8px 22px rgba(26,115,232,.35); }
.elb-btn-primary:hover { background: var(--elb-blue-deep); color: #fff; box-shadow: 0 12px 28px rgba(13,71,161,.4); }
.elb-btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(3px); }
.elb-btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.18); }
.elb-btn-outline { color: var(--elb-blue); border: 1.5px solid var(--elb-blue); background: transparent; }
.elb-btn-outline:hover { color: #fff; background: var(--elb-blue); }

/* ====== SECTION SHELL ====== */
.elb-section { background: #fff; padding: 4.5rem 0; }
.elb-section.pt-0 { padding-top: 0; }
.elb-section-ink {
	background:
		radial-gradient(ellipse 60% 60% at 85% 10%, rgba(26,115,232,.28), transparent 60%),
		linear-gradient(135deg, var(--elb-navy-1), #0d2a6b);
}

/* ====== SECTION HEAD ====== */
.elb-head { margin-bottom: 2.6rem; }
.elb-head-row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.elb-eyebrow {
	display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: 1.5px;
	text-transform: uppercase; color: var(--elb-blue); margin-bottom: .55rem;
}
.elb-section-ink .elb-eyebrow { color: #6ea8ff; }
.elb-head h2 { font-weight: 800; color: var(--elb-ink); font-size: 1.9rem; line-height: 1.2; margin: 0; }
.elb-head h2 em { font-style: normal; color: var(--elb-blue); }
.elb-section-ink .elb-head h2 { color: #fff; }
.elb-section-ink .elb-head h2 em { color: #6ea8ff; }
.elb-head::after { content: ''; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--elb-blue); margin-top: .9rem; }
.elb-head-row::after { display: none; }
.elb-head-row > div::after { content: ''; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--elb-blue); margin-top: .9rem; }
.elb-section-ink .elb-head-row > div::after { background: #6ea8ff; }
.elb-more { font-weight: 700; font-size: .9rem; color: var(--elb-blue); text-decoration: none; transition: color .2s; }
.elb-more:hover { color: var(--elb-blue-deep); text-decoration: none; }
.elb-section-ink .elb-more { color: #6ea8ff; }
.elb-section-ink .elb-more:hover { color: #fff; }

/* ====== HERO ====== */
.elb-hero { position: relative; }
.elb-hero .carousel-item img { height: 620px; object-fit: cover; }
.elb-hero .carousel-item::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(80deg, rgba(5,16,48,.92) 0%, rgba(7,30,92,.74) 45%, rgba(7,30,92,.32) 100%);
}
.elb-hero-overlay {
	position: absolute; inset: 0; z-index: 10;
	display: flex; align-items: center; pointer-events: none;
}
.elb-hero-overlay .container { pointer-events: all; }
.elb-hero-content { max-width: 640px; padding-bottom: 3.5rem; }
.elb-hero-eyebrow {
	display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 800;
	letter-spacing: 2px; text-transform: uppercase; color: #8fc0ff; margin-bottom: 1.3rem;
}
.elb-hero-eyebrow .dash { width: 36px; height: 2px; background: #8fc0ff; display: inline-block; }
.elb-hero-title {
	font-weight: 800; color: #fff; font-size: 3.2rem; line-height: 1.12;
	letter-spacing: -.5px; margin-bottom: 1.2rem; text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.elb-hero-title em { font-style: normal; color: #8fc0ff; }
.elb-hero-sub {
	font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,.85);
	line-height: 1.75; max-width: 480px; margin-bottom: 2rem;
}
.elb-hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }

/* hero nav (dots + arrows) */
.elb-hero-nav {
	position: absolute; left: 0; right: 0; bottom: 5.5rem; z-index: 20;
	display: flex; justify-content: space-between; align-items: center; pointer-events: none;
}
.elb-hero-dots { list-style: none; display: flex; gap: .45rem; margin: 0; padding: 0; pointer-events: all; }
.elb-hero-dots li { width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s; }
.elb-hero-dots li.active { background: #fff; }
.elb-hero-arrows { display: flex; gap: .6rem; pointer-events: all; }
.elb-hero-arrows a {
	width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
	color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 50%;
	font-size: .85rem; backdrop-filter: blur(4px); transition: background .2s, border-color .2s;
}
.elb-hero-arrows a:hover { background: rgba(255,255,255,.25); border-color: #fff; color: #fff; }

/* ====== STAT BAND (menumpuk hero) ====== */
.elb-statband-wrap { background: #fff; }
.elb-statband {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: #fff; border: 1px solid var(--elb-line); border-radius: 16px;
	box-shadow: 0 18px 50px rgba(8,32,92,.14);
	margin-top: -4.5rem; position: relative; z-index: 30; overflow: hidden;
}
.elb-stat {
	display: flex; align-items: center; gap: 1rem; padding: 1.7rem 1.5rem;
	border-left: 1px solid var(--elb-line);
}
.elb-stat:first-child { border-left: none; }
.elb-stat .ic {
	width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
	background: linear-gradient(135deg, rgba(26,115,232,.12), rgba(13,71,161,.12));
	display: flex; align-items: center; justify-content: center;
	color: var(--elb-blue); font-size: 1.2rem;
}
.elb-stat .num { font-size: 2rem; font-weight: 800; color: var(--elb-ink); line-height: 1; }
.elb-stat .lbl { font-size: .76rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--elb-muted); margin-top: .35rem; }

/* ====== SERVICE CARDS ====== */
.elb-service {
	position: relative; display: block; height: 100%; text-decoration: none;
	background: #fff; border: 1px solid var(--elb-line); border-radius: 16px;
	padding: 1.9rem 1.7rem 1.6rem; box-shadow: 0 2px 12px rgba(20,33,62,.04);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .7s ease;
	overflow: hidden;
}
.elb-service:hover { text-decoration: none; transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,33,62,.12); border-color: #fff; }
.elb-service .no {
	position: absolute; top: 1.2rem; right: 1.4rem;
	font-size: 1.3rem; font-weight: 800; color: #e7ecf5;
}
.elb-service .ic {
	width: 58px; height: 58px; border-radius: 16px; margin-bottom: 1.1rem;
	background: linear-gradient(135deg, var(--elb-blue), var(--elb-blue-deep));
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 1.4rem; box-shadow: 0 8px 18px rgba(26,115,232,.28);
	transition: transform .25s ease;
}
.elb-service:hover .ic { transform: scale(1.06) rotate(-3deg); }
.elb-service h5 { font-weight: 800; font-size: 1.1rem; color: var(--elb-ink); margin-bottom: .45rem; }
.elb-service p { font-size: .85rem; color: var(--elb-muted); line-height: 1.65; margin: 0 0 1.5rem; }
.elb-service .go {
	position: absolute; bottom: 1.5rem; left: 1.7rem;
	color: var(--elb-blue); font-size: .9rem;
	opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s;
}
.elb-service:hover .go { opacity: 1; transform: none; }

/* ====== STATUS LOMBA ====== */
.elb-lomba {
	display: flex; align-items: center; gap: 1.5rem; padding: 1.8rem 2.1rem;
	border-radius: 18px; position: relative; overflow: hidden;
}
.elb-lomba-open {
	background: linear-gradient(120deg, var(--elb-blue-deep), var(--elb-blue));
	color: #fff; box-shadow: 0 16px 40px rgba(13,71,161,.28);
}
.elb-lomba-closed { background: #fff; border: 1px solid var(--elb-line); }
.elb-lomba-icon {
	width: 62px; height: 62px; border-radius: 16px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.elb-lomba-open .elb-lomba-icon { background: rgba(255,255,255,.16); color: #fff; }
.elb-lomba-closed .elb-lomba-icon { background: #fdecea; color: #e3463c; }
.elb-lomba-text { flex: 1; }
.elb-lomba-badge {
	display: inline-flex; align-items: center; gap: .45rem; font-size: .68rem; font-weight: 800;
	letter-spacing: .8px; text-transform: uppercase; padding: .28rem .8rem; border-radius: 20px; margin-bottom: .5rem;
}
.elb-lomba-badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.elb-badge-open { background: #4ade80; color: #053b1a; }
.elb-badge-open .dot { background: #053b1a; }
.elb-badge-closed { background: #fdecea; color: #c0392b; }
.elb-badge-closed .dot { background: #c0392b; }
.elb-lomba-title { font-weight: 800; font-size: 1.3rem; margin-bottom: .3rem; }
.elb-lomba-closed .elb-lomba-title { color: var(--elb-ink); }
.elb-lomba-open .elb-lomba-desc { color: rgba(255,255,255,.88); font-size: .88rem; margin: 0; }
.elb-lomba-closed .elb-lomba-desc { color: var(--elb-muted); font-size: .88rem; margin: 0; }
.elb-lomba .elb-btn { flex-shrink: 0; }
.elb-lomba-open .elb-btn-primary { background: #fff; color: var(--elb-blue-deep); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.elb-lomba-open .elb-btn-primary:hover { background: #f0f4ff; color: var(--elb-blue-deep); }

/* ====== KAJIAN TERKINI ====== */
.elb-kajian {
	position: relative; display: flex; flex-direction: column; height: 100%;
	text-decoration: none; background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 1.7rem 1.6rem;
	transition: transform .25s ease, background .25s ease, border-color .25s ease, opacity .7s ease;
	backdrop-filter: blur(2px);
}
.elb-kajian:hover { text-decoration: none; transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: rgba(143,192,255,.55); }
.elb-kajian .idx { font-size: 1.8rem; font-weight: 800; color: rgba(143,192,255,.6); line-height: 1; margin-bottom: .9rem; display: block; }
.elb-kajian-title { font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.45; margin-bottom: .6rem; }
.elb-kajian-abstrak { font-size: .85rem; color: rgba(255,255,255,.68); line-height: 1.7; margin-bottom: 1.2rem; flex: 1; }
.elb-kajian-foot {
	display: flex; align-items: center; justify-content: space-between; font-size: .78rem;
	color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.14); padding-top: .9rem;
}
.elb-kajian-more { color: #8fc0ff; font-weight: 700; }

/* ====== GALLERY ====== */
.elb-gal-row { align-items: flex-start; }
.elb-gal { position: relative; overflow: hidden; border-radius: 14px; box-shadow: 0 4px 14px rgba(20,33,62,.06); }
.elb-gal-offset { margin-top: 1.8rem; }
.elb-gal img {
	height: 210px; width: 100%; object-fit: cover; display: block;
	transition: transform .5s cubic-bezier(.22,.8,.32,1);
}
.elb-gal:hover img { transform: scale(1.08); }
.elb-gal .cap {
	position: absolute; left: 0; right: 0; bottom: 0; padding: .75rem .9rem; color: #fff;
	font-size: .76rem; font-weight: 600; letter-spacing: .3px;
	opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
	background: linear-gradient(transparent, rgba(13,71,161,.92));
}
.elb-gal:hover .cap { opacity: 1; transform: none; }

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
	.elb-hero .carousel-item img { height: 560px; }
	.elb-hero-title { font-size: 2.6rem; }
	.elb-statband { grid-template-columns: repeat(2, 1fr); }
	.elb-stat:nth-child(odd) { border-left: none; }
	.elb-stat:nth-child(n+3) { border-top: 1px solid var(--elb-line); }
}
@media (max-width: 768px) {
	.elb-hero .carousel-item img { height: 600px; }
	.elb-hero-title { font-size: 2.1rem; }
	.elb-hero-nav { bottom: 6.5rem; }
	.elb-hero-arrows { display: none; }
	.elb-head h2 { font-size: 1.6rem; }
	.elb-lomba { flex-direction: column; text-align: center; }
	.elb-gal-offset { margin-top: 0; }
	.elb-section { padding: 3.2rem 0; }
}
@media (max-width: 575px) {
	.elb-statband { grid-template-columns: 1fr; }
	.elb-stat { border-left: none; }
	.elb-stat:nth-child(n+2) { border-top: 1px solid var(--elb-line); }
	.elb-stat .num { font-size: 1.7rem; }
}
