Files
roda-student-web-if-develop…/groups/HabisIniSeminar/style.css
T

1751 lines
44 KiB
CSS

/* ============================================================
style.css — Group 02 Informatika UNTAN
Base template + komponen halaman PMB
============================================================ */
/* ── Design Tokens ──────────────────────────────────────────── */
:root {
--brand-navy: #003150;
--brand-yellow: #feb401;
--text-main: #1e293b;
--text-soft: #64748b;
--bg-soft: #f8fafc;
--line: #e2e8f0;
/* Komponen PMB */
--sidebar-w: 300px;
--header-h: 98px;
}
/* ── Reset ───────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: "Plus Jakarta Sans", "Roboto", Arial, sans-serif;
color: var(--text-main);
background: #fff;
font-size: 16px;
line-height: 1.6;
}
.container { width: min(1100px, 92%); margin-inline: auto; }
/* ── Template Shell: Nav ─────────────────────────────────────── */
.nav {
background: var(--brand-navy);
color: #fff;
border-bottom: 4px solid var(--brand-yellow);
padding: 14px 0;
}
.brand { font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; }
/* Nav: flex row dengan lang toggle di kanan */
.nav-inner {
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-lang {
display: flex;
align-items: center;
gap: 2px;
}
.nav-lang-btn {
background: none;
border: none;
font-family: inherit;
font-size: .78rem;
font-weight: 700;
color: rgba(255,255,255,.45);
cursor: pointer;
padding: 4px 8px;
border-radius: 4px;
letter-spacing: .05em;
transition: color .15s, background .15s;
}
.nav-lang-btn.is-active {
color: var(--brand-navy);
background: var(--brand-yellow);
}
.nav-lang-btn:not(.is-active):hover { color: #fff; }
.nav-lang-sep {
color: rgba(255,255,255,.3);
font-size: .78rem;
user-select: none;
padding: 0 2px;
}
/* Layout full-width: override grid ke 1 kolom (lihat juga @media 1024px) */
.layout--full {
grid-template-columns: 1fr;
}
.layout--full > article {
max-width: 100%;
min-width: 0;
overflow: visible;
}
/* Reset article-body constraints dalam layout full-width */
.layout--full .article-body {
overflow: visible;
max-width: 100%;
}
/* ── Template Shell: Hero ────────────────────────────────────── */
.hero {
position: relative;
color: #fff;
min-height: 250px;
display: flex;
align-items: flex-end;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(0.45);
}
.hero-inner { position: relative; z-index: 1; padding: 50px 0; }
.badge {
display: inline-block;
background: var(--brand-yellow);
color: #111827;
font-size: .68rem;
font-weight: 700;
letter-spacing: .14em;
text-transform: uppercase;
padding: .2rem .45rem;
margin-bottom: 12px;
}
.hero h1 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.2; }
.hero-description {
font-size: 1rem;
line-height: 1.6;
color: rgba(255, 255, 255, 0.85);
margin-top: 20px;
max-width: 800px;
text-align: justify;
}
@media (max-width: 768px) {
.hero-description {
font-size: 0.9rem;
margin-top: 16px;
}
}
/* ── Template Shell: Layout ──────────────────────────────────── */
.layout {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
padding: 2rem 0 4rem;
}
@media (min-width: 1024px) {
.layout { grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); }
/* Full-width override — harus di sini supaya spesifisitas sama */
.layout.layout--full { grid-template-columns: 1fr; }
}
.meta {
font-size: .78rem;
text-transform: uppercase;
color: #475569;
display: flex;
flex-wrap: wrap;
gap: .75rem 1rem;
margin-bottom: 1rem;
}
.cover { background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.cover img { width: 100%; height: auto; display: block; }
/* ── Template Shell: Article Body ───────────────────────────── */
.article-body > * + * { margin-top: 1.1em; }
/* Reset margin-top untuk elemen block besar di dalam article-body */
.article-body > section,
.article-body > div { margin-top: 0; }
.article-body h2 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
.article-body h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.article-body p { margin: 0 0 1em; }
.article-body ul,
.article-body ol { padding-left: 1.4rem; }
.article-body blockquote {
border-left: 4px solid #005eb8;
background: #eef6ff;
padding: .8rem 1rem;
color: #334155;
}
.article-body a { color: #000; }
.article-body img { max-width: 100%; border-radius: 8px; }
.article-body code {
background: #f1f5f9;
padding: .1em .35em;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
/* ── Template Shell: Aside Note ─────────────────────────────── */
.note { border: 1px solid var(--line); background: var(--bg-soft); padding: 1rem; }
.note h3 {
margin: 0 0 .5rem;
font-size: .76rem;
text-transform: uppercase;
letter-spacing: .12em;
color: #475569;
}
/* ── Template Shell: Footer ──────────────────────────────────── */
.footer {
margin-top: 2rem;
background: var(--brand-navy);
color: #fff;
border-top: 4px solid var(--brand-yellow);
}
.footer-inner {
display: flex;
align-items: center;
justify-content: center;
gap: .75rem;
padding: 1rem 0;
}
.footer-logo { height: 28px; width: auto; }
.footer-ornament { width: 100%; display: block; opacity: .9; }
/* ============================================================
Komponen Halaman PMB — Group 02
Semua class di bawah hanya dipakai di #assignment-body
============================================================ */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: "Plus Jakarta Sans", sans-serif;
color: var(--text-main);
background: #ffffff;
font-size: 16px;
line-height: 1.6;
}
#hero {
background: var(--brand-navy);
padding: 64px 64px 80px;
position: relative;
overflow: hidden;
}
#hero::before {
content: "";
position: absolute;
right: -80px;
top: -80px;
width: 500px;
height: 500px;
border-radius: 50%;
background: rgba(253, 185, 19, 0.07);
pointer-events: none;
}
#hero h1 {
font-size: 52px;
font-weight: 800;
color: #fff;
line-height: 1.15;
margin-bottom: 4px;
}
#hero h1.yellow {
color: var(--brand-yellow);
}
#hero p.hero-sub {
font-size: 16px;
color: rgba(255, 255, 255, 0.72);
max-width: 460px;
margin-top: 20px;
line-height: 1.7;
}
#about {
padding: 72px clamp(20px, 4vw, 40px);
background: #ffffff;
}
.about-layout {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 36px;
width: 100%;
}
.about-text {
width: 100%;
max-width: none;
flex-shrink: 0;
}
.section-title {
font-size: 28px;
font-weight: 700;
color: var(--brand-navy);
margin-bottom: 12px;
}
.section-title-line {
width: 56px;
height: 4px;
background: var(--brand-yellow);
border-radius: 2px;
margin-bottom: 20px;
}
.section-desc {
font-size: 15px;
color: #555;
line-height: 1.8;
text-align: justify;
}
.path-cards-slider-wrap {
position: relative;
width: 100%;
min-width: 0;
flex: 1;
}
.path-cards-grid {
display: grid;
grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
width: 100%;
align-items: start;
column-gap: 0;
}
.path-column {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 0;
}
.path-step-head {
display: flex;
align-items: center;
justify-content: center;
min-height: 40px;
width: 100%;
}
.path-step-circle {
width: 36px;
height: 36px;
border-radius: 50%;
background: #b8c5d0;
color: #fff;
font-size: 15px;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
line-height: 1;
transition:
background 0.25s ease,
color 0.25s ease,
transform 0.25s ease,
box-shadow 0.25s ease;
}
.path-between-arrow {
font-size: 1.35rem;
font-weight: 700;
color: var(--brand-navy);
line-height: 1;
user-select: none;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 2px;
align-self: start;
flex-shrink: 0;
pointer-events: none;
}
.path-column:hover .path-step-circle {
background: var(--brand-yellow);
color: var(--brand-navy);
transform: scale(1.08);
box-shadow: 0 4px 12px rgba(0, 49, 80, 0.2);
}
.path-card {
background: var(--brand-navy);
border-radius: 14px;
padding: 14px 12px 12px;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 10px;
min-height: 132px;
height: 100%;
cursor: pointer;
transition:
transform 0.25s ease,
box-shadow 0.25s ease,
background 0.25s ease;
box-sizing: border-box;
}
.path-column:hover .path-card {
transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(0, 49, 80, 0.25);
background: #003d63;
}
.path-card-badge {
font-size: 10px;
font-weight: 600;
color: var(--brand-navy);
background: var(--brand-yellow);
border-radius: 20px;
padding: 4px 10px;
white-space: nowrap;
align-self: flex-start;
margin-top: auto;
flex-shrink: 0;
}
.path-card-body {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
flex: 1;
}
.path-card-body h3 {
font-size: 14px;
font-weight: 700;
color: #fff;
line-height: 1.3;
margin: 0;
}
.path-card-body p {
font-size: 11px;
color: rgba(255, 255, 255, 0.72);
line-height: 1.45;
margin: 0;
text-align: left;
flex: 1;
}
.path-column:hover .path-card-body p {
color: rgba(255, 255, 255, 0.9);
}
/* About: layout dua kolom + kartu seragam (desktop) */
@media (min-width: 960px) {
.about-layout {
flex-direction: row;
align-items: flex-start;
gap: 40px;
}
.about-text {
flex: 0 1 38%;
max-width: 420px;
}
.path-cards-grid {
overflow-x: visible;
}
.path-card {
min-height: 148px;
}
.path-cards-slider-wrap .path-cards-slider-track {
display: none;
}
}
/* About: scroll horizontal (tablet & mobile) */
@media (max-width: 959px) {
.path-cards-grid {
display: flex;
flex-direction: row;
align-items: flex-start;
gap: 0;
overflow-x: auto;
scroll-snap-type: x proximity;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
scroll-behavior: auto;
cursor: grab;
padding-bottom: 6px;
touch-action: pan-x;
}
.path-cards-grid::-webkit-scrollbar {
display: none;
}
.path-cards-grid:active,
.path-cards-grid.dragging {
cursor: grabbing;
}
.path-cards-grid.dragging .path-card {
pointer-events: none;
user-select: none;
}
.path-column {
flex: 0 0 min(200px, 42vw);
scroll-snap-align: center;
}
.path-between-arrow {
flex: 0 0 auto;
height: 40px;
padding: 0 2px;
}
.path-card {
min-height: 128px;
}
}
@media (max-width: 600px) {
.path-column {
flex: 0 0 min(180px, 78vw);
}
}
#info-jalur-header {
padding: 40px clamp(20px, 4vw, 40px) 0;
background: var(--bg-soft);
}
#info-jalur-header h2 {
font-size: 28px;
font-weight: 700;
color: var(--brand-navy);
margin-bottom: 12px;
}
.header-divider {
width: 100%;
height: 3px;
background: var(--brand-yellow);
border-radius: 2px;
}
#main-layout {
display: flex;
align-items: stretch;
background: var(--bg-soft);
padding: 32px clamp(20px, 4vw, 40px) 64px;
gap: 40px;
box-sizing: border-box;
}
#sidebar {
width: var(--sidebar-w);
flex-shrink: 0;
position: sticky;
top: calc(var(--header-h, 98px) + 24px);
align-self: flex-start;
}
.sidebar-card {
background: var(--brand-navy);
border-radius: 16px;
padding: 24px 0 20px;
overflow: hidden;
}
.sidebar-heading {
font-size: 12px;
font-weight: 700;
color: white;
letter-spacing: 2px;
text-transform: uppercase;
padding: 0 24px 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
margin-bottom: 8px;
}
.sidebar-data-note {
margin: 16px 0 0;
padding: 14px 24px 4px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
font-size: 11px;
line-height: 1.55;
font-weight: 500;
color: rgba(255, 255, 255, 0.55);
text-align: center;
}
.sidebar-group {
margin-bottom: 2px;
}
.sidebar-group-btn {
width: 100%;
background: none;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
padding: 13px 24px;
color: white;
font-size: 14px;
font-weight: 700;
font-family: inherit;
transition:
background 0.15s,
color 0.15s;
}
.sidebar-group-btn.active {
background: var(--brand-yellow);
color: var(--brand-navy);
}
.sidebar-group-btn:not(.active):hover {
background: rgba(255, 255, 255, 0.08);
color: white;
}
.sidebar-group-btn .chevron {
font-size: 11px;
transition: transform 0.2s;
}
.sidebar-sub {
display: none;
flex-direction: column;
padding: 4px 0;
}
.sidebar-sub.open {
display: flex;
}
.sidebar-sub a {
display: block;
padding: 9px 24px 9px 36px;
font-size: 13px;
color: rgba(255, 255, 255, 0.65);
text-decoration: none;
border-left: none;
cursor: pointer;
position: relative;
transition: color 0.15s;
}
.sidebar-sub a:hover {
color: var(--brand-yellow);
}
.sidebar-sub a.active {
color: white;
font-weight: 600;
border-left: none;
text-decoration: underline;
text-decoration-color: var(--brand-yellow);
text-underline-offset: 3px;
text-decoration-thickness: 2px;
}
.sidebar-divider {
border: none;
border-top: 1px solid rgba(255, 255, 255, 0.15);
margin: 10px 24px;
}
.sidebar-direct-links {
display: flex;
flex-direction: column;
}
.sidebar-direct-links a {
display: block;
padding: 13px 24px;
font-size: 14px;
font-weight: 700;
color: white;
text-decoration: none;
transition:
background 0.15s,
color 0.15s;
cursor: pointer;
}
.sidebar-direct-links a:hover {
background: rgba(255, 255, 255, 0.08);
color: #fff;
}
.sidebar-direct-links a.active {
background: var(--brand-yellow);
color: var(--brand-navy);
}
#content-area {
flex: 1;
min-width: 0;
padding-inline: clamp(20px, 4vw, 40px);
box-sizing: border-box;
}
.path-panel {
display: none;
}
.path-panel.active {
display: block;
}
.content-section {
padding: 40px 0;
border-bottom: 2px solid var(--brand-yellow);
background: transparent;
}
.content-section:last-child {
border-bottom: none;
}
.section-h2 {
font-size: 24px;
font-weight: 700;
color: var(--brand-navy);
margin-bottom: 16px;
}
.info-text {
font-size: 15px;
color: #444;
line-height: 1.8;
text-align: justify;
margin-bottom: 24px;
}
.cta-row {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 28px;
justify-content: center;
}
.btn-cta {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 11px 20px;
border-radius: 8px;
font-size: 13px;
font-weight: 700;
text-decoration: none;
transition:
transform 0.15s,
box-shadow 0.15s;
cursor: pointer;
border: none;
font-family: inherit;
}
.btn-cta:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn-yellow {
background: var(--brand-yellow);
color: var(--brand-navy);
}
.chart-card {
background: #fff;
border-radius: 16px;
padding: 22px 24px 16px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
border: 1px solid var(--line);
}
.chart-card h3 {
font-size: 16px;
font-weight: 700;
color: var(--brand-navy);
margin-bottom: 14px;
}
.chart-legend {
display: flex;
gap: 20px;
margin-top: 12px;
font-size: 13px;
color: #666;
justify-content: center;
}
.legend-dot {
width: 14px;
height: 14px;
border-radius: 3px;
display: inline-block;
}
.accordion-item {
border-radius: 10px;
overflow: hidden;
margin-bottom: 12px;
border: 1px solid var(--line);
}
.accordion-header {
background: var(--brand-navy);
color: #fff;
padding: 15px 20px;
font-size: 14.5px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
user-select: none;
transition: background 0.15s;
font-family: inherit;
width: 100%;
border: none;
text-align: left;
}
.accordion-header:hover {
background: #004470;
}
.accordion-header .acc-icon {
font-size: 13px;
transition: transform 0.25s;
flex-shrink: 0;
}
.accordion-body {
display: none;
padding: 20px 22px;
background: #fff;
}
.accordion-body.open {
display: block;
}
.req-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 12px;
}
.req-list li {
display: flex;
align-items: flex-start;
gap: 12px;
font-size: 14.5px;
color: #444;
line-height: 1.65;
}
.req-list-content {
flex: 1;
min-width: 0;
}
.req-list-text {
margin: 0;
line-height: 1.65;
text-align: justify;
}
.req-sublist {
margin: 10px 0 0;
padding-left: 1.35rem;
list-style: disc;
display: flex;
flex-direction: column;
gap: 6px;
}
.req-sublist li {
display: list-item;
font-size: 14px;
color: #555;
line-height: 1.55;
padding-left: 2px;
}
.req-check {
width: 22px;
height: 22px;
background: var(--brand-yellow);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-top: 1px;
font-size: 10px;
color: var(--brand-navy);
font-weight: 700;
}
.mek-text {
font-size: 15px;
color: #444;
line-height: 1.8;
text-align: justify;
margin-bottom: 20px;
}
.mek-check-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 14px;
margin-bottom: 28px;
}
.mek-check-list li {
display: flex;
align-items: flex-start;
gap: 12px;
font-size: 14.5px;
color: #444;
line-height: 1.65;
}
/* Sub-daftar di mekanisme — struktur sama dengan req-list di persyaratan */
.mek-check-list .req-list-content {
flex: 1;
min-width: 0;
}
.mek-check-list .req-list-text {
margin: 0;
line-height: 1.65;
text-align: justify;
}
.mek-check-list .req-sublist {
margin: 10px 0 0;
padding-left: 1.35rem;
list-style: disc;
display: flex;
flex-direction: column;
gap: 6px;
}
.mek-check-list .req-sublist li {
display: list-item;
font-size: 14px;
color: #555;
line-height: 1.55;
padding-left: 2px;
}
.steps-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-top: 8px;
}
.step-card {
background: #fff;
border-radius: 12px;
padding: 20px 18px;
border: 1px solid var(--line);
display: flex;
align-items: flex-start;
gap: 14px;
transition: box-shadow 0.2s;
}
.step-card:hover {
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}
.step-num {
width: 38px;
height: 38px;
background: var(--brand-navy);
border-radius: 9px;
display: flex;
align-items: center;
justify-content: center;
color: var(--brand-yellow);
font-weight: 700;
font-size: 15px;
flex-shrink: 0;
}
.step-card h4 {
font-size: 14px;
font-weight: 600;
color: var(--brand-navy);
margin-bottom: 3px;
}
.step-card p {
font-size: 13px;
color: #666;
line-height: 1.6;
}
.timeline-wrap {
position: relative;
padding: 20px 0 10px;
}
.timeline-center-line {
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 2px;
transform: translateX(-50%);
background: repeating-linear-gradient(
to bottom,
var(--brand-yellow) 0,
var(--brand-yellow) 8px,
transparent 8px,
transparent 14px
);
}
.timeline-row {
display: flex;
align-items: flex-start;
margin-bottom: 28px;
position: relative;
}
.timeline-row.left .timeline-card {
position: relative;
left: calc(50% - 300px);
}
.timeline-row.right .timeline-card {
position: relative;
left: calc(50% + 20px);
}
.timeline-dot {
position: absolute;
left: 50%;
top: 16px;
width: 16px;
height: 16px;
border-radius: 50%;
background: var(--brand-yellow);
border: 3px solid #fff;
box-shadow: 0 0 0 3px var(--brand-yellow);
transform: translateX(-50%);
z-index: 2;
}
.timeline-card {
background: var(--brand-navy);
border-radius: 10px;
padding: 13px 16px;
max-width: 240px;
width: 100%;
position: relative;
transform: translateX(20px);
}
.timeline-card h4 {
font-size: 13px;
font-weight: 700;
color: var(--brand-yellow);
margin-bottom: 4px;
}
.timeline-card p {
font-size: 12px;
color: rgba(255, 255, 255, 0.8);
line-height: 1.5;
}
.timeline-row.left .timeline-card::after {
content: "";
position: absolute;
right: -8px;
top: 16px;
border: 10px solid transparent;
border-left-color: var(--brand-navy);
border-right: 0;
margin-top: 0;
}
.timeline-row.right .timeline-card::before {
content: "";
position: absolute;
left: -10px;
top: 16px;
border: 10px solid transparent;
border-right-color: var(--brand-navy);
border-left: 0;
margin-top: 0;
}
.biaya-acc-item {
border-radius: 10px;
overflow: hidden;
margin-bottom: 12px;
border: 1px solid var(--line);
}
.biaya-acc-header {
background: var(--brand-navy);
color: #fff;
padding: 15px 20px;
font-size: 14.5px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
user-select: none;
font-family: inherit;
width: 100%;
border: none;
text-align: left;
transition: background 0.15s;
}
.biaya-acc-header:hover {
background: #004470;
}
.biaya-acc-header .acc-icon {
font-size: 13px;
transition: transform 0.25s;
}
.biaya-acc-body {
display: none;
padding: 18px 20px;
background: #fff;
}
.biaya-acc-body.open {
display: block;
}
.fee-row-zero {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
font-size: 15px;
color: #444;
padding: 4px 0;
}
.fee-row-zero span:last-child {
font-weight: 700;
color: var(--brand-navy);
white-space: nowrap;
flex-shrink: 0;
}
.fee-line-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0;
}
.fee-line-item {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
font-size: 14.5px;
color: #444;
line-height: 1.55;
padding: 12px 0;
border-bottom: 1px solid var(--line);
}
.fee-line-item:last-child {
border-bottom: none;
padding-bottom: 4px;
}
.fee-line-label {
flex: 1;
min-width: 0;
text-align: left;
}
.fee-line-amount {
font-weight: 700;
color: var(--brand-navy);
white-space: nowrap;
flex-shrink: 0;
text-align: right;
}
.fee-table-wrap {
border-radius: 10px;
overflow: hidden;
border: 1px solid var(--line);
margin-bottom: 16px;
max-width: 380px;
margin: 15px auto;
}
.fee-table {
width: 100%;
border-collapse: collapse;
}
.fee-table thead tr {
background: var(--brand-navy);
}
.fee-table thead th {
padding: 10px 20px;
font-size: 13px;
font-weight: 700;
color: #fff;
text-align: center;
}
.fee-table tbody tr {
border-bottom: 1px solid var(--line);
}
.fee-table tbody tr:nth-child(even) {
background: #f8f9fa;
}
.fee-table tbody tr:last-child {
border-bottom: none;
}
.fee-table tbody td {
padding: 9px 20px;
font-size: 13px;
color: var(--text-main);
text-align: center;
}
.fee-desc {
font-size: 14px;
color: #555;
line-height: 1.7;
margin-bottom: 14px;
text-align: justify;
}
.fee-highlight {
background: rgba(253, 185, 19, 0.12);
border: 1px solid rgba(253, 185, 19, 0.4);
border-radius: 10px;
padding: 14px 18px;
margin-top: 25px;
font-size: 14px;
color: #6b4800;
line-height: 1.7;
text-align: justify;
}
.scholarship-slider-wrap {
position: relative;
margin-bottom: 8px;
}
.scholarship-slider {
display: flex;
gap: 18px;
overflow-x: auto;
scroll-behavior: smooth;
scroll-snap-type: x proximity;
cursor: grab;
user-select: none;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
padding-bottom: 4px;
}
.scholarship-slider:active {
cursor: grabbing;
}
.scholarship-slider::-webkit-scrollbar {
display: none;
}
.scholarship-slider.dragging {
cursor: grabbing;
}
.scholarship-card {
background: var(--brand-navy);
border-radius: 14px;
padding: 22px 18px;
display: flex;
flex-direction: column;
user-select: none;
gap: 10px;
transition:
transform 0.2s,
box-shadow 0.2s;
flex: 0 0 260px;
scroll-snap-align: center;
min-height: 200px;
}
.scholarship-slider.dragging .scholarship-card {
pointer-events: none;
}
.scholarship-card:hover {
transform: translateY(-4px);
box-shadow: 0 14px 32px rgba(0, 49, 80, 0.3);
}
.scholarship-icon-wrap {
width: 48px;
height: 48px;
background: rgba(253, 185, 19, 0.15);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
}
.scholarship-card h4 {
font-size: 14px;
font-weight: 700;
color: #fff;
}
.scholarship-card p {
font-size: 13px;
color: rgba(255, 255, 255, 0.65);
line-height: 1.6;
flex: 1;
text-align: justify;
}
.btn-detail {
display: inline-block;
background: var(--brand-yellow);
color: var(--brand-navy);
font-size: 13px;
font-weight: 700;
padding: 10px 16px;
border-radius: 8px;
text-align: center;
text-decoration: none;
transition: opacity 0.15s;
}
.btn-detail:hover {
opacity: 0.85;
}
.slider-track {
width: 100%;
height: 8px;
background: var(--line);
border-radius: 4px;
margin-top: 16px;
position: relative;
cursor: pointer;
user-select: none;
touch-action: none;
}
.slider-track:hover {
background: #d0d8e4;
}
.slider-thumb {
position: absolute;
left: 0;
top: 0;
height: 100%;
background: var(--brand-yellow);
border-radius: 4px;
cursor: grab;
transition: background 0.15s;
min-width: 40px;
}
.slider-thumb:hover {
background: #e5a710;
}
.slider-thumb.dragging {
cursor: grabbing;
background: #c9940e;
}
#faq-section {
background: var(--bg-soft);
padding: 64px 0 72px;
text-align: center;
}
#faq-section h2 {
font-size: 26px;
font-weight: 700;
color: var(--brand-navy);
margin-bottom: 6px;
}
#faq-section .faq-sub {
font-size: 14px;
color: #888;
margin-bottom: 32px;
}
.faq-list {
max-width: 900px;
margin: 0 auto;
text-align: left;
}
.faq-item {
background: var(--brand-navy);
border-radius: 10px;
overflow: hidden;
margin-bottom: 12px;
}
.faq-header {
padding: 18px 22px;
font-size: 14.5px;
font-weight: 600;
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
user-select: none;
gap: 16px;
font-family: inherit;
width: 100%;
border: none;
background: var(--brand-navy);
text-align: left;
transition: background 0.15s;
}
.faq-header:hover {
background: #004470;
}
.faq-header .faq-icon {
font-size: 13px;
flex-shrink: 0;
transition: transform 0.25s;
color: var(--brand-yellow);
}
.faq-body {
display: none;
background: #fff;
padding: 18px 22px;
font-size: 14px;
color: #555;
line-height: 1.7;
border-top: 1px solid var(--line);
text-align: justify;
}
.faq-body.open {
display: block;
}
#site-footer {
width: 100%;
background: var(--brand-navy);
}
#site-footer img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
max-height: 300px;
}
@media (max-width: 960px) {
#about {
padding: 48px clamp(16px, 4vw, 28px);
}
.steps-grid {
grid-template-columns: 1fr;
}
#info-jalur-header {
padding: 32px clamp(16px, 4vw, 28px) 0;
}
#main-layout {
flex-direction: column;
padding: 20px clamp(16px, 4vw, 28px) 40px;
gap: 20px;
}
#sidebar {
position: static;
width: 100%;
top: auto;
}
#content-area {
width: 100%;
padding-inline: clamp(16px, 4vw, 28px);
}
#hero {
padding: 40px 0 52px;
}
#hero h1 {
font-size: 32px;
}
.timeline-center-line {
left: 12px;
}
.timeline-row.left,
.timeline-row.right {
justify-content: flex-start;
padding-left: 38px;
padding-right: 0;
}
.timeline-row.left .timeline-dot,
.timeline-row.right .timeline-dot {
left: 12px;
transform: translateX(-50%);
}
.timeline-row.left .timeline-card,
.timeline-row.right .timeline-card {
left: 0 !important;
transform: none !important;
margin-left: 24px;
max-width: calc(100% - 40px);
}
.timeline-row.left .timeline-card::after,
.timeline-row.right .timeline-card::before {
display: none;
}
.timeline-row.left .timeline-card::before,
.timeline-row.right .timeline-card::after {
content: "";
position: absolute;
left: -10px;
top: 16px;
border: 10px solid transparent;
border-right-color: var(--brand-navy);
border-left: 0;
display: block;
}
.fee-table-wrap {
max-width: 100%;
margin-left: auto;
}
#faq-section {
padding: 48px 0;
}
}
/* ============================================================
Site Header — Top Bar + Navigation Bar
============================================================ */
#site-header {
width: 100%;
background: var(--brand-navy);
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
/* --- Top Bar --- */
.header-top-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 40px;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-brand {
display: flex;
align-items: center;
gap: 14px;
text-decoration: none;
}
.header-logo {
width: 46px;
height: 46px;
border-radius: 50%;
background: transparent;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
overflow: hidden;
}
.header-logo img { width: 46px; height: 46px; object-fit: contain; }
.header-brand-name {
font-size: 15px;
font-weight: 800;
color: #fff;
letter-spacing: 1.5px;
text-transform: uppercase;
line-height: 1;
}
.header-brand-faculty {
font-size: 9.5px;
font-weight: 500;
color: rgba(255, 255, 255, 0.6);
letter-spacing: 2px;
text-transform: uppercase;
margin-top: 3px;
}
.header-right-group {
display: flex;
align-items: center;
gap: 14px;
}
.header-portal-label {
font-size: 11.5px;
font-weight: 700;
color: rgba(255, 255, 255, 0.7);
letter-spacing: 1px;
text-transform: uppercase;
padding-right: 14px;
border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.header-lang-toggle {
display: flex;
align-items: center;
gap: 3px;
}
.lang-btn {
background: none;
border: none;
font-family: inherit;
font-size: 12px;
font-weight: 700;
color: rgba(255, 255, 255, 0.45);
cursor: pointer;
padding: 4px 7px;
border-radius: 4px;
letter-spacing: 0.5px;
transition: color 0.15s, background 0.15s;
}
.lang-btn.is-active {
color: var(--brand-navy);
background: var(--brand-yellow);
}
.lang-btn:not(.is-active):hover { color: #fff; }
.lang-separator {
color: rgba(255, 255, 255, 0.25);
font-size: 12px;
user-select: none;
}
.header-icon-btn {
background: none;
border: none;
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
font-size: 14px;
padding: 5px 7px;
border-radius: 5px;
display: flex;
align-items: center;
transition: color 0.15s, background 0.15s;
}
.header-icon-btn:hover {
color: #fff;
background: rgba(255, 255, 255, 0.1);
}
.header-hamburger {
display: none;
background: none;
border: none;
color: #fff;
font-size: 19px;
cursor: pointer;
padding: 4px;
}
/* --- Navigation Bar --- */
.header-nav-bar {
background: var(--brand-yellow);
padding: 0;
}
.nav-menu-list {
display: flex;
list-style: none;
margin: 0;
padding: 0;
justify-content: center; /* ← tengah */
}
.nav-menu-item { position: relative; }
.nav-menu-link {
display: flex;
align-items: center;
gap: 5px;
padding: 13px 18px;
font-size: 12.5px;
font-weight: 700;
color: var(--brand-navy);
text-transform: uppercase;
letter-spacing: 0.4px;
text-decoration: none;
white-space: nowrap;
background: none;
border: none;
font-family: inherit;
cursor: pointer;
transition: background 0.15s;
}
.nav-menu-link i { font-size: 10px; transition: transform 0.2s; }
.nav-menu-link:hover { background: rgba(0, 0, 0, 0.08); }
.nav-menu-item:hover .nav-menu-link i { transform: rotate(180deg); }
/* Dropdown — PUTIH */
.nav-dropdown {
display: none;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
min-width: 200px;
background: #ffffff;
border-radius: 0 0 10px 10px;
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
z-index: 500;
padding: 6px 0;
border-top: 3px solid var(--brand-yellow);
}
.nav-menu-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
display: block;
padding: 10px 20px;
font-size: 13px;
font-weight: 500;
color: var(--brand-navy);
text-decoration: none;
transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover {
background: var(--bg-soft);
color: var(--brand-navy);
}
/* --- Mobile menu --- */
.header-mobile-nav {
display: none;
background: var(--brand-yellow);
padding: 6px 0 14px;
}
.header-mobile-nav.is-open { display: block; }
.mobile-nav-btn,
.header-mobile-nav a {
display: block;
width: 100%;
padding: 11px 24px;
font-size: 13px;
font-weight: 700;
color: var(--brand-navy);
text-transform: uppercase;
letter-spacing: 0.4px;
text-decoration: none;
background: none;
border: none;
font-family: inherit;
text-align: left;
cursor: pointer;
transition: background 0.15s;
}
.mobile-nav-btn:hover,
.header-mobile-nav a:hover { background: rgba(0, 0, 0, 0.07); }
.mobile-nav-submenu { display: none; background: rgba(0, 0, 0, 0.06); }
.mobile-nav-submenu.is-open { display: block; }
.mobile-nav-submenu a {
padding-left: 40px;
font-weight: 500;
text-transform: none;
letter-spacing: 0;
}
/* --- Search overlay --- */
.search-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.55);
z-index: 2000;
align-items: flex-start;
justify-content: center;
padding-top: 80px;
}
.search-overlay.is-open { display: flex; }
.search-box {
background: #fff;
border-radius: 12px;
padding: 6px 16px;
display: flex;
align-items: center;
gap: 10px;
width: 90%;
max-width: 540px;
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.search-box input {
flex: 1;
border: none;
outline: none;
font-size: 16px;
font-family: inherit;
color: var(--brand-navy);
padding: 10px 0;
background: none;
}
.search-box button {
background: none;
border: none;
color: var(--brand-navy);
font-size: 16px;
cursor: pointer;
padding: 4px;
}
/* --- Responsive Header --- */
@media (max-width: 960px) {
.header-top-bar { padding: 10px 20px; }
.header-nav-bar { display: none; }
.header-hamburger { display: block; }
}
@media (max-width: 480px) {
.header-brand-faculty { display: none; }
.header-portal-label { display: none; }
.header-top-bar { padding: 8px 14px; }
.header-right-group { gap: 8px; }
}
/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
#hero { padding: 32px 0 44px; }
#hero h1 { font-size: 28px; }
#hero p.hero-sub { font-size: 14px; margin-top: 14px; }
#about { padding: 36px 0; }
#info-jalur-header { padding: 24px 16px 0; }
#main-layout { padding: 16px 16px 32px; gap: 16px; }
#about { padding: 48px 16px; }
.section-title { font-size: 22px; }
.scholarship-card { flex: 0 0 220px; }
#faq-section { padding: 36px 0 44px; }
}
/* ── Extra small (≤360px) ── */
@media (max-width: 360px) {
#hero h1 { font-size: 24px; }
.scholarship-card { flex: 0 0 190px; }
.path-card {
padding: 14px 12px;
flex: 0 0 min(260px, calc(100% - 36px));
}
.sidebar-heading { font-size: 11px; }
}